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#DEFAULT_METADATA_BUFFER_SIZE
The following examples show how to use
com.google.android.exoplayer2.C#DEFAULT_METADATA_BUFFER_SIZE .
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: Util.java From TelePlus-Android with GNU General Public License v2.0 | 6 votes |
/** * Maps a {@link C} {@code TRACK_TYPE_*} constant to the corresponding {@link C} * {@code DEFAULT_*_BUFFER_SIZE} constant. * * @param trackType The track type. * @return The corresponding default buffer size in bytes. */ public static int getDefaultBufferSize(int trackType) { switch (trackType) { case C.TRACK_TYPE_DEFAULT: return C.DEFAULT_MUXED_BUFFER_SIZE; case C.TRACK_TYPE_AUDIO: return C.DEFAULT_AUDIO_BUFFER_SIZE; case C.TRACK_TYPE_VIDEO: return C.DEFAULT_VIDEO_BUFFER_SIZE; case C.TRACK_TYPE_TEXT: return C.DEFAULT_TEXT_BUFFER_SIZE; case C.TRACK_TYPE_METADATA: return C.DEFAULT_METADATA_BUFFER_SIZE; default: throw new IllegalStateException(); } }
Example 2
Source File: Util.java From TelePlus-Android with GNU General Public License v2.0 | 6 votes |
/** * Maps a {@link C} {@code TRACK_TYPE_*} constant to the corresponding {@link C} * {@code DEFAULT_*_BUFFER_SIZE} constant. * * @param trackType The track type. * @return The corresponding default buffer size in bytes. */ public static int getDefaultBufferSize(int trackType) { switch (trackType) { case C.TRACK_TYPE_DEFAULT: return C.DEFAULT_MUXED_BUFFER_SIZE; case C.TRACK_TYPE_AUDIO: return C.DEFAULT_AUDIO_BUFFER_SIZE; case C.TRACK_TYPE_VIDEO: return C.DEFAULT_VIDEO_BUFFER_SIZE; case C.TRACK_TYPE_TEXT: return C.DEFAULT_TEXT_BUFFER_SIZE; case C.TRACK_TYPE_METADATA: return C.DEFAULT_METADATA_BUFFER_SIZE; default: throw new IllegalStateException(); } }
Example 3
Source File: Util.java From K-Sonic with MIT License | 6 votes |
/** * Maps a {@link C} {@code TRACK_TYPE_*} constant to the corresponding {@link C} * {@code DEFAULT_*_BUFFER_SIZE} constant. * * @param trackType The track type. * @return The corresponding default buffer size in bytes. */ public static int getDefaultBufferSize(int trackType) { switch (trackType) { case C.TRACK_TYPE_DEFAULT: return C.DEFAULT_MUXED_BUFFER_SIZE; case C.TRACK_TYPE_AUDIO: return C.DEFAULT_AUDIO_BUFFER_SIZE; case C.TRACK_TYPE_VIDEO: return C.DEFAULT_VIDEO_BUFFER_SIZE; case C.TRACK_TYPE_TEXT: return C.DEFAULT_TEXT_BUFFER_SIZE; case C.TRACK_TYPE_METADATA: return C.DEFAULT_METADATA_BUFFER_SIZE; default: throw new IllegalStateException(); } }