Commit Graph

317 Commits

Author SHA1 Message Date
Alessandro Ros
f23a365cc5 fix crash in client-play-to-record example (#841) (#846) 2025-08-03 22:21:27 +02:00
Alessandro Ros
1021950db8 update linter settings (#840) 2025-07-26 16:28:03 +02:00
Alessandro Ros
800dd9c850 move MPEG-4 audio LATM to dedicated format (bluenviron/mediamtx#4403) (#834) 2025-07-20 17:28:52 +02:00
Alessandro Ros
9c1011567a client: add Start2; deprecate Start (#801) 2025-07-05 13:02:45 +02:00
Alessandro Ros
616fa7ea89 support encrypted streams with SRTP and MIKEY (#520) (#809) 2025-07-05 12:48:13 +02:00
Alessandro Ros
bee7cc4d6b set default max payload size to 1450 (#811)
this is to support SRTP more easily.
2025-06-29 12:51:54 +02:00
Alessandro Ros
f4ef4ec23a examples: print write errors (#810) 2025-06-28 12:42:37 +02:00
Alessandro Ros
d98036a493 examples: print decode errors (#793) 2025-06-08 12:18:06 +02:00
Alessandro Ros
b1804d77e8 bump golangci-lint (#784) 2025-05-23 14:51:33 +02:00
Alessandro Ros
b407cb1dd0 server: support reading back channels (#597) (#777) 2025-05-04 17:04:15 +02:00
Alessandro Ros
cc0c96626c improve examples (#778) 2025-05-04 17:00:18 +02:00
Alessandro Ros
18307140ec remove debug instruction from examples (#771) 2025-05-01 16:57:41 +02:00
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