- getAudioPlayer() - Method in class com.akamai.media.VideoPlayerContainer
-
Gets a reference to the VideoPlayerView object used for playing an audio-only stream
- getAudioSessionId() - Method in class com.akamai.media.VideoPlayerContainer
-
- getAvailableAudioTracks() - Method in class com.akamai.media.VideoPlayerView
-
Returns the list of audio tracks available.
- getAvgFPS() - Method in class com.akamai.media.VideoPlayerView
-
Deprecated.
- getBitrateByIndex(int) - Method in class com.akamai.media.VideoPlayerView
-
Return the bitrate (bps) for the variant indicated in the index parameter
- getBitratesCount() - Method in class com.akamai.media.VideoPlayerView
-
Get the number of available bitrate indexes for the loaded stream
- getBitratesSwitchesDown() - Method in class com.akamai.media.VideoPlayerView
-
For multibirate streams, get the number of times the control has switched down
- getBitratesSwitchesUp() - Method in class com.akamai.media.VideoPlayerView
-
For multibirate streams, get the number of times the control has switched up
- getBufferingPercentage() - Method in class com.akamai.media.VideoPlayerView
-
Get the rebuffering percentage
- getBufferPercentage() - Method in class com.akamai.media.VideoPlayerContainer
-
- getBytesLoaded() - Method in class com.akamai.media.VideoPlayerView
-
For the current playback, get the number of bytes loaded
- getCategory() - Method in class com.akamai.media.AMPFeed
-
- getClipTitle() - Method in class com.akamai.media.AMPFeed
-
- getCurrentAudioTrackId() - Method in class com.akamai.media.VideoPlayerView
-
Switch to a different audio track
- getCurrentBitrate() - Method in class com.akamai.media.VideoPlayerView
-
Get the current bitrate of the video in bps
- getCurrentPosition() - Method in class com.akamai.media.VideoPlayerContainer
-
- getCurrentSegmentUrl() - Method in class com.akamai.media.VideoPlayerView
-
- getDescription() - Method in class com.akamai.media.AMPFeed
-
- getDuration() - Method in class com.akamai.media.VideoPlayerContainer
-
- getDuration() - Method in class com.akamai.media.VideoPlayerView
-
Get the duration of the video in seconds.
- getDVRLength() - Method in class com.akamai.media.VideoPlayerView
-
Get the lenght, in seconds, of the DVR
- getEncodedFPS() - Method in class com.akamai.media.VideoPlayerView
-
Deprecated.
- getFeed() - Method in class com.akamai.media.VideoPlayerView
-
Returns the feed of the loaded stream (in case playback was launched providing a json feed)
- getFPS() - Method in class com.akamai.media.VideoPlayerView
-
Get the current FPS (Frames per Second)
- getFullScreenMode() - Method in class com.akamai.media.VideoPlayerView
-
Return the fullscreen mode
- getIndexByBitrate(int) - Method in class com.akamai.media.VideoPlayerView
-
Return the index for the bitrate indicated in the bitrate parameter (bps)
- getLastErrorCode() - Method in class com.akamai.media.VideoPlayerView
-
Returns the last error code that happens during the playback
- getLastHttpErrorCode() - Method in class com.akamai.media.VideoPlayerView
-
Get error code of the last HTTP request
- getLastMeasuredBandwidth() - Method in class com.akamai.media.VideoPlayerView
-
Returns the last measured bandwidth in bytes/sec
- getLastPTS() - Method in class com.akamai.media.VideoPlayerView
-
Get the PTS of the last packet read by the decoder
- getLicenseExpirationDate() - Method in class com.akamai.media.VideoPlayerView
-
Returns the expiration date of the set license
- getLicensePackageName() - Method in class com.akamai.media.VideoPlayerView
-
Returns the package name for which the set license is valid
- getLocationOnScreen() - Method in class com.akamai.media.VideoPlayerView
-
Computes the coordinates of this view on the screen
- getMediaGUID() - Method in class com.akamai.media.AMPFeed
-
- getMediaResource() - Method in class com.akamai.media.VideoPlayerView
-
Returns the Media resource loaded in the player
- getMode() - Method in class com.akamai.media.VideoPlayerContainer
-
Returns the current decoding mode.
- getOctoMultiStreamBitrates() - Method in class com.akamai.media.VideoPlayerView
-
- getOctoMultiStreamSources() - Method in class com.akamai.media.VideoPlayerView
-
- getPositionInDVR() - Method in class com.akamai.media.VideoPlayerView
-
Return the current playback position in the DVR in seconds
- getProgressBarControl() - Method in class com.akamai.media.VideoPlayerView
-
Gets the progress bar control that is shown whenever the player is doing a buffering/loading operation
- getProtocol() - Method in class com.akamai.media.VideoPlayerView
-
Get the protocol of the current loaded stream
- getRebufferingTime() - Method in class com.akamai.media.VideoPlayerView
-
Get the total time the player has been rebuffering in seconds
- getRebuffers() - Method in class com.akamai.media.VideoPlayerView
-
Get the number of rebuffers occurred
- getServerIp() - Method in class com.akamai.media.VideoPlayerView
-
Get the Server IP of the current loaded stream
- getServerPort() - Method in class com.akamai.media.VideoPlayerView
-
Get the Server port for the current loaded stream
- getStreamsInfo() - Method in class com.akamai.media.VideoPlayerView
-
Return information about the streams
- getStreamUrl() - Method in class com.akamai.media.AMPFeed
-
- getStreamUrl() - Method in class com.akamai.media.VideoPlayerView
-
Returns the url of the loaded stream
- getStringPropertyByPath(String) - Method in class com.akamai.media.AMPFeed
-
- getTimePosition() - Method in class com.akamai.media.VideoPlayerView
-
Return the current playback position in seconds
- getTimePositionAsDate() - Method in class com.akamai.media.VideoPlayerView
-
Return the current playback position as a local time date
- getTimePositionMS() - Method in class com.akamai.media.VideoPlayerView
-
Return the current playback position in milliseconds
- getVersionDescription() - Method in class com.akamai.media.VideoPlayerView
-
Get extended information about the SDK version
- getVideoHeight() - Method in class com.akamai.media.VideoPlayerView
-
Get the height of the video
- getVideoPlayer() - Method in class com.akamai.media.VideoPlayerContainer
-
Gets a reference to the VideoPlayerView object used for playing the video
- getVideoPlayerController() - Method in class com.akamai.media.VideoPlayerContainer
-
- getVideoWidth() - Method in class com.akamai.media.VideoPlayerView
-
Get the width of the video
- pause() - Method in class com.akamai.media.VideoPlayerContainer
-
- pause() - Method in class com.akamai.media.VideoPlayerView
-
Pause playback
- play(MediaResource) - Method in class com.akamai.media.VideoPlayerView
-
Play a stream given the stream URL
- play(MediaResource, int) - Method in class com.akamai.media.VideoPlayerView
-
Play a stream given the stream URL, starting at the specified position in seconds
- playAudio(MediaResource) - Method in class com.akamai.media.VideoPlayerView
-
Play an audio only stream given the stream URL
- playAudio(MediaResource, int) - Method in class com.akamai.media.VideoPlayerView
-
Play an audio only stream given the stream URL, starting at the specified position in seconds
- PLAYER_EVENT_CURRENT_SEGMENT_INFO - Static variable in interface com.akamai.media.ISegmentInfoListener
-
Indicate a time position change.
- PLAYER_EVENT_SEGMENT_DOWNLOADED - Static variable in interface com.akamai.media.ISegmentInfoListener
-
Indicate a successful segment downloading operation arg1:
- PLAYER_EVENT_TYPE_END_REBUFFERING - Static variable in interface com.akamai.media.IPlayerEventsListener
-
Indicate the last rebuffering event has ended
- PLAYER_EVENT_TYPE_ERROR - Static variable in interface com.akamai.media.IPlayerEventsListener
-
Indicate an error has occurred
- PLAYER_EVENT_TYPE_FINISHED - Static variable in interface com.akamai.media.IPlayerEventsListener
-
Indicate the end of the playback
- PLAYER_EVENT_TYPE_FULLSCREEN_MODE_CHANGE - Static variable in interface com.akamai.media.IPlayerEventsListener
-
Indicate a fullscreen mode being selected
- PLAYER_EVENT_TYPE_LOAD_REQUESTED - Static variable in interface com.akamai.media.IPlayerEventsListener
-
There is a request for loading a new video.
- PLAYER_EVENT_TYPE_LOADING - Static variable in interface com.akamai.media.IPlayerEventsListener
-
Indicate the control is loading a media resource
- PLAYER_EVENT_TYPE_PAUSE_REQUESTED - Static variable in interface com.akamai.media.IPlayerEventsListener
-
Pause method called
- PLAYER_EVENT_TYPE_POSITION_UPDATE - Static variable in interface com.akamai.media.IPlayerEventsListener
-
Indicate a time position change.
- PLAYER_EVENT_TYPE_RESUME_REQUESTED - Static variable in interface com.akamai.media.IPlayerEventsListener
-
Resume method called
- PLAYER_EVENT_TYPE_SIZE_CHANGE - Static variable in interface com.akamai.media.IPlayerEventsListener
-
Video size or position has changed.
- PLAYER_EVENT_TYPE_START_PLAYING - Static variable in interface com.akamai.media.IPlayerEventsListener
-
Indicate the start of the playback
- PLAYER_EVENT_TYPE_START_REBUFFERING - Static variable in interface com.akamai.media.IPlayerEventsListener
-
Indicate the control is starting buffering
- PLAYER_EVENT_TYPE_SWITCH - Static variable in interface com.akamai.media.IPlayerEventsListener
-
Indicate a bitrate switch has just occurred
- PLAYER_EVENT_TYPE_SWITCH_REQUESTED - Static variable in interface com.akamai.media.IPlayerEventsListener
-
Indicate a bitrate switch has been requested
- PLAYER_EXTENDED_EVENT_BANDWIDTH_MEASURE - Static variable in interface com.akamai.media.IPlayerEventsListener
-
Indicate the control has executed a bandwidth measure
arg1: Current client bandwidth
arg2: Index of the recommended playback bitrate
- PLAYER_EXTENDED_EVENT_SEEKING_SUCCEDEED - Static variable in interface com.akamai.media.IPlayerEventsListener
-
Indicate a successful seeking operation
arg1: Seeking position
- playMuted(MediaResource) - Method in class com.akamai.media.VideoPlayerView
-
Starts playing the stream in mute
- postDebugData() - Method in class com.akamai.media.VideoPlayerView
-
- prepareAMPFeed(String) - Method in class com.akamai.media.VideoPlayerContainer
-
Play a stream given a feed url.
- prepareAMPFeedFRomJson(String) - Method in class com.akamai.media.VideoPlayerContainer
-
Play a stream given a JSON feed string.
- prepareResource(String) - Method in class com.akamai.media.VideoPlayerContainer
-
- prepareResource(String, String) - Method in class com.akamai.media.VideoPlayerContainer
-
- seek(int) - Method in class com.akamai.media.VideoPlayerView
-
Seek to the specified time position
- seekTo(int) - Method in class com.akamai.media.VideoPlayerContainer
-
- seekToLive() - Method in class com.akamai.media.VideoPlayerView
-
Seek to the live position.
- setAdjustTimestamps(boolean) - Method in class com.akamai.media.VideoPlayerView
-
Enable/disable the adjustment of timestamps in case of misalignment detected
- setAkamaiAlgorithmValue(int) - Method in class com.akamai.media.VideoPlayerView
-
Combined with setHLSStartingAlgorithm(VideoPlayerView.HLS_STARTING_ALGORITHM_AKAMAI)
this methods allow setting a custom value for the maximum starting bitrate (default is 300000bps)
- setAutoResume(boolean) - Method in class com.akamai.media.VideoPlayerView
-
Enable/disable auto resume feature.
- setAvoidAudioOnlyStreams(boolean) - Method in class com.akamai.media.VideoPlayerView
-
When multibitrate, deactivate/activate the use of audio only streams
This method doesn't make sense in the hardware version of the SDK as the interpretation
of the protocol is done by the hardware decoder.
- setAvoidIncompatibleVideoProfiles(boolean) - Method in class com.akamai.media.VideoPlayerView
-
Enable/disable protection mechanism that avoids the selection
of incompatible bitrates.
- setAvoidIncompatibleVideoResolutions(boolean) - Method in class com.akamai.media.VideoPlayerView
-
Enable/disable protection mechanism that avoids the selection
of incompatible bitrates.
- setBitrateToPlay(int) - Method in class com.akamai.media.VideoPlayerView
-
Software: In manual switching mode, set the maximum bitrate to be used during the playback.
- setDebugingActive(Boolean) - Method in class com.akamai.media.VideoPlayerView
-
Activate/deactivate the debug mode
- setDebugUrl(String) - Method in class com.akamai.media.VideoPlayerView
-
When debugging mode is active, each time the player finish playing a stream it
sends a report to the url defined using this method.
- setDefaultAudioConfig(int, int) - Method in class com.akamai.media.VideoPlayerView
-
Set default audio configuration parameters.
- setDefaultMode(int) - Method in class com.akamai.media.VideoPlayerContainer
-
Sets the default decoding method.
- setDisableDynamicAudioFeature(boolean) - Method in class com.akamai.media.VideoPlayerView
-
Disable dynamic audio feature in stream (bitrates with different audio settings: channels, sample rate).
- setDropFrames(boolean) - Method in class com.akamai.media.VideoPlayerView
-
Configure the player to drop frames when needed for improving audio/video sync.
- setDropWrongTimestampPacketsMode(int) - Method in class com.akamai.media.VideoPlayerView
-
Set how to manage packets that don't include timestamp
For not well encoded streams is possible that timestamp values are not correctly set.
- setFeedInfo(AMPFeed) - Method in class com.akamai.media.VideoPlayerView
-
Set the feed being loaded
- setForceFormatChange(boolean) - Method in class com.akamai.media.VideoPlayerView
-
When set to true, the format change flag is set to true for the initial segment
after a seeking operation.
- setForceOMXdecoding(boolean) - Method in class com.akamai.media.VideoPlayerView
-
When set to true, the decoding engine will use the direct OMX approach instead of the
newest MediaCodec approach.
- setFullScreen(boolean) - Method in class com.akamai.media.VideoPlayerView
-
Set fullscreen mode.
- setFullScreenMode(int) - Method in class com.akamai.media.VideoPlayerView
-
Set fullscreen mode.
- setHardwareSeekingProtection(boolean) - Method in class com.akamai.media.VideoPlayerView
-
When set to true, multiple seeks in a row are blocked by the SDK to protect
from a hardware interface crash failure occurring for specific streams
Default value: false
Note: only for Hardware Advanced decoding mode
- setHLSStartingAlgorithm(int) - Method in class com.akamai.media.VideoPlayerView
-
Sets the algorithm used for selecting the initial bitrate of the playback
- setLicense(String) - Method in class com.akamai.media.VideoPlayerView
-
Set the Android SDK license.
- setLogEnabled(boolean) - Method in class com.akamai.media.VideoPlayerView
-
Enable/Disable log traces
- setManualSwitching(boolean) - Method in class com.akamai.media.VideoPlayerView
-
Sets the manual switching mode
- setMaxBitrate(int) - Method in class com.akamai.media.VideoPlayerView
-
Set the maximum bitrate to be played, in bps
- setMediaAnalyticsConfigUrl(String) - Method in class com.akamai.media.VideoPlayerView
-
Sets the Media Analytics config url
To use Media Analytics the application must enabled the following permissions
- android.permission.INTERNET
- android.permission.ACCESS_NETWORK_STATE
- android.permission.READ_PHONE_STATE
- android.permission.ACCESS_WIFI_STATE
- setMediaAnalyticsData(String, String) - Method in class com.akamai.media.VideoPlayerView
-
Report Media Analytics custom dimension in the player
- setMediaAnalyticsViewerDiagnosticsId(String) - Method in class com.akamai.media.VideoPlayerView
-
Set Media Analytics Diagnostics Viewer Id.
- setMediaAnalyticsViewerId(String) - Method in class com.akamai.media.VideoPlayerView
-
Set Media Analytics Viewer Id
- setNetSessionMode(int) - Method in class com.akamai.media.VideoPlayerView
-
Enable/Disable client side delivery
- setOctoSystemBuilder(OctoSystemBuilder) - Method in class com.akamai.media.VideoPlayerContainer
-
- setOctoSystemBuilder(OctoSystemBuilder) - Method in class com.akamai.media.VideoPlayerView
-
- setProgressBarControl(View) - Method in class com.akamai.media.VideoPlayerView
-
Sets the progress bar control that should be shown whenever the player is doing a buffering/loading operation
- setRebufferingMode(int) - Method in class com.akamai.media.VideoPlayerView
-
Set the rebuffering mode.
- setRebufferingSize(int) - Method in class com.akamai.media.VideoPlayerView
-
Set the rebuffering buffer size
- setSegmentInfoListener(ISegmentInfoListener) - Method in class com.akamai.media.VideoPlayerView
-
- setStartingBitrateIndex(int) - Method in class com.akamai.media.VideoPlayerView
-
Set index of the bitrate to be used when playback start
- setStreamUrl(String) - Method in class com.akamai.media.AMPFeed
-
- setUseBufferingWhenStarting(boolean) - Method in class com.akamai.media.VideoPlayerView
-
Enable/Disable the use of an initial buffer used for starting playback
If enabled, playback won't start until the initial buffer is full.
- setUseMultiThread(boolean) - Method in class com.akamai.media.VideoPlayerView
-
Enable/disable the use of multi threading decoding
- setVideoBufferSize(int) - Method in class com.akamai.media.VideoPlayerView
-
- setVideoQuality(int) - Method in class com.akamai.media.VideoPlayerView
-
Set the video quality.
- start() - Method in class com.akamai.media.VideoPlayerContainer
-
- startMediaFactory(String, String) - Method in class com.akamai.media.VideoPlayerContainer
-
- stop() - Method in class com.akamai.media.VideoPlayerView
-
Stop playback
- switchAudioTrack(int) - Method in class com.akamai.media.VideoPlayerView
-
Switch to a different audio track
- switchBitrateDown() - Method in class com.akamai.media.VideoPlayerView
-
Ask the player to switch to the lower bitrate
- switchBitrateUp() - Method in class com.akamai.media.VideoPlayerView
-
Ask the player to switch to the upper bitrate