public class VideoTrackInfo
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private java.lang.String |
channelId
Channel ID.
|
private int |
codecType
Codec type.
|
private int |
encodedFrameOnly
Flag to indicate if only encoded frames are used.
|
private int |
isLocal
Whether the track is local (1) or remote (0).
|
private int |
observationPosition
Observation position.
|
private int |
ownerUid
User ID of the track owner.
|
private int |
sourceType
Video source type.
|
private int |
streamType
Stream type.
|
private int |
trackId
Track ID.
|
| Constructor and Description |
|---|
VideoTrackInfo()
Default constructor.
|
VideoTrackInfo(int isLocal,
int ownerUid,
int trackId,
java.lang.String channelId,
int streamType,
int codecType,
int encodedFrameOnly,
int sourceType,
int observationPosition)
Constructor with parameters.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getChannelId()
Gets the channel ID.
|
int |
getCodecType()
Gets the codec type.
|
int |
getEncodedFrameOnly()
Gets the encoded frame only flag.
|
int |
getIsLocal()
Gets whether the track is local.
|
int |
getObservationPosition()
Gets the observation position.
|
int |
getOwnerUid()
Gets the user ID of the track owner.
|
int |
getSourceType()
Gets the video source type.
|
int |
getStreamType()
Gets the stream type.
|
int |
getTrackId()
Gets the track ID.
|
void |
setChannelId(java.lang.String channelId)
Sets the channel ID.
|
void |
setCodecType(int codecType)
Sets the codec type.
|
void |
setEncodedFrameOnly(int encodedFrameOnly)
Sets the encoded frame only flag.
|
void |
setIsLocal(int isLocal)
Sets whether the track is local.
|
void |
setObservationPosition(int observationPosition)
Sets the observation position.
|
void |
setOwnerUid(int ownerUid)
Sets the user ID of the track owner.
|
void |
setSourceType(int sourceType)
Sets the video source type.
|
void |
setStreamType(int streamType)
Sets the stream type.
|
void |
setTrackId(int trackId)
Sets the track ID.
|
private int isLocal
private int ownerUid
private int trackId
private java.lang.String channelId
private int streamType
private int codecType
private int encodedFrameOnly
private int sourceType
private int observationPosition
public VideoTrackInfo()
public VideoTrackInfo(int isLocal,
int ownerUid,
int trackId,
java.lang.String channelId,
int streamType,
int codecType,
int encodedFrameOnly,
int sourceType,
int observationPosition)
isLocal - Whether the track is local (1) or remote (0)ownerUid - User ID of the track ownertrackId - Track IDchannelId - Channel IDstreamType - Stream typecodecType - Codec typeencodedFrameOnly - Flag to indicate if only encoded frames are usedsourceType - Video source typeobservationPosition - Observation positionpublic int getIsLocal()
public void setIsLocal(int isLocal)
isLocal - 1 if local, 0 if remotepublic int getOwnerUid()
public void setOwnerUid(int ownerUid)
ownerUid - User ID of the track ownerpublic int getTrackId()
public void setTrackId(int trackId)
trackId - Track IDpublic java.lang.String getChannelId()
public void setChannelId(java.lang.String channelId)
channelId - Channel IDpublic int getStreamType()
public void setStreamType(int streamType)
streamType - Stream typepublic int getCodecType()
public void setCodecType(int codecType)
codecType - Codec typepublic int getEncodedFrameOnly()
public void setEncodedFrameOnly(int encodedFrameOnly)
encodedFrameOnly - Flag to indicate if only encoded frames are usedpublic int getSourceType()
public void setSourceType(int sourceType)
sourceType - Video source typepublic int getObservationPosition()
public void setObservationPosition(int observationPosition)
observationPosition - Observation position