-
- All Implemented Interfaces:
-
com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,livekit.LivekitRtc.SignalResponseOrBuilder
public final class LivekitRtc.SignalResponse extends GeneratedMessageLite<LivekitRtc.SignalResponse, LivekitRtc.SignalResponse.Builder> implements LivekitRtc.SignalResponseOrBuilder
Protobuf type
{@code livekit.SignalResponse}
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public enumLivekitRtc.SignalResponse.MessageCasepublic final classLivekitRtc.SignalResponse.BuilderProtobuf type
{@code livekit.SignalResponse}
-
Field Summary
Fields Modifier and Type Field Description public final static intJOIN_FIELD_NUMBERpublic final static intANSWER_FIELD_NUMBERpublic final static intOFFER_FIELD_NUMBERpublic final static intTRICKLE_FIELD_NUMBERpublic final static intUPDATE_FIELD_NUMBERpublic final static intTRACK_PUBLISHED_FIELD_NUMBERpublic final static intLEAVE_FIELD_NUMBERpublic final static intMUTE_FIELD_NUMBERpublic final static intSPEAKERS_CHANGED_FIELD_NUMBERpublic final static intROOM_UPDATE_FIELD_NUMBERpublic final static intCONNECTION_QUALITY_FIELD_NUMBERpublic final static intSTREAM_STATE_UPDATE_FIELD_NUMBERpublic final static intSUBSCRIBED_QUALITY_UPDATE_FIELD_NUMBERpublic final static intSUBSCRIPTION_PERMISSION_UPDATE_FIELD_NUMBERpublic final static intREFRESH_TOKEN_FIELD_NUMBERpublic final static intTRACK_UNPUBLISHED_FIELD_NUMBERpublic final static intPONG_FIELD_NUMBERpublic final static intRECONNECT_FIELD_NUMBERpublic final static intPONG_RESP_FIELD_NUMBERpublic final static intSUBSCRIPTION_RESPONSE_FIELD_NUMBERpublic final static intREQUEST_RESPONSE_FIELD_NUMBERpublic final static intTRACK_SUBSCRIBED_FIELD_NUMBERpublic final static intROOM_MOVED_FIELD_NUMBERpublic final static intMEDIA_SECTIONS_REQUIREMENT_FIELD_NUMBERpublic final static intSUBSCRIBED_AUDIO_CODEC_UPDATE_FIELD_NUMBER
-
Method Summary
Modifier and Type Method Description LivekitRtc.SignalResponse.MessageCasegetMessageCase()booleanhasJoin()sent when join is accepted.livekit.JoinResponse join = 1;LivekitRtc.JoinResponsegetJoin()sent when join is accepted.livekit.JoinResponse join = 1;booleanhasAnswer()sent when server answers publisher.livekit.SessionDescription answer = 2;LivekitRtc.SessionDescriptiongetAnswer()sent when server answers publisher.livekit.SessionDescription answer = 2;booleanhasOffer()sent when server is sending subscriber an offer.livekit.SessionDescription offer = 3;LivekitRtc.SessionDescriptiongetOffer()sent when server is sending subscriber an offer.livekit.SessionDescription offer = 3;booleanhasTrickle()sent when an ICE candidate is available.livekit.TrickleRequest trickle = 4;LivekitRtc.TrickleRequestgetTrickle()sent when an ICE candidate is available.livekit.TrickleRequest trickle = 4;booleanhasUpdate()sent when participants in the room has changed.livekit.ParticipantUpdate update = 5;LivekitRtc.ParticipantUpdategetUpdate()sent when participants in the room has changed.livekit.ParticipantUpdate update = 5;booleanhasTrackPublished()sent to the participant when their track has been published.livekit.TrackPublishedResponse track_published = 6;LivekitRtc.TrackPublishedResponsegetTrackPublished()sent to the participant when their track has been published.livekit.TrackPublishedResponse track_published = 6;booleanhasLeave()Immediately terminate session.livekit.LeaveRequest leave = 8;LivekitRtc.LeaveRequestgetLeave()Immediately terminate session.livekit.LeaveRequest leave = 8;booleanhasMute()server initiated mute.livekit.MuteTrackRequest mute = 9;LivekitRtc.MuteTrackRequestgetMute()server initiated mute.livekit.MuteTrackRequest mute = 9;booleanhasSpeakersChanged()indicates changes to speaker status, including when they've gone to not speaking.livekit.SpeakersChanged speakers_changed = 10;LivekitRtc.SpeakersChangedgetSpeakersChanged()indicates changes to speaker status, including when they've gone to not speaking.livekit.SpeakersChanged speakers_changed = 10;booleanhasRoomUpdate()sent when metadata of the room has changed.livekit.RoomUpdate room_update = 11;LivekitRtc.RoomUpdategetRoomUpdate()sent when metadata of the room has changed.livekit.RoomUpdate room_update = 11;booleanhasConnectionQuality()when connection quality changed.livekit.ConnectionQualityUpdate connection_quality = 12;LivekitRtc.ConnectionQualityUpdategetConnectionQuality()when connection quality changed.livekit.ConnectionQualityUpdate connection_quality = 12;booleanhasStreamStateUpdate()when streamed tracks state changed, used to notify when any of the streams were paused due to congestion.livekit.StreamStateUpdate stream_state_update = 13;LivekitRtc.StreamStateUpdategetStreamStateUpdate()when streamed tracks state changed, used to notify when any of the streams were paused due to congestion.livekit.StreamStateUpdate stream_state_update = 13;booleanhasSubscribedQualityUpdate()when max subscribe quality changed, used by dynamic broadcasting to disable unused layers.livekit.SubscribedQualityUpdate subscribed_quality_update = 14;LivekitRtc.SubscribedQualityUpdategetSubscribedQualityUpdate()when max subscribe quality changed, used by dynamic broadcasting to disable unused layers.livekit.SubscribedQualityUpdate subscribed_quality_update = 14;booleanhasSubscriptionPermissionUpdate()when subscription permission changed.livekit.SubscriptionPermissionUpdate subscription_permission_update = 15;LivekitRtc.SubscriptionPermissionUpdategetSubscriptionPermissionUpdate()when subscription permission changed.livekit.SubscriptionPermissionUpdate subscription_permission_update = 15;booleanhasRefreshToken()update the token the client was using, to prevent an active client from using an expired tokenstring refresh_token = 16;StringgetRefreshToken()update the token the client was using, to prevent an active client from using an expired tokenstring refresh_token = 16;ByteStringgetRefreshTokenBytes()update the token the client was using, to prevent an active client from using an expired tokenstring refresh_token = 16;booleanhasTrackUnpublished()server initiated track unpublish.livekit.TrackUnpublishedResponse track_unpublished = 17;LivekitRtc.TrackUnpublishedResponsegetTrackUnpublished()server initiated track unpublish.livekit.TrackUnpublishedResponse track_unpublished = 17;booleanhasPong()respond to pingint64 pong = 18;longgetPong()respond to pingint64 pong = 18;booleanhasReconnect()sent when client reconnects.livekit.ReconnectResponse reconnect = 19;LivekitRtc.ReconnectResponsegetReconnect()sent when client reconnects.livekit.ReconnectResponse reconnect = 19;booleanhasPongResp()respond to Ping.livekit.Pong pong_resp = 20;LivekitRtc.PonggetPongResp()respond to Ping.livekit.Pong pong_resp = 20;booleanhasSubscriptionResponse()Subscription response, client should not expect any media from this subscription if it fails.livekit.SubscriptionResponse subscription_response = 21;LivekitRtc.SubscriptionResponsegetSubscriptionResponse()Subscription response, client should not expect any media from this subscription if it fails.livekit.SubscriptionResponse subscription_response = 21;booleanhasRequestResponse()Response relating to user inititated requests that carry a `request_id`.livekit.RequestResponse request_response = 22;LivekitRtc.RequestResponsegetRequestResponse()Response relating to user inititated requests that carry a `request_id`.livekit.RequestResponse request_response = 22;booleanhasTrackSubscribed()notify to the publisher when a published track has been subscribed for the first time.livekit.TrackSubscribed track_subscribed = 23;LivekitRtc.TrackSubscribedgetTrackSubscribed()notify to the publisher when a published track has been subscribed for the first time.livekit.TrackSubscribed track_subscribed = 23;booleanhasRoomMoved()notify to the participant when they have been moved to a new room.livekit.RoomMovedResponse room_moved = 24;LivekitRtc.RoomMovedResponsegetRoomMoved()notify to the participant when they have been moved to a new room.livekit.RoomMovedResponse room_moved = 24;booleanhasMediaSectionsRequirement()notify number of required media sections to satisfy subscribed tracks.livekit.MediaSectionsRequirement media_sections_requirement = 25;LivekitRtc.MediaSectionsRequirementgetMediaSectionsRequirement()notify number of required media sections to satisfy subscribed tracks.livekit.MediaSectionsRequirement media_sections_requirement = 25;booleanhasSubscribedAudioCodecUpdate()when audio subscription changes, used to enable simulcasting of audio codecs based on subscriptions.livekit.SubscribedAudioCodecUpdate subscribed_audio_codec_update = 26;LivekitRtc.SubscribedAudioCodecUpdategetSubscribedAudioCodecUpdate()when audio subscription changes, used to enable simulcasting of audio codecs based on subscriptions.livekit.SubscribedAudioCodecUpdate subscribed_audio_codec_update = 26;static LivekitRtc.SignalResponseparseFrom(ByteBuffer data)static LivekitRtc.SignalResponseparseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)static LivekitRtc.SignalResponseparseFrom(ByteString data)static LivekitRtc.SignalResponseparseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)static LivekitRtc.SignalResponseparseFrom(Array<byte> data)static LivekitRtc.SignalResponseparseFrom(Array<byte> data, ExtensionRegistryLite extensionRegistry)static LivekitRtc.SignalResponseparseFrom(InputStream input)static LivekitRtc.SignalResponseparseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)static LivekitRtc.SignalResponseparseDelimitedFrom(InputStream input)static LivekitRtc.SignalResponseparseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)static LivekitRtc.SignalResponseparseFrom(CodedInputStream input)static LivekitRtc.SignalResponseparseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)static LivekitRtc.SignalResponse.BuildernewBuilder()static LivekitRtc.SignalResponse.BuildernewBuilder(LivekitRtc.SignalResponse prototype)static LivekitRtc.SignalResponsegetDefaultInstance()static Parser<LivekitRtc.SignalResponse>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
-
getMessageCase
LivekitRtc.SignalResponse.MessageCase getMessageCase()
-
hasJoin
boolean hasJoin()
sent when join is accepted.livekit.JoinResponse join = 1;
-
getJoin
LivekitRtc.JoinResponse getJoin()
sent when join is accepted.livekit.JoinResponse join = 1;
-
hasAnswer
boolean hasAnswer()
sent when server answers publisher.livekit.SessionDescription answer = 2;
-
getAnswer
LivekitRtc.SessionDescription getAnswer()
sent when server answers publisher.livekit.SessionDescription answer = 2;
-
hasOffer
boolean hasOffer()
sent when server is sending subscriber an offer.livekit.SessionDescription offer = 3;
-
getOffer
LivekitRtc.SessionDescription getOffer()
sent when server is sending subscriber an offer.livekit.SessionDescription offer = 3;
-
hasTrickle
boolean hasTrickle()
sent when an ICE candidate is available.livekit.TrickleRequest trickle = 4;
-
getTrickle
LivekitRtc.TrickleRequest getTrickle()
sent when an ICE candidate is available.livekit.TrickleRequest trickle = 4;
-
hasUpdate
boolean hasUpdate()
sent when participants in the room has changed.livekit.ParticipantUpdate update = 5;
-
getUpdate
LivekitRtc.ParticipantUpdate getUpdate()
sent when participants in the room has changed.livekit.ParticipantUpdate update = 5;
-
hasTrackPublished
boolean hasTrackPublished()
sent to the participant when their track has been published.livekit.TrackPublishedResponse track_published = 6;
-
getTrackPublished
LivekitRtc.TrackPublishedResponse getTrackPublished()
sent to the participant when their track has been published.livekit.TrackPublishedResponse track_published = 6;
-
hasLeave
boolean hasLeave()
Immediately terminate session.livekit.LeaveRequest leave = 8;
-
getLeave
LivekitRtc.LeaveRequest getLeave()
Immediately terminate session.livekit.LeaveRequest leave = 8;
-
hasMute
boolean hasMute()
server initiated mute.livekit.MuteTrackRequest mute = 9;
-
getMute
LivekitRtc.MuteTrackRequest getMute()
server initiated mute.livekit.MuteTrackRequest mute = 9;
-
hasSpeakersChanged
boolean hasSpeakersChanged()
indicates changes to speaker status, including when they've gone to not speaking.livekit.SpeakersChanged speakers_changed = 10;
-
getSpeakersChanged
LivekitRtc.SpeakersChanged getSpeakersChanged()
indicates changes to speaker status, including when they've gone to not speaking.livekit.SpeakersChanged speakers_changed = 10;
-
hasRoomUpdate
boolean hasRoomUpdate()
sent when metadata of the room has changed.livekit.RoomUpdate room_update = 11;
-
getRoomUpdate
LivekitRtc.RoomUpdate getRoomUpdate()
sent when metadata of the room has changed.livekit.RoomUpdate room_update = 11;
-
hasConnectionQuality
boolean hasConnectionQuality()
when connection quality changed.livekit.ConnectionQualityUpdate connection_quality = 12;
-
getConnectionQuality
LivekitRtc.ConnectionQualityUpdate getConnectionQuality()
when connection quality changed.livekit.ConnectionQualityUpdate connection_quality = 12;
-
hasStreamStateUpdate
boolean hasStreamStateUpdate()
when streamed tracks state changed, used to notify when any of the streams were paused due to congestion.livekit.StreamStateUpdate stream_state_update = 13;
-
getStreamStateUpdate
LivekitRtc.StreamStateUpdate getStreamStateUpdate()
when streamed tracks state changed, used to notify when any of the streams were paused due to congestion.livekit.StreamStateUpdate stream_state_update = 13;
-
hasSubscribedQualityUpdate
boolean hasSubscribedQualityUpdate()
when max subscribe quality changed, used by dynamic broadcasting to disable unused layers.livekit.SubscribedQualityUpdate subscribed_quality_update = 14;
-
getSubscribedQualityUpdate
LivekitRtc.SubscribedQualityUpdate getSubscribedQualityUpdate()
when max subscribe quality changed, used by dynamic broadcasting to disable unused layers.livekit.SubscribedQualityUpdate subscribed_quality_update = 14;
-
hasSubscriptionPermissionUpdate
boolean hasSubscriptionPermissionUpdate()
when subscription permission changed.livekit.SubscriptionPermissionUpdate subscription_permission_update = 15;
-
getSubscriptionPermissionUpdate
LivekitRtc.SubscriptionPermissionUpdate getSubscriptionPermissionUpdate()
when subscription permission changed.livekit.SubscriptionPermissionUpdate subscription_permission_update = 15;
-
hasRefreshToken
boolean hasRefreshToken()
update the token the client was using, to prevent an active client from using an expired tokenstring refresh_token = 16;
-
getRefreshToken
String getRefreshToken()
update the token the client was using, to prevent an active client from using an expired tokenstring refresh_token = 16;
-
getRefreshTokenBytes
ByteString getRefreshTokenBytes()
update the token the client was using, to prevent an active client from using an expired tokenstring refresh_token = 16;
-
hasTrackUnpublished
boolean hasTrackUnpublished()
server initiated track unpublish.livekit.TrackUnpublishedResponse track_unpublished = 17;
-
getTrackUnpublished
LivekitRtc.TrackUnpublishedResponse getTrackUnpublished()
server initiated track unpublish.livekit.TrackUnpublishedResponse track_unpublished = 17;
-
hasPong
boolean hasPong()
respond to pingint64 pong = 18;
-
getPong
long getPong()
respond to pingint64 pong = 18;
-
hasReconnect
boolean hasReconnect()
sent when client reconnects.livekit.ReconnectResponse reconnect = 19;
-
getReconnect
LivekitRtc.ReconnectResponse getReconnect()
sent when client reconnects.livekit.ReconnectResponse reconnect = 19;
-
hasPongResp
boolean hasPongResp()
respond to Ping.livekit.Pong pong_resp = 20;
-
getPongResp
LivekitRtc.Pong getPongResp()
respond to Ping.livekit.Pong pong_resp = 20;
-
hasSubscriptionResponse
boolean hasSubscriptionResponse()
Subscription response, client should not expect any media from this subscription if it fails.livekit.SubscriptionResponse subscription_response = 21;
-
getSubscriptionResponse
LivekitRtc.SubscriptionResponse getSubscriptionResponse()
Subscription response, client should not expect any media from this subscription if it fails.livekit.SubscriptionResponse subscription_response = 21;
-
hasRequestResponse
boolean hasRequestResponse()
Response relating to user inititated requests that carry a `request_id`.livekit.RequestResponse request_response = 22;
-
getRequestResponse
LivekitRtc.RequestResponse getRequestResponse()
Response relating to user inititated requests that carry a `request_id`.livekit.RequestResponse request_response = 22;
-
hasTrackSubscribed
boolean hasTrackSubscribed()
notify to the publisher when a published track has been subscribed for the first time.livekit.TrackSubscribed track_subscribed = 23;
-
getTrackSubscribed
LivekitRtc.TrackSubscribed getTrackSubscribed()
notify to the publisher when a published track has been subscribed for the first time.livekit.TrackSubscribed track_subscribed = 23;
-
hasRoomMoved
boolean hasRoomMoved()
notify to the participant when they have been moved to a new room.livekit.RoomMovedResponse room_moved = 24;
-
getRoomMoved
LivekitRtc.RoomMovedResponse getRoomMoved()
notify to the participant when they have been moved to a new room.livekit.RoomMovedResponse room_moved = 24;
-
hasMediaSectionsRequirement
boolean hasMediaSectionsRequirement()
notify number of required media sections to satisfy subscribed tracks.livekit.MediaSectionsRequirement media_sections_requirement = 25;
-
getMediaSectionsRequirement
LivekitRtc.MediaSectionsRequirement getMediaSectionsRequirement()
notify number of required media sections to satisfy subscribed tracks.livekit.MediaSectionsRequirement media_sections_requirement = 25;
-
hasSubscribedAudioCodecUpdate
boolean hasSubscribedAudioCodecUpdate()
when audio subscription changes, used to enable simulcasting of audio codecs based on subscriptions.livekit.SubscribedAudioCodecUpdate subscribed_audio_codec_update = 26;
-
getSubscribedAudioCodecUpdate
LivekitRtc.SubscribedAudioCodecUpdate getSubscribedAudioCodecUpdate()
when audio subscription changes, used to enable simulcasting of audio codecs based on subscriptions.livekit.SubscribedAudioCodecUpdate subscribed_audio_codec_update = 26;
-
parseFrom
static LivekitRtc.SignalResponse parseFrom(ByteBuffer data)
-
parseFrom
static LivekitRtc.SignalResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
-
parseFrom
static LivekitRtc.SignalResponse parseFrom(ByteString data)
-
parseFrom
static LivekitRtc.SignalResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
-
parseFrom
static LivekitRtc.SignalResponse parseFrom(Array<byte> data)
-
parseFrom
static LivekitRtc.SignalResponse parseFrom(Array<byte> data, ExtensionRegistryLite extensionRegistry)
-
parseFrom
static LivekitRtc.SignalResponse parseFrom(InputStream input)
-
parseFrom
static LivekitRtc.SignalResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
-
parseDelimitedFrom
static LivekitRtc.SignalResponse parseDelimitedFrom(InputStream input)
-
parseDelimitedFrom
static LivekitRtc.SignalResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
-
parseFrom
static LivekitRtc.SignalResponse parseFrom(CodedInputStream input)
-
parseFrom
static LivekitRtc.SignalResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
-
newBuilder
static LivekitRtc.SignalResponse.Builder newBuilder()
-
newBuilder
static LivekitRtc.SignalResponse.Builder newBuilder(LivekitRtc.SignalResponse prototype)
-
getDefaultInstance
static LivekitRtc.SignalResponse getDefaultInstance()
-
parser
static Parser<LivekitRtc.SignalResponse> parser()
-
-
-
-