public class

KSYMediaMeta

extends Object
java.lang.Object
   ↳ com.ksyun.media.player.KSYMediaMeta

Summary

Nested Classes
class KSYMediaMeta.KSYStreamMeta  
Constants
long AV_CH_BACK_CENTER
long AV_CH_BACK_LEFT
long AV_CH_BACK_RIGHT
long AV_CH_FRONT_CENTER
long AV_CH_FRONT_LEFT
long AV_CH_FRONT_LEFT_OF_CENTER
long AV_CH_FRONT_RIGHT
long AV_CH_FRONT_RIGHT_OF_CENTER
long AV_CH_LAYOUT_2POINT1
long AV_CH_LAYOUT_2_1
long AV_CH_LAYOUT_2_2
long AV_CH_LAYOUT_3POINT1
long AV_CH_LAYOUT_4POINT0
long AV_CH_LAYOUT_4POINT1
long AV_CH_LAYOUT_5POINT0
long AV_CH_LAYOUT_5POINT0_BACK
long AV_CH_LAYOUT_5POINT1
long AV_CH_LAYOUT_5POINT1_BACK
long AV_CH_LAYOUT_6POINT0
long AV_CH_LAYOUT_6POINT0_FRONT
long AV_CH_LAYOUT_6POINT1
long AV_CH_LAYOUT_6POINT1_BACK
long AV_CH_LAYOUT_6POINT1_FRONT
long AV_CH_LAYOUT_7POINT0
long AV_CH_LAYOUT_7POINT0_FRONT
long AV_CH_LAYOUT_7POINT1
long AV_CH_LAYOUT_7POINT1_WIDE
long AV_CH_LAYOUT_7POINT1_WIDE_BACK
long AV_CH_LAYOUT_HEXAGONAL
long AV_CH_LAYOUT_MONO
long AV_CH_LAYOUT_OCTAGONAL
long AV_CH_LAYOUT_QUAD
long AV_CH_LAYOUT_STEREO
long AV_CH_LAYOUT_STEREO_DOWNMIX
long AV_CH_LAYOUT_SURROUND
long AV_CH_LOW_FREQUENCY
long AV_CH_LOW_FREQUENCY_2
long AV_CH_SIDE_LEFT
long AV_CH_SIDE_RIGHT
long AV_CH_STEREO_LEFT
long AV_CH_STEREO_RIGHT
long AV_CH_SURROUND_DIRECT_LEFT
long AV_CH_SURROUND_DIRECT_RIGHT
long AV_CH_TOP_BACK_CENTER
long AV_CH_TOP_BACK_LEFT
long AV_CH_TOP_BACK_RIGHT
long AV_CH_TOP_CENTER
long AV_CH_TOP_FRONT_CENTER
long AV_CH_TOP_FRONT_LEFT
long AV_CH_TOP_FRONT_RIGHT
long AV_CH_WIDE_LEFT
long AV_CH_WIDE_RIGHT
String IJKM_KEY_AUDIO_CODEC
String IJKM_KEY_AUDIO_STREAM
String IJKM_KEY_BITRATE
String IJKM_KEY_CHANNEL_LAYOUT
String IJKM_KEY_CODEC_LEVEL
String IJKM_KEY_CODEC_LONG_NAME
String IJKM_KEY_CODEC_NAME
String IJKM_KEY_CODEC_PIXEL_FORMAT
String IJKM_KEY_CODEC_PROFILE
String IJKM_KEY_DURATION_US
String IJKM_KEY_FORMAT
String IJKM_KEY_FPS_DEN
String IJKM_KEY_FPS_NUM
String IJKM_KEY_HEIGHT
String IJKM_KEY_HTTP_ANALYZE_DNS
String IJKM_KEY_HTTP_CODE
String IJKM_KEY_HTTP_CONNECT_TIME
String IJKM_KEY_HTTP_CONTENT_LENGHT
String IJKM_KEY_HTTP_CONTENT_RANGE
String IJKM_KEY_HTTP_FIRST_DATA_TIME
String IJKM_KEY_HTTP_REDIRECT
String IJKM_KEY_HTTP_X_CACHE
String IJKM_KEY_INFO_STREAM_TYPE
String IJKM_KEY_LANGUAGE
String IJKM_KEY_OPEN_STREAM_COST
String IJKM_KEY_PARSER_INFO_COST
String IJKM_KEY_PARSER_INFO_STATUS
String IJKM_KEY_PREPARE_COST_TIME
String IJKM_KEY_PREPARE_READ_BYTES
String IJKM_KEY_SAMPLE_RATE
String IJKM_KEY_SAR_DEN
String IJKM_KEY_SAR_NUM
String IJKM_KEY_START_US
String IJKM_KEY_STREAMID
String IJKM_KEY_STREAMS
String IJKM_KEY_STREAM_INDEX
String IJKM_KEY_SUBTITLE_STREAM
String IJKM_KEY_TBR_DEN
String IJKM_KEY_TBR_NUM
String IJKM_KEY_TYPE
String IJKM_KEY_VIDEO_CODEC
String IJKM_KEY_VIDEO_STREAM
String IJKM_KEY_WIDTH
String IJKM_VAL_TYPE__AUDIO
String IJKM_VAL_TYPE__EXTERNAL_TIMED_TEXT
String IJKM_VAL_TYPE__SUBTITLE
String IJKM_VAL_TYPE__UNKNOWN
String IJKM_VAL_TYPE__VIDEO
Fields
public String mACodec
public int mAnalyzeDnsTime
public KSYMediaMeta.KSYStreamMeta mAudioStream
public long mBitrate
public long mDurationUS
public String mFormat
public int mHttpCode
public int mHttpConnectTime
public String mHttpContentLength
public String mHttpContentRange
public int mHttpFirstDataTime
public String mHttpRedirect
public String mHttpXCache
public Bundle mMediaMeta
public int mOpenStreamCostTime
public int mParserInfoStatus
public int mPrepareCostTime
public int mPrepareReadBytes
public long mStartUS
public String mStreamId
public String mStreamType
public final ArrayList<KSYMediaMeta.KSYStreamMeta> mStreams
public String mVCodec
public KSYMediaMeta.KSYStreamMeta mVideoStream
Public Constructors
KSYMediaMeta()
Public Methods
int getAnalyzeDnsTime()
String getAudioCodec()
int getConnectTime()
String getDurationInline()
int getFirstDataTime()
int getHttpCode()
int getInt(String key, int defaultValue)
int getInt(String key)
long getLong(String key)
long getLong(String key, long defaultValue)
int getOpenStreamCostTime()
ArrayList<Bundle> getParcelableArrayList(String key)
int getParserInfoStatus()
int getPrepareCostTime()
int getPrepareReadBytes()
String getStreamId()
String getStreamType()
String getString(String key)
String getVideoCodec()
static KSYMediaMeta parse(Bundle mediaMeta)
[Expand]
Inherited Methods
From class java.lang.Object

Constants

public static final long AV_CH_BACK_CENTER

Constant Value: 256 (0x0000000000000100)

public static final long AV_CH_BACK_LEFT

Constant Value: 16 (0x0000000000000010)

public static final long AV_CH_BACK_RIGHT

Constant Value: 32 (0x0000000000000020)

public static final long AV_CH_FRONT_CENTER

Constant Value: 4 (0x0000000000000004)

public static final long AV_CH_FRONT_LEFT

Constant Value: 1 (0x0000000000000001)

public static final long AV_CH_FRONT_LEFT_OF_CENTER

Constant Value: 64 (0x0000000000000040)

public static final long AV_CH_FRONT_RIGHT

Constant Value: 2 (0x0000000000000002)

public static final long AV_CH_FRONT_RIGHT_OF_CENTER

Constant Value: 128 (0x0000000000000080)

public static final long AV_CH_LAYOUT_2POINT1

Constant Value: 11 (0x000000000000000b)

public static final long AV_CH_LAYOUT_2_1

Constant Value: 259 (0x0000000000000103)

public static final long AV_CH_LAYOUT_2_2

Constant Value: 1539 (0x0000000000000603)

public static final long AV_CH_LAYOUT_3POINT1

Constant Value: 15 (0x000000000000000f)

public static final long AV_CH_LAYOUT_4POINT0

Constant Value: 263 (0x0000000000000107)

public static final long AV_CH_LAYOUT_4POINT1

Constant Value: 271 (0x000000000000010f)

public static final long AV_CH_LAYOUT_5POINT0

Constant Value: 1543 (0x0000000000000607)

public static final long AV_CH_LAYOUT_5POINT0_BACK

Constant Value: 55 (0x0000000000000037)

public static final long AV_CH_LAYOUT_5POINT1

Constant Value: 1551 (0x000000000000060f)

public static final long AV_CH_LAYOUT_5POINT1_BACK

Constant Value: 63 (0x000000000000003f)

public static final long AV_CH_LAYOUT_6POINT0

Constant Value: 1799 (0x0000000000000707)

public static final long AV_CH_LAYOUT_6POINT0_FRONT

Constant Value: 1731 (0x00000000000006c3)

public static final long AV_CH_LAYOUT_6POINT1

Constant Value: 1807 (0x000000000000070f)

public static final long AV_CH_LAYOUT_6POINT1_BACK

Constant Value: 319 (0x000000000000013f)

public static final long AV_CH_LAYOUT_6POINT1_FRONT

Constant Value: 1739 (0x00000000000006cb)

public static final long AV_CH_LAYOUT_7POINT0

Constant Value: 1591 (0x0000000000000637)

public static final long AV_CH_LAYOUT_7POINT0_FRONT

Constant Value: 1735 (0x00000000000006c7)

public static final long AV_CH_LAYOUT_7POINT1

Constant Value: 1599 (0x000000000000063f)

public static final long AV_CH_LAYOUT_7POINT1_WIDE

Constant Value: 1743 (0x00000000000006cf)

public static final long AV_CH_LAYOUT_7POINT1_WIDE_BACK

Constant Value: 255 (0x00000000000000ff)

public static final long AV_CH_LAYOUT_HEXAGONAL

Constant Value: 311 (0x0000000000000137)

public static final long AV_CH_LAYOUT_MONO

Constant Value: 4 (0x0000000000000004)

public static final long AV_CH_LAYOUT_OCTAGONAL

Constant Value: 1847 (0x0000000000000737)

public static final long AV_CH_LAYOUT_QUAD

Constant Value: 51 (0x0000000000000033)

public static final long AV_CH_LAYOUT_STEREO

Constant Value: 3 (0x0000000000000003)

public static final long AV_CH_LAYOUT_STEREO_DOWNMIX

Constant Value: 1610612736 (0x0000000060000000)

public static final long AV_CH_LAYOUT_SURROUND

Constant Value: 7 (0x0000000000000007)

public static final long AV_CH_LOW_FREQUENCY

Constant Value: 8 (0x0000000000000008)

public static final long AV_CH_LOW_FREQUENCY_2

Constant Value: 34359738368 (0x0000000800000000)

public static final long AV_CH_SIDE_LEFT

Constant Value: 512 (0x0000000000000200)

public static final long AV_CH_SIDE_RIGHT

Constant Value: 1024 (0x0000000000000400)

public static final long AV_CH_STEREO_LEFT

Constant Value: 536870912 (0x0000000020000000)

public static final long AV_CH_STEREO_RIGHT

Constant Value: 1073741824 (0x0000000040000000)

public static final long AV_CH_SURROUND_DIRECT_LEFT

Constant Value: 8589934592 (0x0000000200000000)

public static final long AV_CH_SURROUND_DIRECT_RIGHT

Constant Value: 17179869184 (0x0000000400000000)

public static final long AV_CH_TOP_BACK_CENTER

Constant Value: 65536 (0x0000000000010000)

public static final long AV_CH_TOP_BACK_LEFT

Constant Value: 32768 (0x0000000000008000)

public static final long AV_CH_TOP_BACK_RIGHT

Constant Value: 131072 (0x0000000000020000)

public static final long AV_CH_TOP_CENTER

Constant Value: 2048 (0x0000000000000800)

public static final long AV_CH_TOP_FRONT_CENTER

Constant Value: 8192 (0x0000000000002000)

public static final long AV_CH_TOP_FRONT_LEFT

Constant Value: 4096 (0x0000000000001000)

public static final long AV_CH_TOP_FRONT_RIGHT

Constant Value: 16384 (0x0000000000004000)

public static final long AV_CH_WIDE_LEFT

Constant Value: 2147483648 (0x0000000080000000)

public static final long AV_CH_WIDE_RIGHT

Constant Value: 4294967296 (0x0000000100000000)

public static final String IJKM_KEY_AUDIO_CODEC

Constant Value: "acodec"

public static final String IJKM_KEY_AUDIO_STREAM

Constant Value: "audio"

public static final String IJKM_KEY_BITRATE

Constant Value: "bitrate"

public static final String IJKM_KEY_CHANNEL_LAYOUT

Constant Value: "channel_layout"

public static final String IJKM_KEY_CODEC_LEVEL

Constant Value: "codec_level"

public static final String IJKM_KEY_CODEC_LONG_NAME

Constant Value: "codec_long_name"

public static final String IJKM_KEY_CODEC_NAME

Constant Value: "codec_name"

public static final String IJKM_KEY_CODEC_PIXEL_FORMAT

Constant Value: "codec_pixel_format"

public static final String IJKM_KEY_CODEC_PROFILE

Constant Value: "codec_profile"

public static final String IJKM_KEY_DURATION_US

Constant Value: "duration_us"

public static final String IJKM_KEY_FORMAT

Constant Value: "format"

public static final String IJKM_KEY_FPS_DEN

Constant Value: "fps_den"

public static final String IJKM_KEY_FPS_NUM

Constant Value: "fps_num"

public static final String IJKM_KEY_HEIGHT

Constant Value: "height"

public static final String IJKM_KEY_HTTP_ANALYZE_DNS

Constant Value: "analyze_dns_time"

public static final String IJKM_KEY_HTTP_CODE

Constant Value: "http_code"

public static final String IJKM_KEY_HTTP_CONNECT_TIME

Constant Value: "connect_time"

public static final String IJKM_KEY_HTTP_CONTENT_LENGHT

Constant Value: "http_content_length"

public static final String IJKM_KEY_HTTP_CONTENT_RANGE

Constant Value: "http_content_range"

public static final String IJKM_KEY_HTTP_FIRST_DATA_TIME

Constant Value: "first_data_time"

public static final String IJKM_KEY_HTTP_REDIRECT

Constant Value: "http_redirect"

public static final String IJKM_KEY_HTTP_X_CACHE

Constant Value: "http_x_cache"

public static final String IJKM_KEY_INFO_STREAM_TYPE

Constant Value: "stream_type"

public static final String IJKM_KEY_LANGUAGE

Constant Value: "language"

public static final String IJKM_KEY_OPEN_STREAM_COST

Constant Value: "open_stream_cost"

public static final String IJKM_KEY_PARSER_INFO_COST

Constant Value: "parser_info_cost"

public static final String IJKM_KEY_PARSER_INFO_STATUS

Constant Value: "parser_info_status"

public static final String IJKM_KEY_PREPARE_COST_TIME

Constant Value: "prepare_cost"

public static final String IJKM_KEY_PREPARE_READ_BYTES

Constant Value: "prepare_read_bytes"

public static final String IJKM_KEY_SAMPLE_RATE

Constant Value: "sample_rate"

public static final String IJKM_KEY_SAR_DEN

Constant Value: "sar_den"

public static final String IJKM_KEY_SAR_NUM

Constant Value: "sar_num"

public static final String IJKM_KEY_START_US

Constant Value: "start_us"

public static final String IJKM_KEY_STREAMID

Constant Value: "streamId"

public static final String IJKM_KEY_STREAMS

Constant Value: "streams"

public static final String IJKM_KEY_STREAM_INDEX

Constant Value: "stream_index"

public static final String IJKM_KEY_SUBTITLE_STREAM

Constant Value: "subtitle"

public static final String IJKM_KEY_TBR_DEN

Constant Value: "tbr_den"

public static final String IJKM_KEY_TBR_NUM

Constant Value: "tbr_num"

public static final String IJKM_KEY_TYPE

Constant Value: "type"

public static final String IJKM_KEY_VIDEO_CODEC

Constant Value: "vcodec"

public static final String IJKM_KEY_VIDEO_STREAM

Constant Value: "video"

public static final String IJKM_KEY_WIDTH

Constant Value: "width"

public static final String IJKM_VAL_TYPE__AUDIO

Constant Value: "audio"

public static final String IJKM_VAL_TYPE__EXTERNAL_TIMED_TEXT

Constant Value: "external_timed_text"

public static final String IJKM_VAL_TYPE__SUBTITLE

Constant Value: "subtitle"

public static final String IJKM_VAL_TYPE__UNKNOWN

Constant Value: "unknown"

public static final String IJKM_VAL_TYPE__VIDEO

Constant Value: "video"

Fields

public String mACodec

public int mAnalyzeDnsTime

public KSYMediaMeta.KSYStreamMeta mAudioStream

public long mBitrate

public long mDurationUS

public String mFormat

public int mHttpCode

public int mHttpConnectTime

public String mHttpContentLength

public String mHttpContentRange

public int mHttpFirstDataTime

public String mHttpRedirect

public String mHttpXCache

public Bundle mMediaMeta

public int mOpenStreamCostTime

public int mParserInfoStatus

public int mPrepareCostTime

public int mPrepareReadBytes

public long mStartUS

public String mStreamId

public String mStreamType

public final ArrayList<KSYMediaMeta.KSYStreamMeta> mStreams

public String mVCodec

public KSYMediaMeta.KSYStreamMeta mVideoStream

Public Constructors

public KSYMediaMeta ()

Public Methods

public int getAnalyzeDnsTime ()

public String getAudioCodec ()

public int getConnectTime ()

public String getDurationInline ()

public int getFirstDataTime ()

public int getHttpCode ()

public int getInt (String key, int defaultValue)

public int getInt (String key)

public long getLong (String key)

public long getLong (String key, long defaultValue)

public int getOpenStreamCostTime ()

public ArrayList<Bundle> getParcelableArrayList (String key)

public int getParserInfoStatus ()

public int getPrepareCostTime ()

public int getPrepareReadBytes ()

public String getStreamId ()

public String getStreamType ()

public String getString (String key)

public String getVideoCodec ()

public static KSYMediaMeta parse (Bundle mediaMeta)