GNOME Bugzilla – Bug 793738
rtsp-media: fix RECORD getting stuck
Last modified: 2018-02-23 15:21:13 UTC
The test_record case was working because async=false had been added in https://bugzilla.gnome.org/show_bug.cgi?id=757488 but that was incorrect, as it should not be needed. Removing async=false made the test fail as expected, this is fixed by not trying to preroll when preparing the media for RECORD, as start_prepare is called upon receiving ANNOUNCE, and our peer will not start sending media until it has received a response to that request, and sent and received a response to RECORD as well, thus obviously preventing preroll.
Created attachment 368808 [details] [review] rtsp-media: fix RECORD getting stuck
Attachment 368808 [details] pushed as ddb0d83 - rtsp-media: fix RECORD getting stuck