GNOME Bugzilla – Bug 758268
handle_setup_request() expect the media to be suspended
Last modified: 2015-12-04 13:49:53 UTC
handle_setup_request() expect the media to be suspended (for example block-size from setup request will not affect preroll buffer unless the media is suspended).
This ticket is created to split the fix logically which was provided in https://bugzilla.gnome.org/show_bug.cgi?id=758179.
I will provide a fix soon.
Created attachment 315819 [details] [review]
suspend media in setup request
After this fix, will the first RTP packet that is sent to a client have exactly the same sequence number as given in the RTSP response, and will it be exactly the first packet that was ever be created? Or are we again flushing away packets without telling the client, or flushing away the initial keyframe?
I think we should write a test for this to ensure that the first payloaded packet really arrives at the client.
Author: Srimanta Panda <firstname.lastname@example.org>
Date: Wed Nov 18 11:14:39 2015 +0100
rtsp-client: suspend media during setup request
SETUP request from clients needs to suspend the media to clear the
prerolled buffers. Otherwise it will not affect the prerolled buffer
and the prerolled buffers will be incorrect (for example block-size
from setup request will not affect the prerolled buffer unless the
media is suspended).