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)
commit46d13e3606b87d71379287672b54b50d0d9aa5cc
treee8109ccba1377865e831847f4ad81542671dd815
parentcfc3083927df14bf82403b20a45ae303a01c39f5
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