Support setting fmtp even when rtp type does not match with a warning.#110
Support setting fmtp even when rtp type does not match with a warning.#110xenon wants to merge 1 commit into
Conversation
- Added a test using the RTSP DESCRIBE for a camera with this issue Signed-off-by: xenon <xenon@users.noreply.github.com>
|
Thanks! I appreciate the included test data. Without this patch, is it failing to work entirely? My intent (and what I remember seeing with other cameras) is that it just ignores the out-of-band codec parameters (which are optional anyway) but will see any included in-band. And so far I've never encountered a camera that doesn't include them in-band. |
I should clarify what I mean by fail is that the following assertion fails before these changes I think this is somewhat independent of whether or not the user wants to ignore out-of-band codec parameters it's more related to how pedantic we want to be about constructing them. (ie: pedantic -> Also thank you for creating the library in the first place. |
Issue
When the rtp type does not match the fmtp type the current behavior is to fail (ie: too pedantic of a parse in this case as it does work if we ignore that).
Changes