|
Triton Mobile SDK for Android 3.5.1
This is a custom android player made by Triton Digital
|
Static Public Member Functions | |
| static Proxy | createRtspProxy (StreamContainerDecoder.MetaDataDecodedListener metadataDecodedListener) |
| Proceeds to the creation of an RTSP Proxy using the given client as a source and streaming payload of the given server type. | |
| static Proxy | createHttpProxy (StreamContainerDecoder.MetaDataDecodedListener metadataDecodedListener) |
| Proceeds to the creation of an HTTP Proxy using the given client as a source and streaming payload of the given server type. | |
This class simplifies the creation of a proxy with the most frequents combination of client and server types. It takes care of creating all instances needed for the creation of a proxy and connecting them together.
Usage example:
Proxy proxy = ProxyFactory.createRtspProxy(ProxyFactory.RtspServerType.MP4_LATM, metadataDecodedListener);
// Start using the proxy and playing
mMediaPlayer.start(proxy.startAsync("http://myFlvUrl"));
// Optionally, but strongly recommended, make sure that the MediaPlayer.OnPreparedListener calls proxy.audioPlaybackDidStart() in
// its 'onPrepared' implementation.
|
static |
Proceeds to the creation of an HTTP Proxy using the given client as a source and streaming payload of the given server type.
| metadataDecodedListener | The listener to be notified when new Meta Data is received / decoded. |
null if this combination is not supported.
|
static |
Proceeds to the creation of an RTSP Proxy using the given client as a source and streaming payload of the given server type.
| metadataDecodedListener | The listener to be notified when new Meta Data is received / decoded. |
null if this combination is not supported.