Package 

Interface LivekitRtc.AddTrackRequestOrBuilder

    • Method Summary

      Modifier and Type Method Description
      abstract String getCid()
      client ID of track, to match it when RTC track is received
      
      string cid = 1;
      abstract ByteString getCidBytes()
      client ID of track, to match it when RTC track is received
      
      string cid = 1;
      abstract String getName() string name = 2;
      abstract ByteString getNameBytes() string name = 2;
      abstract int getTypeValue() .livekit.TrackType type = 3;
      abstract LivekitModels.TrackType getType() .livekit.TrackType type = 3;
      abstract int getWidth()
      to be deprecated in favor of layers
      
      uint32 width = 4;
      abstract int getHeight() uint32 height = 5;
      abstract boolean getMuted()
      true to add track and initialize to muted
      
      bool muted = 6;
      abstract boolean getDisableDtx()
      true if DTX (Discontinuous Transmission) is disabled for audio
      
      bool disable_dtx = 7;
      abstract int getSourceValue() .livekit.TrackSource source = 8;
      abstract LivekitModels.TrackSource getSource() .livekit.TrackSource source = 8;
      abstract List<LivekitModels.VideoLayer> getLayersList() repeated .livekit.VideoLayer layers = 9;
      abstract LivekitModels.VideoLayer getLayers(int index) repeated .livekit.VideoLayer layers = 9;
      abstract int getLayersCount() repeated .livekit.VideoLayer layers = 9;
      abstract List<LivekitRtc.SimulcastCodec> getSimulcastCodecsList() repeated .livekit.SimulcastCodec simulcast_codecs = 10;
      abstract LivekitRtc.SimulcastCodec getSimulcastCodecs(int index) repeated .livekit.SimulcastCodec simulcast_codecs = 10;
      abstract int getSimulcastCodecsCount() repeated .livekit.SimulcastCodec simulcast_codecs = 10;
      abstract String getSid()
      server ID of track, publish new codec to exist track
      
      string sid = 11;
      abstract ByteString getSidBytes()
      server ID of track, publish new codec to exist track
      
      string sid = 11;
      abstract boolean getStereo() bool stereo = 12;
      abstract boolean getDisableRed()
      true if RED (Redundant Encoding) is disabled for audio
      
      bool disable_red = 13;
      abstract int getEncryptionValue() .livekit.Encryption.Type encryption = 14;
      abstract LivekitModels.Encryption.Type getEncryption() .livekit.Encryption.Type encryption = 14;
      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 together
      
      string stream = 15;
      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 together
      
      string stream = 15;
      • Methods inherited from class com.google.protobuf.MessageLiteOrBuilder

        getDefaultInstanceForType, isInitialized
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getCid

         abstract String getCid()
        client ID of track, to match it when RTC track is received
        
        string cid = 1;
      • getCidBytes

         abstract ByteString getCidBytes()
        client ID of track, to match it when RTC track is received
        
        string cid = 1;
      • getNameBytes

         abstract ByteString getNameBytes()

        string name = 2;

      • getTypeValue

         abstract int getTypeValue()

        .livekit.TrackType type = 3;

      • getWidth

         abstract int getWidth()
        to be deprecated in favor of layers
        
        uint32 width = 4;
      • getHeight

         abstract int getHeight()

        uint32 height = 5;

      • getMuted

         abstract boolean getMuted()
        true to add track and initialize to muted
        
        bool muted = 6;
      • getDisableDtx

         abstract boolean getDisableDtx()
        true if DTX (Discontinuous Transmission) is disabled for audio
        
        bool disable_dtx = 7;
      • getSourceValue

         abstract int getSourceValue()

        .livekit.TrackSource source = 8;

      • getLayersCount

         abstract int getLayersCount()

        repeated .livekit.VideoLayer layers = 9;

      • getSimulcastCodecsCount

         abstract int getSimulcastCodecsCount()

        repeated .livekit.SimulcastCodec simulcast_codecs = 10;

      • getSid

         abstract String getSid()
        server ID of track, publish new codec to exist track
        
        string sid = 11;
      • getSidBytes

         abstract ByteString getSidBytes()
        server ID of track, publish new codec to exist track
        
        string sid = 11;
      • getStereo

         abstract boolean getStereo()

        bool stereo = 12;

      • getDisableRed

         abstract boolean getDisableRed()
        true if RED (Redundant Encoding) is disabled for audio
        
        bool disable_red = 13;
      • getEncryptionValue

         abstract int getEncryptionValue()

        .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 together
        
        string 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 together
        
        string stream = 15;