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.
Merged-in: If04ebb09d4f28d8eeb6a1a920a833129828a6ac4
Change-Id: If04ebb09d4f28d8eeb6a1a920a833129828a6ac4
Signed-off-by: Byeongjo Park <bjo.park@samsung.com>
diff --git a/media/libmediaplayerservice/nuplayer/NuPlayer.h b/media/libmediaplayerservice/nuplayer/NuPlayer.h
index ef4354c..f316096 100644
--- a/media/libmediaplayerservice/nuplayer/NuPlayer.h
+++ b/media/libmediaplayerservice/nuplayer/NuPlayer.h
@@ -51,6 +51,8 @@
void setDataSourceAsync(const sp<DataSource> &source);
+ void setDataSourceAsync(const String8& rtpParams);
+
status_t getBufferingSettings(BufferingSettings* buffering /* nonnull */);
status_t setBufferingSettings(const BufferingSettings& buffering);
@@ -117,6 +119,7 @@
struct GenericSource;
struct HTTPLiveSource;
struct Renderer;
+ struct RTPSource;
struct RTSPSource;
struct StreamingSource;
struct Action;