VT: SFP: Implements interface for RTP parameters.
RTP parameters will be given to NuPlayer like below.
This is same like how setParameters() working in case of
StagefrightRecorder
video-param-decoder-profile=1;\
video-param-decoder-level=512;\
rtp-param-local-ip=127.0.0.1;\
rtp-param-local-port=1234;\
rtp-param-remote-ip=127.0.0.2;\
rtp-param-remote-port=4321
NuPlayer will create RTPSource.class instance as a part
of a source component of media engine if it gets RTPParams
from application layer.
Bug: 121230209
Change-Id: If04ebb09d4f28d8eeb6a1a920a833129828a6ac4
Signed-off-by: Byeongjo Park <bjo.park@samsung.com>
diff --git a/media/libmediaplayerservice/MediaPlayerService.h b/media/libmediaplayerservice/MediaPlayerService.h
index 6431ca1..3d596a5 100644
--- a/media/libmediaplayerservice/MediaPlayerService.h
+++ b/media/libmediaplayerservice/MediaPlayerService.h
@@ -368,6 +368,7 @@
virtual status_t setDataSource(const sp<IStreamSource> &source);
virtual status_t setDataSource(const sp<IDataSource> &source);
+ virtual status_t setDataSource(const String8& rtpParams);
sp<MediaPlayerBase> setDataSource_pre(player_type playerType);