Commit Graph

283 Commits

Author SHA1 Message Date
Alessandro Ros
ce46aee084 change rtptime.Encoder signature and initialize time to a random value (#525) 2024-02-25 23:25:44 +01:00
Alessandro Ros
bb139dbd4a add example client-record-format-mjpeg-from-image (#489) (#512) 2024-01-27 19:34:25 +01:00
Alessandro Ros
506cf60080 add client-play-format-opus-save-to-disk (#487) (#507) 2024-01-21 17:27:16 +01:00
Alessandro Ros
63a81d0896 support G711 multiple channels and custom sample rates (#497) 2024-01-08 21:16:47 +01:00
Alessandro Ros
bcd17a992c simplify examples (#493) 2024-01-01 19:56:40 +01:00
Alessandro Ros
013a8d8463 fix error check in examples (#492) 2024-01-01 19:53:42 +01:00
Alessandro Ros
2d0c530d97 replace new() with initialize() (#490) 2023-12-26 12:48:35 +01:00
Alessandro Ros
f78b04cf4e client: support writing to ONVIF back channels (#101) (#462) 2023-11-15 13:20:29 +01:00
Alessandro Ros
aaef8c29a7 rename 'read' into 'play', 'publish' into 'record' (#463) 2023-11-11 20:36:26 +01:00
Alessandro Ros
01b3bfc6ab move url.URL into base.URL (#459) 2023-11-07 16:51:45 +01:00
Alessandro Ros
a887f070bf add client-read-format-av1 example (#399) 2023-09-02 15:10:50 +02:00
Alessandro Ros
4f31866b9c improve H264/H265 examples (#355) (#375) (#398) 2023-09-02 14:49:50 +02:00
Alessandro Ros
fc0c242789 simplify examples (#389) 2023-08-30 11:23:37 +02:00
aler9
2a69c3a45c update docs 2023-08-25 16:26:40 +02:00
Alessandro Ros
29ddbbbbf5 align PacketPTS() and PacketNTP(); add example (#374) 2023-08-22 20:53:23 +02:00
aler9
cdbecb1f5d allow setting additional properties of streams through description.Stream 2023-08-22 16:46:18 +02:00
aler9
8b047b545b decode RTP time globally 2023-08-17 13:41:01 +02:00
aler9
939c065f6f client: invert arguments of Setup() and SetupAll() 2023-08-17 13:23:15 +02:00
aler9
5e5a21240d rename pkg/formats into pkt/format 2023-08-16 13:26:17 +02:00
aler9
e2c526b3b8 remove ServerHandler.Server 2023-08-16 13:26:17 +02:00
aler9
68d4bf8da0 add *Server argument to NewServerStream() 2023-08-16 13:26:17 +02:00
aler9
ca87733ded remove suffix from new functions 2023-08-16 13:26:17 +02:00
aler9
80106144e6 bump to v4 2023-08-16 13:26:17 +02:00
aler9
8857e25353 deprecate rtpav1.Decoder.Decode, rtph264.Decoder.Decode, rtph265.Decoder.Decode 2023-08-14 13:28:36 +02:00
aler9
4e789ff6b9 update mediacommon 2023-08-05 14:18:04 +02:00
aler9
577d6f3a28 use mediacommon/pkg/mpegts in examples 2023-07-30 18:40:39 +02:00
Alessandro Ros
80cf861ec7 add MP4A-LATM decoder and encoder (#299) 2023-06-01 20:07:47 +02:00
Alessandro Ros
39ce0bc3af decrease bitrate of recommended GStreamer pipeline (#243) 2023-04-11 18:38:13 +02:00
Alessandro Ros
e999f51045 update recommended GStreamer pipeline (#242) 2023-04-11 18:30:07 +02:00
Alessandro Ros
82866d2810 fix bitrate in examples/client-publish-format-h264 (#241) 2023-04-11 17:27:09 +02:00
Alessandro Ros
c0e3ba2a8d add new example client-read-format-mpeg4audio-save-to-disk (#235) 2023-04-09 19:18:28 +02:00
Alessandro Ros
f905598d2e link to mediacommon (#223)
* move codecs and bits to mediacommon

* add SafeSetParams() to H264 and H265

* update README
2023-04-01 16:38:08 +02:00
Alessandro Ros
af3ed2bd83 merge format and formatdecenc into formats (#222) 2023-04-01 13:23:16 +02:00
Alessandro Ros
04f5a4041c change owner (#217) 2023-03-31 12:34:07 +02:00
Alessandro Ros
13fab2962e make Opus SDP always return 48khz and 2 channels (#204)
RFC7587 mandates 48khz as sample rate and 2 channels inside the SDP.
These values can be dynamically adjusted by the stream, but they must
not be touched inside the SDP.
2023-03-13 22:03:49 +01:00
Alessandro Ros
253be9913e update docs (#203) 2023-03-13 18:53:36 +01:00
Alessandro Ros
7b6a5f8cb3 Add proxy example (#141) (#175)
* cleanup

* add proxy example
2023-01-23 11:23:16 +01:00
aler9
e86bf26343 cleanup examples 2023-01-08 22:13:15 +01:00
aler9
441a90a519 improve examples 2023-01-07 11:46:00 +01:00
Alessandro Ros
2e88705875 improve coverage (#168) 2023-01-06 23:34:10 +01:00
aler9
62296a3eca examples: fix client-read-format-h264-save-to-disk example 2023-01-03 16:30:02 +01:00
aler9
5f2ac979c5 move pkg/mpeg4audio into pkg/codecs/mpeg4audio 2022-12-27 17:30:53 +01:00
aler9
824fd75d18 rename MJPEG label into M-JPEG 2022-12-27 17:27:59 +01:00
aler9
aca56089c1 move codec-specific utilities into pkg/codecs 2022-12-27 17:19:56 +01:00
Alessandro Ros
91f18ab6d9 Add RTP/MJPEG decoder and encoder (#165)
* rename format.JPEG into format.MJPEG

* add examples/client-publish-format-mjpeg

* add rtp/mjpeg decoder and encoder
2022-12-27 13:43:23 +01:00
aler9
5a2ea9cf9c partially revert cabfcd6 2022-12-22 20:36:41 +01:00
aler9
cabfcd627b client: do not override media controls inside Announce()
this fixes the client-read-republish example and allows users to set
their own media controls.

Function medias.SetControls() is provided in order to automatically set
media controls and must be called manually.
2022-12-22 18:54:09 +01:00
aler9
38b24b8e26 rename 'track' references into 'format' 2022-12-13 18:06:41 +01:00
aler9
a50247956f rename medias.Format into medias.FindFormat 2022-12-12 00:16:25 +01:00
aler9
0c13440721 rename rtpcodecs into formatdecenc 2022-12-11 22:56:59 +01:00