summaryrefslogtreecommitdiffstats
path: root/media/libstagefright/codecs
diff options
context:
space:
mode:
authorRoger Jönsson <roger1.jonsson@sonymobile.com>2013-01-23 18:18:08 +0100
committerAndreas Huber <andih@google.com>2013-02-06 13:48:16 -0800
commita0dd006834f4a424b67773ab6724e961a61de923 (patch)
tree570bd3e2fcdfb325c214b6659c26e9f1baef5e3b /media/libstagefright/codecs
parentba021d15cf7bc964bc813688e33d34845bfd89ea (diff)
downloadframeworks_av-a0dd006834f4a424b67773ab6724e961a61de923.zip
frameworks_av-a0dd006834f4a424b67773ab6724e961a61de923.tar.gz
frameworks_av-a0dd006834f4a424b67773ab6724e961a61de923.tar.bz2
Avoid rebuffering after RTSP pause
If pausing an RTSP stream, an RTSP Pause request is sent and then if the stream is immediately resumed again, an RTSP Play request will be sent to the server. But the new data after the pause will not be buffered until Sender Reports have arrived again on both channels. Meanwhile the player will resume playback and continue consuming the already existing buffer. This means that there is a risk that the buffer is emptied while waiting for sender reports. This commit simply adds a delay before the RTSP pause request is sent, allowing some additional RTSP buffering that might be needed when the stream is resumed again. Also, if the stream is resumed again before the RTSP pause request is sent, there is no need for any RTSP pause request, hence it is omitted. Change-Id: I928c8bfb5e99a6a146dcda4e51e528973ecbe065
Diffstat (limited to 'media/libstagefright/codecs')
0 files changed, 0 insertions, 0 deletions