Commit Graph

305 Commits

Author SHA1 Message Date
Alessandro Ros
1b127d70bb examples: restart video files when they end (#733) 2025-03-23 19:04:12 +01:00
Alessandro Ros
e46ae59920 add server-h264-from-disk example (#719) (#727) 2025-03-23 16:53:54 +01:00
Alessandro Ros
304c38bb60 examples: prevent redundant checks in OnSetup when recording (#731) 2025-03-23 16:33:46 +01:00
Alessandro Ros
87d3720f48 examples: use RWMutex when possible (#730) 2025-03-23 16:25:42 +01:00
Alessandro Ros
c8f4a0b0d3 examples: add missing mutex in OnSetup (#729) 2025-03-23 16:20:54 +01:00
Alessandro Ros
fcb018151b make ServerStream return an error if initialized before Server (#719) (#728) 2025-03-23 16:17:34 +01:00
trxo
b6d6f6bf37 Fix incorrect function call (#725) 2025-03-19 14:33:47 +01:00
Alessandro Ros
376fb9e821 replace New* with Initialize (#723) 2025-03-16 13:58:35 +01:00
Alessandro Ros
17ee46e238 simplify client-record-format-mpeg4audio (#709) 2025-02-22 18:27:22 +01:00
Alessandro Ros
90cac184c9 improve examples (#708) 2025-02-22 14:28:02 +01:00
Alessandro Ros
3829fef787 update VP8/VP9 examples to decode/encode frames (#704) 2025-02-19 22:45:31 +01:00
Alessandro Ros
a17e1f776e improve examples (#703)
* add client-play-format-av1-to-jpeg
* improve client-play-format-av1 to decode frames
* improve speed of sample decoders by using pointers instead of copies
* improve client-record-format-h264 and client-record-format-h265 to encode frames
* add client-record-format-av1
2025-02-19 22:00:49 +01:00
Alessandro Ros
55556f1ecf add ServerConn.VerifyCredentials() (#555) 2025-02-18 17:39:04 +01:00
Alessandro Ros
770549f223 add sample credentials to client examples (#696) 2025-02-10 15:45:27 +01:00
Alessandro Ros
ed078672e4 switch to mediacommon/v2 (#695) 2025-02-10 14:50:05 +01:00
Alessandro Ros
af262790da remove deprecated build flags syntax (#644) 2024-11-06 15:08:01 +01:00
Alessandro Ros
a19432fd87 bump Golang to 1.23 (#610) 2024-11-04 13:39:10 +01:00
Alessandro Ros
53b2d2c6bf fix random timestamp offset in examples (#628) 2024-10-07 17:01:27 +02:00
Alessandro Ros
2ca0bffa20 use native timestamps instead of time.Duration (#627)
this improves timestamp precision
2024-10-07 15:58:43 +02:00
Alessandro Ros
3ee5fbdcf7 add client-play-format-h264-mpeg4audio-save-to-disk example (#230) (#582) 2024-06-21 23:01:46 +02:00
Alessandro Ros
29c6e18e89 add client-record-format-h264-from-disk (#578) 2024-05-25 19:04:41 +02:00
Alessandro Ros
b3204e7cda move AUD logic into mediacommon (#577) 2024-05-25 14:38:12 +02:00
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