public class

KSYTrackInfo

extends Object
java.lang.Object
   ↳ com.ksyun.media.player.misc.KSYTrackInfo

Summary

Constants
int MEDIA_TRACK_TYPE_AUDIO
int MEDIA_TRACK_TYPE_EXTERNAL_TIMEDTEXT
int MEDIA_TRACK_TYPE_METADATA
int MEDIA_TRACK_TYPE_SUBTITLE
int MEDIA_TRACK_TYPE_TIMEDTEXT
int MEDIA_TRACK_TYPE_UNKNOWN
int MEDIA_TRACK_TYPE_VIDEO
Public Constructors
KSYTrackInfo(KSYMediaMeta.KSYStreamMeta streamMeta)
Public Methods
IMediaFormat getFormat()
String getInfoInline()
String getLanguage()
int getTrackIndex()
int getTrackType()
void setMediaMeta(KSYMediaMeta.KSYStreamMeta streamMeta)
void setTrackIndex(int index)
void setTrackType(int trackType)
String toString()
[Expand]
Inherited Methods
From class java.lang.Object

Constants

public static final int MEDIA_TRACK_TYPE_AUDIO

Constant Value: 2 (0x00000002)

public static final int MEDIA_TRACK_TYPE_EXTERNAL_TIMEDTEXT

Constant Value: 100 (0x00000064)

public static final int MEDIA_TRACK_TYPE_METADATA

Constant Value: 5 (0x00000005)

public static final int MEDIA_TRACK_TYPE_SUBTITLE

Constant Value: 4 (0x00000004)

public static final int MEDIA_TRACK_TYPE_TIMEDTEXT

Constant Value: 3 (0x00000003)

public static final int MEDIA_TRACK_TYPE_UNKNOWN

Constant Value: 0 (0x00000000)

public static final int MEDIA_TRACK_TYPE_VIDEO

Constant Value: 1 (0x00000001)

Public Constructors

public KSYTrackInfo (KSYMediaMeta.KSYStreamMeta streamMeta)

Public Methods

public IMediaFormat getFormat ()

public String getInfoInline ()

public String getLanguage ()

public int getTrackIndex ()

public int getTrackType ()

public void setMediaMeta (KSYMediaMeta.KSYStreamMeta streamMeta)

public void setTrackIndex (int index)

public void setTrackType (int trackType)

public String toString ()