-
- All Implemented Interfaces:
-
com.google.protobuf.MessageLiteOrBuilder
public interface LivekitRtc.AddTrackRequestOrBuilder implements MessageLiteOrBuilder
-
-
Method Summary
Modifier and Type Method Description abstract StringgetCid()client ID of track, to match it when RTC track is receivedstring cid = 1;abstract ByteStringgetCidBytes()client ID of track, to match it when RTC track is receivedstring cid = 1;abstract StringgetName()string name = 2;abstract ByteStringgetNameBytes()string name = 2;abstract intgetTypeValue().livekit.TrackType type = 3;abstract LivekitModels.TrackTypegetType().livekit.TrackType type = 3;abstract intgetWidth()uint32 width = 4;abstract intgetHeight()uint32 height = 5;abstract booleangetMuted()true to add track and initialize to mutedbool muted = 6;abstract booleangetDisableDtx()true if DTX (Discontinuous Transmission) is disabled for audiobool disable_dtx = 7 [deprecated = true];abstract intgetSourceValue().livekit.TrackSource source = 8;abstract LivekitModels.TrackSourcegetSource().livekit.TrackSource source = 8;abstract List<LivekitModels.VideoLayer>getLayersList()repeated .livekit.VideoLayer layers = 9;abstract LivekitModels.VideoLayergetLayers(int index)repeated .livekit.VideoLayer layers = 9;abstract intgetLayersCount()repeated .livekit.VideoLayer layers = 9;abstract List<LivekitRtc.SimulcastCodec>getSimulcastCodecsList()repeated .livekit.SimulcastCodec simulcast_codecs = 10;abstract LivekitRtc.SimulcastCodecgetSimulcastCodecs(int index)repeated .livekit.SimulcastCodec simulcast_codecs = 10;abstract intgetSimulcastCodecsCount()repeated .livekit.SimulcastCodec simulcast_codecs = 10;abstract StringgetSid()server ID of track, publish new codec to exist trackstring sid = 11;abstract ByteStringgetSidBytes()server ID of track, publish new codec to exist trackstring sid = 11;abstract booleangetStereo()deprecated in favor of audio_featuresbool stereo = 12 [deprecated = true];abstract booleangetDisableRed()true if RED (Redundant Encoding) is disabled for audiobool disable_red = 13;abstract intgetEncryptionValue().livekit.Encryption.Type encryption = 14;abstract LivekitModels.Encryption.TypegetEncryption().livekit.Encryption.Type encryption = 14;abstract StringgetStream()which stream the track belongs to, used to group tracks together. if not specified, server will infer it from track source to bundle camera/microphone, screenshare/audio togetherstring stream = 15;abstract ByteStringgetStreamBytes()which stream the track belongs to, used to group tracks together. if not specified, server will infer it from track source to bundle camera/microphone, screenshare/audio togetherstring stream = 15;abstract intgetBackupCodecPolicyValue().livekit.BackupCodecPolicy backup_codec_policy = 16;abstract LivekitModels.BackupCodecPolicygetBackupCodecPolicy().livekit.BackupCodecPolicy backup_codec_policy = 16;abstract List<LivekitModels.AudioTrackFeature>getAudioFeaturesList()repeated .livekit.AudioTrackFeature audio_features = 17;abstract intgetAudioFeaturesCount()repeated .livekit.AudioTrackFeature audio_features = 17;abstract LivekitModels.AudioTrackFeaturegetAudioFeatures(int index)repeated .livekit.AudioTrackFeature audio_features = 17;abstract List<Integer>getAudioFeaturesValueList()repeated .livekit.AudioTrackFeature audio_features = 17;abstract intgetAudioFeaturesValue(int index)repeated .livekit.AudioTrackFeature audio_features = 17;-
-
Method Detail
-
getCid
abstract String getCid()
client ID of track, to match it when RTC track is receivedstring cid = 1;
-
getCidBytes
abstract ByteString getCidBytes()
client ID of track, to match it when RTC track is receivedstring cid = 1;
-
getNameBytes
abstract ByteString getNameBytes()
string name = 2;
-
getTypeValue
abstract int getTypeValue()
.livekit.TrackType type = 3;
-
getType
abstract LivekitModels.TrackType getType()
.livekit.TrackType type = 3;
-
getWidth
abstract int getWidth()
uint32 width = 4;
-
getHeight
abstract int getHeight()
uint32 height = 5;
-
getMuted
abstract boolean getMuted()
true to add track and initialize to mutedbool muted = 6;
-
getDisableDtx
@Deprecated() abstract boolean getDisableDtx()
true if DTX (Discontinuous Transmission) is disabled for audiobool disable_dtx = 7 [deprecated = true];
-
getSourceValue
abstract int getSourceValue()
.livekit.TrackSource source = 8;
-
getSource
abstract LivekitModels.TrackSource getSource()
.livekit.TrackSource source = 8;
-
getLayersList
abstract List<LivekitModels.VideoLayer> getLayersList()
repeated .livekit.VideoLayer layers = 9;
-
getLayers
abstract LivekitModels.VideoLayer getLayers(int index)
repeated .livekit.VideoLayer layers = 9;
-
getLayersCount
abstract int getLayersCount()
repeated .livekit.VideoLayer layers = 9;
-
getSimulcastCodecsList
abstract List<LivekitRtc.SimulcastCodec> getSimulcastCodecsList()
repeated .livekit.SimulcastCodec simulcast_codecs = 10;
-
getSimulcastCodecs
abstract LivekitRtc.SimulcastCodec getSimulcastCodecs(int index)
repeated .livekit.SimulcastCodec simulcast_codecs = 10;
-
getSimulcastCodecsCount
abstract int getSimulcastCodecsCount()
repeated .livekit.SimulcastCodec simulcast_codecs = 10;
-
getSid
abstract String getSid()
server ID of track, publish new codec to exist trackstring sid = 11;
-
getSidBytes
abstract ByteString getSidBytes()
server ID of track, publish new codec to exist trackstring sid = 11;
-
getStereo
@Deprecated() abstract boolean getStereo()
deprecated in favor of audio_featuresbool stereo = 12 [deprecated = true];
-
getDisableRed
abstract boolean getDisableRed()
true if RED (Redundant Encoding) is disabled for audiobool disable_red = 13;
-
getEncryptionValue
abstract int getEncryptionValue()
.livekit.Encryption.Type encryption = 14;
-
getEncryption
abstract LivekitModels.Encryption.Type getEncryption()
.livekit.Encryption.Type encryption = 14;
-
getStream
abstract String getStream()
which stream the track belongs to, used to group tracks together. if not specified, server will infer it from track source to bundle camera/microphone, screenshare/audio togetherstring stream = 15;
-
getStreamBytes
abstract ByteString getStreamBytes()
which stream the track belongs to, used to group tracks together. if not specified, server will infer it from track source to bundle camera/microphone, screenshare/audio togetherstring stream = 15;
-
getBackupCodecPolicyValue
abstract int getBackupCodecPolicyValue()
.livekit.BackupCodecPolicy backup_codec_policy = 16;
-
getBackupCodecPolicy
abstract LivekitModels.BackupCodecPolicy getBackupCodecPolicy()
.livekit.BackupCodecPolicy backup_codec_policy = 16;
-
getAudioFeaturesList
abstract List<LivekitModels.AudioTrackFeature> getAudioFeaturesList()
repeated .livekit.AudioTrackFeature audio_features = 17;
-
getAudioFeaturesCount
abstract int getAudioFeaturesCount()
repeated .livekit.AudioTrackFeature audio_features = 17;
-
getAudioFeatures
abstract LivekitModels.AudioTrackFeature getAudioFeatures(int index)
repeated .livekit.AudioTrackFeature audio_features = 17;- Parameters:
index- The index of the element to return.
-
getAudioFeaturesValueList
abstract List<Integer> getAudioFeaturesValueList()
repeated .livekit.AudioTrackFeature audio_features = 17;
-
getAudioFeaturesValue
abstract int getAudioFeaturesValue(int index)
repeated .livekit.AudioTrackFeature audio_features = 17;- Parameters:
index- The index of the value to return.
-
-
-
-