Available Methods
- TIME_UNSET
- INDEX_UNSET
- LENGTH_UNSET
- MICROS_PER_SECOND
- RESULT_END_OF_INPUT
- TRACK_TYPE_VIDEO
- POSITION_UNSET
- TRACK_TYPE_AUDIO
- TIME_END_OF_SOURCE
- TRACK_TYPE_TEXT
- PcmEncoding ( )
- ENCODING_PCM_16BIT ( )
- ENCODING_INVALID
- Encoding ( )
- BUFFER_FLAG_KEY_FRAME
- RESULT_FORMAT_READ
- RESULT_BUFFER_READ
- SELECTION_REASON_UNKNOWN
- ENCODING_PCM_FLOAT
- ENCODING_AC3 ( )
- TYPE_HLS
- AUDIO_SESSION_ID_UNSET
- ENCODING_PCM_32BIT ( )
- RESULT_NOTHING_READ
- TYPE_OTHER
- ENCODING_PCM_24BIT ( )
- TYPE_DASH
- BufferFlags ( )
- TRACK_TYPE_UNKNOWN
- usToMs ( )
- msToUs ( )
- TYPE_SS
- ContentType ( )
- SelectionFlags ( )
- ENCODING_PCM_MU_LAW
- TRACK_TYPE_METADATA
- RoleFlags ( )
- SELECTION_REASON_ADAPTIVE
- NetworkType ( )
- SELECTION_FLAG_DEFAULT
- ENCODING_PCM_8BIT ( )
- PERCENTAGE_UNSET
- STREAM_TYPE_USE_DEFAULT
- AudioUsage ( )
- STREAM_TYPE_NOTIFICATION
- STREAM_TYPE_MUSIC
- ENCODING_PCM_A_LAW
- StereoMode ( )
- DATA_TYPE_MANIFEST
- PLAYREADY_UUID
- USAGE_NOTIFICATION_RINGTONE
- MSG_SET_VOLUME
- SELECTION_REASON_INITIAL
- USAGE_NOTIFICATION
- WIDEVINE_UUID
- CryptoMode ( )
- ENCODING_DTS_HD
- STEREO_MODE_MONO
- NETWORK_TYPE_OFFLINE
- ENCODING_E_AC3 ( )
- STREAM_TYPE_SYSTEM
- StreamType ( )
- STREAM_TYPE_DEFAULT
- NETWORK_TYPE_UNKNOWN
- DATA_TYPE_MEDIA_PROGRESSIVE_LIVE
- DATA_TYPE_MEDIA
- USAGE_VOICE_COMMUNICATION_SIGNALLING
- NETWORK_TYPE_ETHERNET
- USAGE_ASSISTANCE_SONIFICATION
- USAGE_ALARM
- ROLE_FLAG_MAIN
- STREAM_TYPE_ALARM
- NETWORK_TYPE_4G ( )
- AudioContentType ( )
- DATA_TYPE_DRM
- USAGE_ASSISTANCE_NAVIGATION_GUIDANCE
- CLEARKEY_UUID
- ROLE_FLAG_COMMENTARY
- TRACK_TYPE_NONE
- BUFFER_FLAG_ENCRYPTED
- STREAM_TYPE_RING
- ENCODING_DOLBY_TRUEHD
- ENCODING_E_AC3_JOC ( )
- BITS_PER_BYTE
- STEREO_MODE_STEREO_MESH
- STREAM_TYPE_VOICE_CALL
- DEFAULT_BUFFER_SEGMENT_SIZE
- ColorTransfer ( )
- STEREO_MODE_LEFT_RIGHT
- TRACK_TYPE_DEFAULT
- CENC_TYPE_cenc ( )
- ENCODING_AC4 ( )
- CENC_TYPE_cens ( )
- COLOR_TRANSFER_ST2084 ( )
- SELECTION_FLAG_AUTOSELECT
- USAGE_MEDIA
- VIDEO_OUTPUT_MODE_SURFACE_YUV
- DEFAULT_METADATA_BUFFER_SIZE
- PROJECTION_RECTANGULAR
- USAGE_ASSISTANCE_ACCESSIBILITY
- USAGE_NOTIFICATION_COMMUNICATION_REQUEST
- CONTENT_TYPE_SPEECH
- BUFFER_FLAG_LAST_SAMPLE
- USAGE_NOTIFICATION_COMMUNICATION_INSTANT
- SELECTION_FLAG_FORCED
- ROLE_FLAG_ALTERNATE
- ROLE_FLAG_ENHANCED_DIALOG_INTELLIGIBILITY
- STREAM_TYPE_DTMF
- NETWORK_TYPE_CELLULAR_UNKNOWN
- MSG_SET_AUX_EFFECT_INFO
- UUID_NIL
- MSG_SET_SURFACE
- SANS_SERIF_NAME
- NETWORK_TYPE_WIFI
- MSG_SET_AUDIO_ATTRIBUTES
- USAGE_UNKNOWN
- COLOR_RANGE_FULL
- COLOR_RANGE_LIMITED
- SERIF_NAME
- ROLE_FLAG_SUPPLEMENTARY
- NANOS_PER_SECOND
- USAGE_GAME
- NETWORK_TYPE_3G ( )
- USAGE_NOTIFICATION_EVENT
- NETWORK_TYPE_OTHER
- USAGE_VOICE_COMMUNICATION
- STEREO_MODE_TOP_BOTTOM
Related Classes
- java.util.Arrays
- java.util.Collections
- android.content.Context
- android.util.Log
- java.util.UUID
- android.os.Handler
- android.net.Uri
- java.nio.ByteBuffer
- android.text.TextUtils
- android.support.annotation.Nullable
- java.io.EOFException
- androidx.annotation.Nullable
- android.util.Pair
- org.xmlpull.v1.XmlPullParser
- org.xmlpull.v1.XmlPullParserException
- com.google.android.exoplayer2.upstream.DefaultDataSourceFactory
- com.google.android.exoplayer2.source.MediaSource
- com.google.android.exoplayer2.util.Util
- com.google.android.exoplayer2.trackselection.DefaultTrackSelector
- com.google.android.exoplayer2.ExoPlaybackException
- com.google.android.exoplayer2.upstream.DataSource
- com.google.android.exoplayer2.Player
- com.google.android.exoplayer2.source.TrackGroupArray
- com.google.android.exoplayer2.trackselection.TrackSelection
- com.google.android.exoplayer2.source.hls.HlsMediaSource
Java Code Examples for com.google.android.exoplayer2.C#ROLE_FLAG_ALTERNATE
The following examples show how to use
com.google.android.exoplayer2.C#ROLE_FLAG_ALTERNATE .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: DashManifestParser.java From MediaSDK with Apache License 2.0 | 5 votes |
@C.RoleFlags protected int parseDashRoleSchemeValue(@Nullable String value) { if (value == null) { return 0; } switch (value) { case "main": return C.ROLE_FLAG_MAIN; case "alternate": return C.ROLE_FLAG_ALTERNATE; case "supplementary": return C.ROLE_FLAG_SUPPLEMENTARY; case "commentary": return C.ROLE_FLAG_COMMENTARY; case "dub": return C.ROLE_FLAG_DUB; case "emergency": return C.ROLE_FLAG_EMERGENCY; case "caption": return C.ROLE_FLAG_CAPTION; case "subtitle": return C.ROLE_FLAG_SUBTITLE; case "sign": return C.ROLE_FLAG_SIGN; case "description": return C.ROLE_FLAG_DESCRIBES_VIDEO; case "enhanced-audio-intelligibility": return C.ROLE_FLAG_ENHANCED_DIALOG_INTELLIGIBILITY; default: return 0; } }
Example 2
Source File: DashManifestParser.java From Telegram-FOSS with GNU General Public License v2.0 | 5 votes |
@C.RoleFlags protected int parseDashRoleSchemeValue(String value) { if (value == null) { return 0; } switch (value) { case "main": return C.ROLE_FLAG_MAIN; case "alternate": return C.ROLE_FLAG_ALTERNATE; case "supplementary": return C.ROLE_FLAG_SUPPLEMENTARY; case "commentary": return C.ROLE_FLAG_COMMENTARY; case "dub": return C.ROLE_FLAG_DUB; case "emergency": return C.ROLE_FLAG_EMERGENCY; case "caption": return C.ROLE_FLAG_CAPTION; case "subtitle": return C.ROLE_FLAG_SUBTITLE; case "sign": return C.ROLE_FLAG_SIGN; case "description": return C.ROLE_FLAG_DESCRIBES_VIDEO; case "enhanced-audio-intelligibility": return C.ROLE_FLAG_ENHANCED_DIALOG_INTELLIGIBILITY; default: return 0; } }
Example 3
Source File: DashManifestParser.java From Telegram with GNU General Public License v2.0 | 5 votes |
@C.RoleFlags protected int parseDashRoleSchemeValue(String value) { if (value == null) { return 0; } switch (value) { case "main": return C.ROLE_FLAG_MAIN; case "alternate": return C.ROLE_FLAG_ALTERNATE; case "supplementary": return C.ROLE_FLAG_SUPPLEMENTARY; case "commentary": return C.ROLE_FLAG_COMMENTARY; case "dub": return C.ROLE_FLAG_DUB; case "emergency": return C.ROLE_FLAG_EMERGENCY; case "caption": return C.ROLE_FLAG_CAPTION; case "subtitle": return C.ROLE_FLAG_SUBTITLE; case "sign": return C.ROLE_FLAG_SIGN; case "description": return C.ROLE_FLAG_DESCRIBES_VIDEO; case "enhanced-audio-intelligibility": return C.ROLE_FLAG_ENHANCED_DIALOG_INTELLIGIBILITY; default: return 0; } }