-
Notifications
You must be signed in to change notification settings - Fork 206
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
630 - Add media type payload unassigned number 35 in format #632
Conversation
a5d0939
to
33aa7a3
Compare
Hello, this is OK, but can you restrict the payload type to just 35 instead of the interval between 35 and 71? until now there's not reason to consider 36-71. If we find a reason, we will add it (together with a reference, like you did with the Bosh document). Thanks. |
33aa7a3
to
3259ab8
Compare
Hello, the changes have been made as you requested, only the media type 35 has been considered. The tests are still passing. Thank you very much for everything |
Add some test to make sure the unassigned 35 media type is being considered
3259ab8
to
fdf597b
Compare
7f8c963
to
d452a89
Compare
d452a89
to
eba5782
Compare
i restricted payload type 35 to H264 and merged. Thanks. |
Thanks for merge and sorry we didn't get exactly what you requested |
Hi, this fix is not fully correct. RFC 3551 in section 3 allows to use other payload types for dynamic assignments too:
My understanding is that application should use |
@sirzooro we are not using a fallback, if you take a look at the code we are extracting codec, clock and payload type from |
Media type payload unassigned number 35 is being evaluated as media type payload dynamic range (96-127). Added some tests to verify these new changes on format_test
Currently, the video surveillance cameras of the bosch security branch offer rtsp with some peculiarities over the standard.
Instead of using the convenience media payload, which is usually 96, they use 35. This means that the camera format is not detected correctly.
This happens at least for the model FLEXIDOME IP starlight 8000i - 7.62.0003 (03500762)
There is an initial note on the first page of the document (manual) on how to use RTSP protocol in Bosch VIP cameras where it is specified that they use payload type 35 (https://community.boschsecurity.com/varuj77995/attachments/varuj77995/bt_community-tkb-video/241/1/RTSP%20usage%20with%20Bosch%20Video%20IP%20Devices.pdf).
The two examples of SDP extracted from the camera are:
Note: We already have some test on sdp_test.go with these examples but they are not uploaded, you may require them if you like