-
- All Implemented Interfaces:
-
com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,livekit.LivekitRtc.AddTrackRequestOrBuilder
public final class LivekitRtc.AddTrackRequest extends GeneratedMessageLite<LivekitRtc.AddTrackRequest, LivekitRtc.AddTrackRequest.Builder> implements LivekitRtc.AddTrackRequestOrBuilder
Protobuf type
{@code livekit.AddTrackRequest}
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
LivekitRtc.AddTrackRequest.Builder
Protobuf type
{@code livekit.AddTrackRequest}
-
Field Summary
Fields Modifier and Type Field Description public final static int
CID_FIELD_NUMBER
public final static int
NAME_FIELD_NUMBER
public final static int
TYPE_FIELD_NUMBER
public final static int
WIDTH_FIELD_NUMBER
public final static int
HEIGHT_FIELD_NUMBER
public final static int
MUTED_FIELD_NUMBER
public final static int
DISABLE_DTX_FIELD_NUMBER
public final static int
SOURCE_FIELD_NUMBER
public final static int
LAYERS_FIELD_NUMBER
public final static int
SIMULCAST_CODECS_FIELD_NUMBER
public final static int
SID_FIELD_NUMBER
public final static int
STEREO_FIELD_NUMBER
public final static int
DISABLE_RED_FIELD_NUMBER
public final static int
ENCRYPTION_FIELD_NUMBER
public final static int
STREAM_FIELD_NUMBER
-
Method Summary
Modifier and Type Method Description String
getCid()
client ID of track, to match it when RTC track is received
string cid = 1;
ByteString
getCidBytes()
client ID of track, to match it when RTC track is received
string cid = 1;
String
getName()
string name = 2;
ByteString
getNameBytes()
string name = 2;
int
getTypeValue()
.livekit.TrackType type = 3;
LivekitModels.TrackType
getType()
.livekit.TrackType type = 3;
int
getWidth()
to be deprecated in favor of layers
uint32 width = 4;
int
getHeight()
uint32 height = 5;
boolean
getMuted()
true to add track and initialize to muted
bool muted = 6;
boolean
getDisableDtx()
true if DTX (Discontinuous Transmission) is disabled for audio
bool disable_dtx = 7;
int
getSourceValue()
.livekit.TrackSource source = 8;
LivekitModels.TrackSource
getSource()
.livekit.TrackSource source = 8;
List<LivekitModels.VideoLayer>
getLayersList()
repeated .livekit.VideoLayer layers = 9;
List<out LivekitModels.VideoLayerOrBuilder>
getLayersOrBuilderList()
repeated .livekit.VideoLayer layers = 9;
int
getLayersCount()
repeated .livekit.VideoLayer layers = 9;
LivekitModels.VideoLayer
getLayers(int index)
repeated .livekit.VideoLayer layers = 9;
LivekitModels.VideoLayerOrBuilder
getLayersOrBuilder(int index)
repeated .livekit.VideoLayer layers = 9;
List<LivekitRtc.SimulcastCodec>
getSimulcastCodecsList()
repeated .livekit.SimulcastCodec simulcast_codecs = 10;
List<out LivekitRtc.SimulcastCodecOrBuilder>
getSimulcastCodecsOrBuilderList()
repeated .livekit.SimulcastCodec simulcast_codecs = 10;
int
getSimulcastCodecsCount()
repeated .livekit.SimulcastCodec simulcast_codecs = 10;
LivekitRtc.SimulcastCodec
getSimulcastCodecs(int index)
repeated .livekit.SimulcastCodec simulcast_codecs = 10;
LivekitRtc.SimulcastCodecOrBuilder
getSimulcastCodecsOrBuilder(int index)
repeated .livekit.SimulcastCodec simulcast_codecs = 10;
String
getSid()
server ID of track, publish new codec to exist track
string sid = 11;
ByteString
getSidBytes()
server ID of track, publish new codec to exist track
string sid = 11;
boolean
getStereo()
bool stereo = 12;
boolean
getDisableRed()
true if RED (Redundant Encoding) is disabled for audio
bool disable_red = 13;
int
getEncryptionValue()
.livekit.Encryption.Type encryption = 14;
LivekitModels.Encryption.Type
getEncryption()
.livekit.Encryption.Type encryption = 14;
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 together
string stream = 15;
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 together
string stream = 15;
static LivekitRtc.AddTrackRequest
parseFrom(ByteBuffer data)
static LivekitRtc.AddTrackRequest
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
static LivekitRtc.AddTrackRequest
parseFrom(ByteString data)
static LivekitRtc.AddTrackRequest
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
static LivekitRtc.AddTrackRequest
parseFrom(Array<byte> data)
static LivekitRtc.AddTrackRequest
parseFrom(Array<byte> data, ExtensionRegistryLite extensionRegistry)
static LivekitRtc.AddTrackRequest
parseFrom(InputStream input)
static LivekitRtc.AddTrackRequest
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
static LivekitRtc.AddTrackRequest
parseDelimitedFrom(InputStream input)
static LivekitRtc.AddTrackRequest
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
static LivekitRtc.AddTrackRequest
parseFrom(CodedInputStream input)
static LivekitRtc.AddTrackRequest
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
static LivekitRtc.AddTrackRequest.Builder
newBuilder()
static LivekitRtc.AddTrackRequest.Builder
newBuilder(LivekitRtc.AddTrackRequest prototype)
static LivekitRtc.AddTrackRequest
getDefaultInstance()
static Parser<LivekitRtc.AddTrackRequest>
parser()
-
Methods inherited from class com.google.protobuf.GeneratedMessageLite
equals, getDefaultInstanceForType, getParserForType, hashCode, isInitialized, newBuilderForType, newRepeatedGeneratedExtension, newSingularGeneratedExtension, toBuilder, toString, writeTo
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
toByteArray, toByteString, writeDelimitedTo
-
Methods inherited from class com.google.protobuf.MessageLite
getParserForType, newBuilderForType, toBuilder
-
Methods inherited from class com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getCidBytes
ByteString getCidBytes()
client ID of track, to match it when RTC track is received
string cid = 1;
-
getNameBytes
ByteString getNameBytes()
string name = 2;
-
getTypeValue
int getTypeValue()
.livekit.TrackType type = 3;
-
getType
LivekitModels.TrackType getType()
.livekit.TrackType type = 3;
-
getWidth
int getWidth()
to be deprecated in favor of layers
uint32 width = 4;
-
getHeight
int getHeight()
uint32 height = 5;
-
getMuted
boolean getMuted()
true to add track and initialize to muted
bool muted = 6;
-
getDisableDtx
boolean getDisableDtx()
true if DTX (Discontinuous Transmission) is disabled for audio
bool disable_dtx = 7;
-
getSourceValue
int getSourceValue()
.livekit.TrackSource source = 8;
-
getSource
LivekitModels.TrackSource getSource()
.livekit.TrackSource source = 8;
-
getLayersList
List<LivekitModels.VideoLayer> getLayersList()
repeated .livekit.VideoLayer layers = 9;
-
getLayersOrBuilderList
List<out LivekitModels.VideoLayerOrBuilder> getLayersOrBuilderList()
repeated .livekit.VideoLayer layers = 9;
-
getLayersCount
int getLayersCount()
repeated .livekit.VideoLayer layers = 9;
-
getLayers
LivekitModels.VideoLayer getLayers(int index)
repeated .livekit.VideoLayer layers = 9;
-
getLayersOrBuilder
LivekitModels.VideoLayerOrBuilder getLayersOrBuilder(int index)
repeated .livekit.VideoLayer layers = 9;
-
getSimulcastCodecsList
List<LivekitRtc.SimulcastCodec> getSimulcastCodecsList()
repeated .livekit.SimulcastCodec simulcast_codecs = 10;
-
getSimulcastCodecsOrBuilderList
List<out LivekitRtc.SimulcastCodecOrBuilder> getSimulcastCodecsOrBuilderList()
repeated .livekit.SimulcastCodec simulcast_codecs = 10;
-
getSimulcastCodecsCount
int getSimulcastCodecsCount()
repeated .livekit.SimulcastCodec simulcast_codecs = 10;
-
getSimulcastCodecs
LivekitRtc.SimulcastCodec getSimulcastCodecs(int index)
repeated .livekit.SimulcastCodec simulcast_codecs = 10;
-
getSimulcastCodecsOrBuilder
LivekitRtc.SimulcastCodecOrBuilder getSimulcastCodecsOrBuilder(int index)
repeated .livekit.SimulcastCodec simulcast_codecs = 10;
-
getSidBytes
ByteString getSidBytes()
server ID of track, publish new codec to exist track
string sid = 11;
-
getStereo
boolean getStereo()
bool stereo = 12;
-
getDisableRed
boolean getDisableRed()
true if RED (Redundant Encoding) is disabled for audio
bool disable_red = 13;
-
getEncryptionValue
int getEncryptionValue()
.livekit.Encryption.Type encryption = 14;
-
getEncryption
LivekitModels.Encryption.Type getEncryption()
.livekit.Encryption.Type encryption = 14;
-
getStream
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 together
string stream = 15;
-
getStreamBytes
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 together
string stream = 15;
-
parseFrom
static LivekitRtc.AddTrackRequest parseFrom(ByteBuffer data)
-
parseFrom
static LivekitRtc.AddTrackRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
-
parseFrom
static LivekitRtc.AddTrackRequest parseFrom(ByteString data)
-
parseFrom
static LivekitRtc.AddTrackRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
-
parseFrom
static LivekitRtc.AddTrackRequest parseFrom(Array<byte> data)
-
parseFrom
static LivekitRtc.AddTrackRequest parseFrom(Array<byte> data, ExtensionRegistryLite extensionRegistry)
-
parseFrom
static LivekitRtc.AddTrackRequest parseFrom(InputStream input)
-
parseFrom
static LivekitRtc.AddTrackRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
-
parseDelimitedFrom
static LivekitRtc.AddTrackRequest parseDelimitedFrom(InputStream input)
-
parseDelimitedFrom
static LivekitRtc.AddTrackRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
-
parseFrom
static LivekitRtc.AddTrackRequest parseFrom(CodedInputStream input)
-
parseFrom
static LivekitRtc.AddTrackRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
-
newBuilder
static LivekitRtc.AddTrackRequest.Builder newBuilder()
-
newBuilder
static LivekitRtc.AddTrackRequest.Builder newBuilder(LivekitRtc.AddTrackRequest prototype)
-
getDefaultInstance
static LivekitRtc.AddTrackRequest getDefaultInstance()
-
parser
static Parser<LivekitRtc.AddTrackRequest> parser()
-
-
-
-