GNOME Bugzilla – Bug 777101
rtspsrc: tcp interleaved data dropped if first sub-streams are skipped during SETUP
Last modified: 2017-01-27 15:25:47 UTC
If the first stream(s) are explicitly skipped during SETUP (e.g., if it's disabled via SIGNAL_SELECT_STREAM), and tcp-interleaved is used, then you can have a state where streams[0] is unconfigured, and streams[1] is configured with channel number 0. Subsequent calls to find_stream_by_channel then return the unconfigured stream[0], since it happens to be the first match against channel number 0. That results in all incoming data for stream 0 getting dropped (with a warning).
Created attachment 343258 [details] [review] only match configured streams in find_stream_by_channel
Created attachment 344222 [details] [review] only match configured streams in find_stream_by_channel I don't think my previous patch was uploaded correctly - re-uploaded as plain text.
commit a8eb0515f1e3b096f978189cfd3cd01d576f390f Author: Matt Staples <staples255@gmail.com> Date: Tue Jan 10 09:40:56 2017 -0700 rtspsrc: find_stream_by_channel should ignore unconfigured streams https://bugzilla.gnome.org/show_bug.cgi?id=777101
*** Bug 777224 has been marked as a duplicate of this bug. ***