|
| AAMPPlayer (RDKMediaPlayer *parent) |
|
bool | doCanPlayURL (const std::string &url) |
|
void | doInit () |
|
void | doLoad (const std::string &url) |
|
void | doSetVideoRectangle (const IntRect &rect) |
|
void | doSetAudioLanguage (std::string &lang) |
|
void | doPlay () |
|
void | doPause () |
|
void | doSetPosition (float position) |
|
void | doSeekToLive () |
|
void | doStop () |
|
void | doChangeSpeed (float speed, int32_t overshootTime) |
|
void | doSetSpeed (float speed) |
|
void | doSetBlocked (bool blocked) |
|
void | doSetEISSFilterStatus (bool status) |
|
void | doSetVolume (float volume) |
|
void | doSetIsInProgressRecording (bool isInProgressRecording) |
|
void | doSetZoom (int zoom) |
|
void | doSetNetworkBufferSize (int32_t networkBufferSize) |
|
void | doSetVideoBufferLength (float videoBufferLength) |
|
void | getProgressData (ProgressData *progressData) |
|
bool | isManagementSession () const |
|
| RDKMediaPlayerImpl (RDKMediaPlayer *parent) |
|
RDKMediaPlayer * | getParent () |
|
TuneState | getTuneState () |
|
void | setTuneState (TuneState state) |
|
|
static bool | canPlayURL (const std::string &url) |
|
|
void | onProgress (const AAMPEvent &progressEvent) |
|
|
static bool | setContentType (const std::string &uri, std::string &contentType) |
|
Definition at line 29 of file aampplayer.h.
◆ setContentType()
bool AAMPPlayer::setContentType |
( |
const std::string & |
url, |
|
|
std::string & |
contentStr |
|
) |
| |
|
staticprivate |
- Parameters
-
url | locator to be tuned |
contentStr | output parameter, receives inferred contentType, or "unknown" |
- Return values
-
true | if URL appears to be a DASH (.mpd), HLS (.m3u8) locator or .mp4/.mp3 format |
false | with contentStr assigned "unsupported" if URL has unexpected extension |
Definition at line 490 of file aampplayer.cpp.
The documentation for this class was generated from the following files: