Commit Graph

39 Commits

Author SHA1 Message Date
Alessandro Ros
1dd27b250c sdp: add labels to test cases (#902) 2025-09-21 17:20:51 +02:00
Alessandro Ros
9259df7cff modernize code (#884) 2025-09-07 16:05:13 +02:00
nicoske
1bc89661eb Fix SDP parsing for repeat time field with no offsets (#880)
Co-authored-by: Nicolas BRAINEZ <nicolas.brainez@ext.ec.europa.eu>
2025-09-05 23:04:30 +02:00
Alessandro Ros
7f5aac27d1 ensure unmarshaled entities can be marshaled back (#773) 2025-05-04 11:27:28 +02:00
Alessandro Ros
900f4958ca fix SDP compatibility with some Uniview cameras (#618) (#765) 2025-04-26 16:13:37 +02:00
Alessandro Ros
a19432fd87 bump Golang to 1.23 (#610) 2024-11-04 13:39:10 +01:00
Alessandro Ros
cb3c527bc1 fix reading from Wisenet NVR (bluenviron/mediamtx#3583) (#615) 2024-09-09 10:28:46 +02:00
Alessandro Ros
92cf812d01 improve fuzz tests (#592) 2024-08-01 16:33:04 +02:00
Alessandro Ros
ef60c8c755 improve fuzz tests (#571) 2024-05-17 19:19:15 +02:00
Alessandro Ros
c3145fafc7 fix SDP error with AXIS 221 (https://github.com/bluenviron/mediamtx/issues/2708) (#547) 2024-04-19 22:16:34 +02:00
Alessandro Ros
24ed937861 update golangci-lint (#535) 2024-03-19 12:50:26 +01:00
dependabot[bot]
89817831cf build(deps): bump github.com/pion/sdp/v3 from 3.0.6 to 3.0.7 (#529)
* build(deps): bump github.com/pion/sdp/v3 from 3.0.6 to 3.0.7

Bumps [github.com/pion/sdp/v3](https://github.com/pion/sdp) from 3.0.6 to 3.0.7.
- [Release notes](https://github.com/pion/sdp/releases)
- [Changelog](https://github.com/pion/sdp/blob/master/.goreleaser.yml)
- [Commits](https://github.com/pion/sdp/compare/v3.0.6...v3.0.7)

---
updated-dependencies:
- dependency-name: github.com/pion/sdp/v3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* fix tests

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: aler9 <46489434+aler9@users.noreply.github.com>
2024-03-06 13:16:49 +01:00
Cédric Verstraeten
6b0ba5dd64 Fixing issue for SDP avigilon when activating onvif backchannel #479 (#501)
* fixing issue for SDP avigilon when activating onvif backchannel

* keep track of original issue

* prevent deletion of first c=

* add tests

---------

Co-authored-by: aler9 <46489434+aler9@users.noreply.github.com>
2024-01-14 12:08:29 +01:00
Alessandro Ros
2a578e20d8 sdp: fix compatibility with Altasec NVRs (#476)
(https://github.com/bluenviron/mediamtx/issues/2762)
2023-12-08 18:45:02 +01:00
Alessandro Ros
3579bc548d sdp: fix parsing SDP from UDP technology cameras (#474) (#478) 2023-12-02 21:47:26 +01:00
Alessandro Ros
35bf96c5ec sdp: support cameras with decimal numbers in origin (#455)
(https://github.com/bluenviron/mediamtx/issues/2558)
2023-10-27 20:52:02 +02:00
Alessandro Ros
d4bb674a50 support SDPs without leading version (#448) (#450)
Co-authored-by: dexter <178529795@qq.com>
2023-10-23 19:59:53 +02:00
Alessandro Ros
0d8622a432 support SDPs without session name (#439)
(https://github.com/bluenviron/mediamtx/issues/2473)
2023-10-09 18:28:09 +02:00
aler9
18ddae4c50 enable errcheck 2023-08-13 16:29:53 +02:00
aler9
17acec3f0d fix race condition in tests 2023-08-05 14:28:12 +02:00
aler9
f296099f26 fix SDP unmarshaling with Vurix NVR (https://github.com/bluenviron/mediamtx/issues/2128) 2023-08-01 13:53:53 +02:00
Alessandro Ros
49d0d56367 fix compatibility with Mercury cameras (#271) (#275) 2023-05-08 13:14:45 +02:00
Alessandro Ros
2ac93dadbd remove support for go 1.17 and older (#258) 2023-04-25 18:22:04 +02:00
Alessandro Ros
d736f1d988 fix SDP unmarshaling with some Chinese cameras (#201) (#228) 2023-04-07 15:05:30 +02:00
Alessandro Ros
40574c4fb6 sdp: fix multiple crashes in SDP parser (#170)
* sdp: support parsing example SDP In ONVIF specification

* sdp: fix crash in SDP parser; add fuzz tests

* sdp: improve coverage
2023-01-21 19:32:40 +01:00
aler9
394c2f0696 client: support FritzBox 660 Cable (https://github.com/aler9/rtsp-simple-server/issues/1119) 2022-10-28 16:49:28 +02:00
aler9
61726e534c sdp: support TP-Link application tracks (https://github.com/aler9/rtsp-simple-server/issues/990) 2022-06-23 22:47:19 +02:00
aler9
7e8ec60aad support SDPs with TIAS bandwidths (https://github.com/aler9/rtsp-simple-server/issues/948) 2022-05-23 21:15:50 +02:00
aler9
18f7fab361 update docs 2022-05-10 10:28:52 +02:00
Wouter Horlings
718b084f83 Fix handling of trailing space in origin-field
We use the IOI trk-101. This device returns an origin-field with a
trailing space. This triggered the special case for some onvif2 cameras.
This resulted in a double unicast-address, causing a shift in the
fields. Eventually resulting in an exception when nettype was
interpret as sess-version.

This commit fixes this issue and adds a testcase that includes a
trailing whitespace.
2022-04-08 12:42:07 +02:00
ShiBen
6b0f7b84bb handle hex session id 2022-04-08 11:35:21 +02:00
CarlosReategui
e3d13be611 Add support for some FLIRs SDP timing format. 2021-11-02 17:06:47 +01:00
aler9
dbfc058f0c update golangci-lint 2021-09-09 23:05:50 +02:00
thronepohan
288715c270 handle hex session id 2021-07-25 17:06:49 +02:00
aler9
964331cacd sdp: support some additional hikvision cameras (https://github.com/aler9/rtsp-simple-server/issues/227) 2021-03-05 22:18:24 +01:00
aler9
7b66c8415c support SDPs with spaces in origin (https://github.com/aler9/rtsp-simple-server/issues/127) 2020-12-06 20:14:43 +01:00
aler9
71861bd132 switch to golangci-lint 2020-12-05 18:44:05 +01:00
aler9
0c292dec9d support SDPs with RS bandwidth (https://github.com/aler9/rtsp-simple-server/issues/136) 2020-11-28 11:02:41 +01:00
aler9
c31922be16 move subfolders in pkg/ 2020-11-15 17:26:09 +01:00