- getAudioPlayer() - Method in class com.akamai.media.VideoPlayerContainer
-
Gets a reference to the VideoPlayerView object used for playing an audio-only stream
- getAvgFPS() - Method in interface com.akamai.media.VideoPlayerView
-
For the current playback, get the average FPS (Frames per Second)
This method doesn't make sense in the hardware version of the SDK as the hardware
decoder doesn't provide this information
- getBitrateByIndex(int) - Method in interface com.akamai.media.VideoPlayerView
-
Return the bitrate (bps) for the variant indicated in the index parameter
- getBitratesCount() - Method in interface com.akamai.media.VideoPlayerView
-
Get the number of available bitrate indexes for the loaded stream
- getBitratesSwitchesDown() - Method in interface com.akamai.media.VideoPlayerView
-
For multibirate streams, get the number of times the control has switched down
- getBitratesSwitchesUp() - Method in interface com.akamai.media.VideoPlayerView
-
For multibirate streams, get the number of times the control has switched up
- getBufferingPercentage() - Method in interface com.akamai.media.VideoPlayerView
-
Get the rebuffering percentage
- getBytesLoaded() - Method in interface 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
-
- getCurrentBitrate() - Method in interface com.akamai.media.VideoPlayerView
-
Get the current bitrate of the video in bps
- getCurrentSegmentUrl() - Method in interface com.akamai.media.VideoPlayerView
-
- getDescription() - Method in class com.akamai.media.AMPFeed
-
- getDuration() - Method in interface com.akamai.media.VideoPlayerView
-
Get the duration of the video in seconds.
- getDVRLength() - Method in interface com.akamai.media.VideoPlayerView
-
Get the lenght, in seconds, of the DVR
- getEncodedFPS() - Method in interface com.akamai.media.VideoPlayerView
-
Get the encoded frames per second for the loaded stream
This method is not supported on Hardware and Hardware Advanced decoding modes
- getFeed() - Method in interface com.akamai.media.VideoPlayerView
-
Returns the feed of the loaded stream (in case playback was launched providing a json feed)
- getFPS() - Method in interface com.akamai.media.VideoPlayerView
-
Get the current FPS (Frames per Second)
- getFullScreenMode() - Method in interface com.akamai.media.VideoPlayerView
-
Return the fullscreen mode
- getHeight() - Method in interface com.akamai.media.VideoPlayerView
-
Return the height of this view
- getIndexByBitrate(int) - Method in interface com.akamai.media.VideoPlayerView
-
Return the index for the bitrate indicated in the bitrate parameter (bps)
- getLastErrorCode() - Method in interface com.akamai.media.VideoPlayerView
-
Returns the last error code that happens during the playback
- getLastHttpErrorCode() - Method in interface com.akamai.media.VideoPlayerView
-
Get error code of the last HTTP request
- getLastMeasuredBandwidth() - Method in interface com.akamai.media.VideoPlayerView
-
Returns the last measured bandwidth in bytes/sec
- getLastPTS() - Method in interface com.akamai.media.VideoPlayerView
-
Get the PTS of the last packet read by the decoder
- getLicenseExpirationDate() - Method in interface com.akamai.media.VideoPlayerView
-
Returns the expiration date of the set license
- getLicensePackageName() - Method in interface com.akamai.media.VideoPlayerView
-
Returns the package name for which the set license is valid
- getLocationOnScreen() - Method in interface com.akamai.media.VideoPlayerView
-
Computes the coordinates of this view on the screen
- getMediaGUID() - Method in class com.akamai.media.AMPFeed
-
- getMode() - Method in class com.akamai.media.VideoPlayerContainer
-
Returns the current decoding mode.
- getPositionInDVR() - Method in interface com.akamai.media.VideoPlayerView
-
Return the current playback position in the DVR in seconds
- getProgressBarControl() - Method in interface com.akamai.media.VideoPlayerView
-
Gets the progress bar control that is shown whenever the player is doing a buffering/loading operation
- getProtocol() - Method in interface com.akamai.media.VideoPlayerView
-
Get the protocol of the current loaded stream
- getRebufferingTime() - Method in interface com.akamai.media.VideoPlayerView
-
Get the total time the player has been rebuffering in seconds
- getRebuffers() - Method in interface com.akamai.media.VideoPlayerView
-
Get the number of rebuffers occurred
- getServerIp() - Method in interface com.akamai.media.VideoPlayerView
-
Get the Server IP of the current loaded stream
- getServerPort() - Method in interface com.akamai.media.VideoPlayerView
-
Get the Server port for the current loaded stream
- getStreamsInfo() - Method in interface com.akamai.media.VideoPlayerView
-
Return information about the streams
- getStreamUrl() - Method in class com.akamai.media.AMPFeed
-
- getStreamUrl() - Method in interface com.akamai.media.VideoPlayerView
-
Returns the url of the loaded stream
- getStringPropertyByPath(String) - Method in class com.akamai.media.AMPFeed
-
- getTimePosition() - Method in interface com.akamai.media.VideoPlayerView
-
Return the current playback position in seconds
- getTimePositionAsDate() - Method in interface com.akamai.media.VideoPlayerView
-
Return the current playback position as a local time date
- getTimePositionMS() - Method in interface com.akamai.media.VideoPlayerView
-
Return the current playback position in milliseconds
- getVersionDescription() - Method in interface com.akamai.media.VideoPlayerView
-
Get extended information about the SDK version
- getVideoHeight() - Method in interface 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
- getVideoWidth() - Method in interface com.akamai.media.VideoPlayerView
-
Get the width of the video
- getWidth() - Method in interface com.akamai.media.VideoPlayerView
-
Return the width of this view
- IPlayerEventsListener - Interface in com.akamai.media
-
Player EventsListener
- isAudioOnly() - Method in interface com.akamai.media.VideoPlayerView
-
Return true if the current bitrate is an audio only stream
- isBitrateSupported(int) - Method in interface com.akamai.media.VideoPlayerView
-
Method used for knowing if a specific bitrate of the stream that is being played is compatible
with the device.
- ISegmentInfoListener - Interface in com.akamai.media
-
Player EventsListener
- isError() - Method in interface com.akamai.media.VideoPlayerView
-
Check whether there was an error
- isFinished() - Method in interface com.akamai.media.VideoPlayerView
-
Check whether the current playback has finished
- isFullScreen() - Method in interface com.akamai.media.VideoPlayerView
-
Return true if the player is in fullscreenmode
- isLicenseExpired() - Method in interface com.akamai.media.VideoPlayerView
-
Get information about the status of the SDK license
- isLive() - Method in interface com.akamai.media.VideoPlayerView
-
Return true when playing a live stream
- isMuted() - Method in interface com.akamai.media.VideoPlayerView
-
Returns whether or not the current audio thread is muted
- isPaused() - Method in interface com.akamai.media.VideoPlayerView
-
Check whether control is in pause
- isPlaybackProcessInterrupted() - Method in interface com.akamai.media.VideoPlayerView
-
Return true if playback was interrupted by any of the Android SDK plugins
- isPlaying() - Method in interface com.akamai.media.VideoPlayerView
-
Check whether control is playing
- isResumingAfterActivityResume() - Method in interface com.akamai.media.VideoPlayerView
-
Return true if playback is being automatically restarted after an activity resume.
- isSeeking() - Method in interface com.akamai.media.VideoPlayerView
-
Check whether VideoPlayerView control is doing a seeking operation
- isUplynk - Static variable in class com.akamai.media.AMPLibraryInfo
-
- pause() - Method in interface com.akamai.media.VideoPlayerView
-
Pause playback
- playAudioUrl(String) - Method in interface com.akamai.media.VideoPlayerView
-
Play an audio only stream given the stream URL
- playAudioUrl(String, int) - Method in interface 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
- playFeedFromJson(String) - Method in interface com.akamai.media.VideoPlayerView
-
Play a stream given a JSON feed string.
- playFeedFromUrl(String) - Method in interface com.akamai.media.VideoPlayerView
-
Play a stream given a feed url.
- playMutedUrl(String) - Method in interface com.akamai.media.VideoPlayerView
-
Starts playing the stream in mute
- playUrl(String) - Method in interface com.akamai.media.VideoPlayerView
-
Play a stream given the stream URL
- playUrl(String, int) - Method in interface com.akamai.media.VideoPlayerView
-
Play a stream given the stream URL, starting at the specified position in seconds
- seek(int, int) - Method in interface com.akamai.media.VideoPlayerView
-
Seek to the specified time position
- seekToLive() - Method in interface com.akamai.media.VideoPlayerView
-
Seek to the live position.
- setAdjustTimestamps(boolean) - Method in interface com.akamai.media.VideoPlayerView
-
Enable/disable the adjustment of timestamps in case of misalignment detected
- setAkamaiAlgorithmValue(int) - Method in interface 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 interface com.akamai.media.VideoPlayerView
-
Enable/disable auto resume feature.
- setAvoidAudioOnlyStreams(boolean) - Method in interface 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 interface com.akamai.media.VideoPlayerView
-
Enable/disable protection mechanism that avoids the selection
of incompatible bitrates.
- setAvoidIncompatibleVideoResolutions(boolean) - Method in interface com.akamai.media.VideoPlayerView
-
Enable/disable protection mechanism that avoids the selection
of incompatible bitrates.
- setBackgroundColor(int) - Method in interface com.akamai.media.VideoPlayerView
-
Sets the background color for the player itself
- setBitrateToPlay(int) - Method in interface com.akamai.media.VideoPlayerView
-
Software: In manual switching mode, set the maximum bitrate to be used during the playback.
- setDebugingActive(Boolean) - Method in interface com.akamai.media.VideoPlayerView
-
Activate/deactivate the debug mode
- setDebugUrl(String) - Method in interface 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 interface com.akamai.media.VideoPlayerView
-
Set default audio configuration parameters.
- setDisableDynamicAudioFeature(boolean) - Method in interface com.akamai.media.VideoPlayerView
-
Disable dynamic audio feature in stream (bitrates with different audio settings: channels, sample rate).
- setDropFrames(boolean) - Method in interface com.akamai.media.VideoPlayerView
-
Configure the player to drop frames when needed for improving audio/video sync.
- setDropWrongTimestampPacketsMode(int) - Method in interface 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.
- setEventsListener(IPlayerEventsListener) - Method in interface com.akamai.media.VideoPlayerView
-
Deprecated.
- setForceFormatChange(boolean) - Method in interface 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 interface 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 interface com.akamai.media.VideoPlayerView
-
Set fullscreen mode.
- setFullScreenMode(int) - Method in interface com.akamai.media.VideoPlayerView
-
Set fullscreen mode.
- setHardwareSeekingProtection(boolean) - Method in interface 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 interface com.akamai.media.VideoPlayerView
-
Sets the algorithm used for selecting the initial bitrate of the playback
- setInitialSeekingPosition(int) - Method in interface com.akamai.media.VideoPlayerView
-
Set the video starting position
- setLicense(String) - Method in interface com.akamai.media.VideoPlayerView
-
Set the Android SDK license.
- setLogEnabled(boolean) - Method in interface com.akamai.media.VideoPlayerView
-
Enable/Disable log traces
- setManualSwitching(boolean) - Method in interface com.akamai.media.VideoPlayerView
-
Sets the manual switching mode
- setMaxBitrate(int) - Method in interface com.akamai.media.VideoPlayerView
-
Set the maximum bitrate to be played, in bps
- setMediaAnalyticsConfigUrl(String) - Method in interface 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 interface com.akamai.media.VideoPlayerView
-
Report Media Analytics custom dimension in the player
- setMediaAnalyticsViewerDiagnosticsId(String) - Method in interface com.akamai.media.VideoPlayerView
-
Set Media Analytics Diagnostics Viewer Id.
- setMediaAnalyticsViewerId(String) - Method in interface com.akamai.media.VideoPlayerView
-
Set Media Analytics Viewer Id
- setMode(int) - Method in class com.akamai.media.VideoPlayerContainer
-
Sets the decoding method.
- setNetSessionMode(int) - Method in interface com.akamai.media.VideoPlayerView
-
Enable/Disable client side delivery
- setProgressBarControl(View) - Method in interface 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 interface com.akamai.media.VideoPlayerView
-
Set the rebuffering mode.
- setRebufferingSize(int) - Method in interface com.akamai.media.VideoPlayerView
-
Set the rebuffering buffer size
- setSegmentInfoListener(ISegmentInfoListener) - Method in interface com.akamai.media.VideoPlayerView
-
- setStartingBitrateIndex(int) - Method in interface 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 interface 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 interface com.akamai.media.VideoPlayerView
-
Enable/disable the use of multi threading decoding
- setVideoQuality(int) - Method in interface com.akamai.media.VideoPlayerView
-
Set the video quality.
- stop() - Method in interface com.akamai.media.VideoPlayerView
-
Stop playback
- switchBitrateDown() - Method in interface com.akamai.media.VideoPlayerView
-
Ask the player to switch to the lower bitrate
- switchBitrateUp() - Method in interface com.akamai.media.VideoPlayerView
-
Ask the player to switch to the upper bitrate