OSDN Git Service

Enable pause/resume for RTSP streaming
authorRoger Jönsson <roger1.jonsson@sonymobile.com>
Mon, 21 Jan 2013 16:15:45 +0000 (17:15 +0100)
committerAndreas Huber <andih@google.com>
Wed, 6 Feb 2013 21:37:09 +0000 (13:37 -0800)
commitfba60daf77cc74a13ae3bf4b0e9925dd2ee4470c
tree03c491b66972ce99a18d60511843d37ff2a4a80a
parentb50e83eca302a12f0fced6e7bab1b8617d63deaa
Enable pause/resume for RTSP streaming

When a stream is paused, RTSP Pause is also sent to the server.
Otherwise the buffering might continue until the memory runs out.
When the stream is resumed, RTSP Play will be sent in order to
resume the buffering.

Change-Id: I5dc1761140827c532451638c3fd3f34271e5b9ab
media/libmediaplayerservice/nuplayer/NuPlayer.cpp
media/libmediaplayerservice/nuplayer/NuPlayerSource.h
media/libmediaplayerservice/nuplayer/RTSPSource.cpp
media/libmediaplayerservice/nuplayer/RTSPSource.h
media/libstagefright/rtsp/MyHandler.h