SignalResponse
extends Message
in package
Generated from protobuf message <code>livekit.SignalResponse</code>
Table of Contents
Properties
- $message : mixed
Methods
- __construct() : mixed
- Constructor.
- getAnswer() : SessionDescription|null
- sent when server answers publisher
- getConnectionQuality() : ConnectionQualityUpdate|null
- when connection quality changed
- getDataTrackSubscriberHandles() : DataTrackSubscriberHandles|null
- Sent to data track subscribers to provide mapping from track SIDs to handles.
- getJoin() : JoinResponse|null
- sent when join is accepted
- getLeave() : LeaveRequest|null
- Immediately terminate session
- getMediaSectionsRequirement() : MediaSectionsRequirement|null
- notify number of required media sections to satisfy subscribed tracks
- getMessage() : string
- getMute() : MuteTrackRequest|null
- server initiated mute
- getOffer() : SessionDescription|null
- sent when server is sending subscriber an offer
- getPong() : int|string
- respond to ping
- getPongResp() : Pong|null
- respond to Ping
- getPublishDataTrackResponse() : PublishDataTrackResponse|null
- Sent in response to `PublishDataTrackRequest`.
- getReconnect() : ReconnectResponse|null
- sent when client reconnects
- getRefreshToken() : string
- update the token the client was using, to prevent an active client from using an expired token
- getRequestResponse() : RequestResponse|null
- Response relating to user inititated requests that carry a `request_id`
- getRoomMoved() : RoomMovedResponse|null
- notify to the participant when they have been moved to a new room
- getRoomUpdate() : RoomUpdate|null
- sent when metadata of the room has changed
- getSpeakersChanged() : SpeakersChanged|null
- indicates changes to speaker status, including when they've gone to not speaking
- getStreamStateUpdate() : StreamStateUpdate|null
- when streamed tracks state changed, used to notify when any of the streams were paused due to congestion
- getSubscribedAudioCodecUpdate() : SubscribedAudioCodecUpdate|null
- when audio subscription changes, used to enable simulcasting of audio codecs based on subscriptions
- getSubscribedQualityUpdate() : SubscribedQualityUpdate|null
- when max subscribe quality changed, used by dynamic broadcasting to disable unused layers
- getSubscriptionPermissionUpdate() : SubscriptionPermissionUpdate|null
- when subscription permission changed
- getSubscriptionResponse() : SubscriptionResponse|null
- Subscription response, client should not expect any media from this subscription if it fails
- getTrackPublished() : TrackPublishedResponse|null
- sent to the participant when their track has been published
- getTrackSubscribed() : TrackSubscribed|null
- notify to the publisher when a published track has been subscribed for the first time
- getTrackUnpublished() : TrackUnpublishedResponse|null
- server initiated track unpublish
- getTrickle() : TrickleRequest|null
- sent when an ICE candidate is available
- getUnpublishDataTrackResponse() : UnpublishDataTrackResponse|null
- Sent in response to `UnpublishDataTrackRequest` or SFU-initiated unpublish.
- getUpdate() : ParticipantUpdate|null
- sent when participants in the room has changed
- hasAnswer() : mixed
- hasConnectionQuality() : mixed
- hasDataTrackSubscriberHandles() : mixed
- hasJoin() : mixed
- hasLeave() : mixed
- hasMediaSectionsRequirement() : mixed
- hasMute() : mixed
- hasOffer() : mixed
- hasPong() : mixed
- hasPongResp() : mixed
- hasPublishDataTrackResponse() : mixed
- hasReconnect() : mixed
- hasRefreshToken() : mixed
- hasRequestResponse() : mixed
- hasRoomMoved() : mixed
- hasRoomUpdate() : mixed
- hasSpeakersChanged() : mixed
- hasStreamStateUpdate() : mixed
- hasSubscribedAudioCodecUpdate() : mixed
- hasSubscribedQualityUpdate() : mixed
- hasSubscriptionPermissionUpdate() : mixed
- hasSubscriptionResponse() : mixed
- hasTrackPublished() : mixed
- hasTrackSubscribed() : mixed
- hasTrackUnpublished() : mixed
- hasTrickle() : mixed
- hasUnpublishDataTrackResponse() : mixed
- hasUpdate() : mixed
- setAnswer() : $this
- sent when server answers publisher
- setConnectionQuality() : $this
- when connection quality changed
- setDataTrackSubscriberHandles() : $this
- Sent to data track subscribers to provide mapping from track SIDs to handles.
- setJoin() : $this
- sent when join is accepted
- setLeave() : $this
- Immediately terminate session
- setMediaSectionsRequirement() : $this
- notify number of required media sections to satisfy subscribed tracks
- setMute() : $this
- server initiated mute
- setOffer() : $this
- sent when server is sending subscriber an offer
- setPong() : $this
- respond to ping
- setPongResp() : $this
- respond to Ping
- setPublishDataTrackResponse() : $this
- Sent in response to `PublishDataTrackRequest`.
- setReconnect() : $this
- sent when client reconnects
- setRefreshToken() : $this
- update the token the client was using, to prevent an active client from using an expired token
- setRequestResponse() : $this
- Response relating to user inititated requests that carry a `request_id`
- setRoomMoved() : $this
- notify to the participant when they have been moved to a new room
- setRoomUpdate() : $this
- sent when metadata of the room has changed
- setSpeakersChanged() : $this
- indicates changes to speaker status, including when they've gone to not speaking
- setStreamStateUpdate() : $this
- when streamed tracks state changed, used to notify when any of the streams were paused due to congestion
- setSubscribedAudioCodecUpdate() : $this
- when audio subscription changes, used to enable simulcasting of audio codecs based on subscriptions
- setSubscribedQualityUpdate() : $this
- when max subscribe quality changed, used by dynamic broadcasting to disable unused layers
- setSubscriptionPermissionUpdate() : $this
- when subscription permission changed
- setSubscriptionResponse() : $this
- Subscription response, client should not expect any media from this subscription if it fails
- setTrackPublished() : $this
- sent to the participant when their track has been published
- setTrackSubscribed() : $this
- notify to the publisher when a published track has been subscribed for the first time
- setTrackUnpublished() : $this
- server initiated track unpublish
- setTrickle() : $this
- sent when an ICE candidate is available
- setUnpublishDataTrackResponse() : $this
- Sent in response to `UnpublishDataTrackRequest` or SFU-initiated unpublish.
- setUpdate() : $this
- sent when participants in the room has changed
Properties
$message
protected
mixed
$message
Methods
__construct()
Constructor.
public
__construct([array<string|int, mixed> $data = null ]) : mixed
Parameters
- $data : array<string|int, mixed> = null
-
{ Optional. Data for populating the Message object.
@type \Livekit\JoinResponse $join sent when join is accepted @type \Livekit\SessionDescription $answer sent when server answers publisher @type \Livekit\SessionDescription $offer sent when server is sending subscriber an offer @type \Livekit\TrickleRequest $trickle sent when an ICE candidate is available @type \Livekit\ParticipantUpdate $update sent when participants in the room has changed @type \Livekit\TrackPublishedResponse $track_published sent to the participant when their track has been published @type \Livekit\LeaveRequest $leave Immediately terminate session @type \Livekit\MuteTrackRequest $mute server initiated mute @type \Livekit\SpeakersChanged $speakers_changed indicates changes to speaker status, including when they've gone to not speaking @type \Livekit\RoomUpdate $room_update sent when metadata of the room has changed @type \Livekit\ConnectionQualityUpdate $connection_quality when connection quality changed @type \Livekit\StreamStateUpdate $stream_state_update when streamed tracks state changed, used to notify when any of the streams were paused due to congestion @type \Livekit\SubscribedQualityUpdate $subscribed_quality_update when max subscribe quality changed, used by dynamic broadcasting to disable unused layers @type \Livekit\SubscriptionPermissionUpdate $subscription_permission_update when subscription permission changed @type string $refresh_token update the token the client was using, to prevent an active client from using an expired token @type \Livekit\TrackUnpublishedResponse $track_unpublished server initiated track unpublish @type int|string $pong respond to ping @type \Livekit\ReconnectResponse $reconnect sent when client reconnects @type \Livekit\Pong $pong_resp respond to Ping @type \Livekit\SubscriptionResponse $subscription_response Subscription response, client should not expect any media from this subscription if it fails @type \Livekit\RequestResponse $request_response Response relating to user inititated requests that carry a `request_id` @type \Livekit\TrackSubscribed $track_subscribed notify to the publisher when a published track has been subscribed for the first time @type \Livekit\RoomMovedResponse $room_moved notify to the participant when they have been moved to a new room @type \Livekit\MediaSectionsRequirement $media_sections_requirement notify number of required media sections to satisfy subscribed tracks @type \Livekit\SubscribedAudioCodecUpdate $subscribed_audio_codec_update when audio subscription changes, used to enable simulcasting of audio codecs based on subscriptions @type \Livekit\PublishDataTrackResponse $publish_data_track_response Sent in response to `PublishDataTrackRequest`. @type \Livekit\UnpublishDataTrackResponse $unpublish_data_track_response Sent in response to `UnpublishDataTrackRequest` or SFU-initiated unpublish. @type \Livekit\DataTrackSubscriberHandles $data_track_subscriber_handles Sent to data track subscribers to provide mapping from track SIDs to handles.}
getAnswer()
sent when server answers publisher
public
getAnswer() : SessionDescription|null
Generated from protobuf field .livekit.SessionDescription answer = 2;
Return values
SessionDescription|nullgetConnectionQuality()
when connection quality changed
public
getConnectionQuality() : ConnectionQualityUpdate|null
Generated from protobuf field .livekit.ConnectionQualityUpdate connection_quality = 12;
Return values
ConnectionQualityUpdate|nullgetDataTrackSubscriberHandles()
Sent to data track subscribers to provide mapping from track SIDs to handles.
public
getDataTrackSubscriberHandles() : DataTrackSubscriberHandles|null
Generated from protobuf field .livekit.DataTrackSubscriberHandles data_track_subscriber_handles = 29;
Return values
DataTrackSubscriberHandles|nullgetJoin()
sent when join is accepted
public
getJoin() : JoinResponse|null
Generated from protobuf field .livekit.JoinResponse join = 1;
Return values
JoinResponse|nullgetLeave()
Immediately terminate session
public
getLeave() : LeaveRequest|null
Generated from protobuf field .livekit.LeaveRequest leave = 8;
Return values
LeaveRequest|nullgetMediaSectionsRequirement()
notify number of required media sections to satisfy subscribed tracks
public
getMediaSectionsRequirement() : MediaSectionsRequirement|null
Generated from protobuf field .livekit.MediaSectionsRequirement media_sections_requirement = 25;
Return values
MediaSectionsRequirement|nullgetMessage()
public
getMessage() : string
Return values
stringgetMute()
server initiated mute
public
getMute() : MuteTrackRequest|null
Generated from protobuf field .livekit.MuteTrackRequest mute = 9;
Return values
MuteTrackRequest|nullgetOffer()
sent when server is sending subscriber an offer
public
getOffer() : SessionDescription|null
Generated from protobuf field .livekit.SessionDescription offer = 3;
Return values
SessionDescription|nullgetPong()
respond to ping
public
getPong() : int|string
Generated from protobuf field int64 pong = 18;
Return values
int|stringgetPongResp()
respond to Ping
public
getPongResp() : Pong|null
Generated from protobuf field .livekit.Pong pong_resp = 20;
Return values
Pong|nullgetPublishDataTrackResponse()
Sent in response to `PublishDataTrackRequest`.
public
getPublishDataTrackResponse() : PublishDataTrackResponse|null
Generated from protobuf field .livekit.PublishDataTrackResponse publish_data_track_response = 27;
Return values
PublishDataTrackResponse|nullgetReconnect()
sent when client reconnects
public
getReconnect() : ReconnectResponse|null
Generated from protobuf field .livekit.ReconnectResponse reconnect = 19;
Return values
ReconnectResponse|nullgetRefreshToken()
update the token the client was using, to prevent an active client from using an expired token
public
getRefreshToken() : string
Generated from protobuf field string refresh_token = 16;
Return values
stringgetRequestResponse()
Response relating to user inititated requests that carry a `request_id`
public
getRequestResponse() : RequestResponse|null
Generated from protobuf field .livekit.RequestResponse request_response = 22;
Return values
RequestResponse|nullgetRoomMoved()
notify to the participant when they have been moved to a new room
public
getRoomMoved() : RoomMovedResponse|null
Generated from protobuf field .livekit.RoomMovedResponse room_moved = 24;
Return values
RoomMovedResponse|nullgetRoomUpdate()
sent when metadata of the room has changed
public
getRoomUpdate() : RoomUpdate|null
Generated from protobuf field .livekit.RoomUpdate room_update = 11;
Return values
RoomUpdate|nullgetSpeakersChanged()
indicates changes to speaker status, including when they've gone to not speaking
public
getSpeakersChanged() : SpeakersChanged|null
Generated from protobuf field .livekit.SpeakersChanged speakers_changed = 10;
Return values
SpeakersChanged|nullgetStreamStateUpdate()
when streamed tracks state changed, used to notify when any of the streams were paused due to congestion
public
getStreamStateUpdate() : StreamStateUpdate|null
Generated from protobuf field .livekit.StreamStateUpdate stream_state_update = 13;
Return values
StreamStateUpdate|nullgetSubscribedAudioCodecUpdate()
when audio subscription changes, used to enable simulcasting of audio codecs based on subscriptions
public
getSubscribedAudioCodecUpdate() : SubscribedAudioCodecUpdate|null
Generated from protobuf field .livekit.SubscribedAudioCodecUpdate subscribed_audio_codec_update = 26;
Return values
SubscribedAudioCodecUpdate|nullgetSubscribedQualityUpdate()
when max subscribe quality changed, used by dynamic broadcasting to disable unused layers
public
getSubscribedQualityUpdate() : SubscribedQualityUpdate|null
Generated from protobuf field .livekit.SubscribedQualityUpdate subscribed_quality_update = 14;
Return values
SubscribedQualityUpdate|nullgetSubscriptionPermissionUpdate()
when subscription permission changed
public
getSubscriptionPermissionUpdate() : SubscriptionPermissionUpdate|null
Generated from protobuf field .livekit.SubscriptionPermissionUpdate subscription_permission_update = 15;
Return values
SubscriptionPermissionUpdate|nullgetSubscriptionResponse()
Subscription response, client should not expect any media from this subscription if it fails
public
getSubscriptionResponse() : SubscriptionResponse|null
Generated from protobuf field .livekit.SubscriptionResponse subscription_response = 21;
Return values
SubscriptionResponse|nullgetTrackPublished()
sent to the participant when their track has been published
public
getTrackPublished() : TrackPublishedResponse|null
Generated from protobuf field .livekit.TrackPublishedResponse track_published = 6;
Return values
TrackPublishedResponse|nullgetTrackSubscribed()
notify to the publisher when a published track has been subscribed for the first time
public
getTrackSubscribed() : TrackSubscribed|null
Generated from protobuf field .livekit.TrackSubscribed track_subscribed = 23;
Return values
TrackSubscribed|nullgetTrackUnpublished()
server initiated track unpublish
public
getTrackUnpublished() : TrackUnpublishedResponse|null
Generated from protobuf field .livekit.TrackUnpublishedResponse track_unpublished = 17;
Return values
TrackUnpublishedResponse|nullgetTrickle()
sent when an ICE candidate is available
public
getTrickle() : TrickleRequest|null
Generated from protobuf field .livekit.TrickleRequest trickle = 4;
Return values
TrickleRequest|nullgetUnpublishDataTrackResponse()
Sent in response to `UnpublishDataTrackRequest` or SFU-initiated unpublish.
public
getUnpublishDataTrackResponse() : UnpublishDataTrackResponse|null
Generated from protobuf field .livekit.UnpublishDataTrackResponse unpublish_data_track_response = 28;
Return values
UnpublishDataTrackResponse|nullgetUpdate()
sent when participants in the room has changed
public
getUpdate() : ParticipantUpdate|null
Generated from protobuf field .livekit.ParticipantUpdate update = 5;
Return values
ParticipantUpdate|nullhasAnswer()
public
hasAnswer() : mixed
hasConnectionQuality()
public
hasConnectionQuality() : mixed
hasDataTrackSubscriberHandles()
public
hasDataTrackSubscriberHandles() : mixed
hasJoin()
public
hasJoin() : mixed
hasLeave()
public
hasLeave() : mixed
hasMediaSectionsRequirement()
public
hasMediaSectionsRequirement() : mixed
hasMute()
public
hasMute() : mixed
hasOffer()
public
hasOffer() : mixed
hasPong()
public
hasPong() : mixed
hasPongResp()
public
hasPongResp() : mixed
hasPublishDataTrackResponse()
public
hasPublishDataTrackResponse() : mixed
hasReconnect()
public
hasReconnect() : mixed
hasRefreshToken()
public
hasRefreshToken() : mixed
hasRequestResponse()
public
hasRequestResponse() : mixed
hasRoomMoved()
public
hasRoomMoved() : mixed
hasRoomUpdate()
public
hasRoomUpdate() : mixed
hasSpeakersChanged()
public
hasSpeakersChanged() : mixed
hasStreamStateUpdate()
public
hasStreamStateUpdate() : mixed
hasSubscribedAudioCodecUpdate()
public
hasSubscribedAudioCodecUpdate() : mixed
hasSubscribedQualityUpdate()
public
hasSubscribedQualityUpdate() : mixed
hasSubscriptionPermissionUpdate()
public
hasSubscriptionPermissionUpdate() : mixed
hasSubscriptionResponse()
public
hasSubscriptionResponse() : mixed
hasTrackPublished()
public
hasTrackPublished() : mixed
hasTrackSubscribed()
public
hasTrackSubscribed() : mixed
hasTrackUnpublished()
public
hasTrackUnpublished() : mixed
hasTrickle()
public
hasTrickle() : mixed
hasUnpublishDataTrackResponse()
public
hasUnpublishDataTrackResponse() : mixed
hasUpdate()
public
hasUpdate() : mixed
setAnswer()
sent when server answers publisher
public
setAnswer(SessionDescription $var) : $this
Generated from protobuf field .livekit.SessionDescription answer = 2;
Parameters
- $var : SessionDescription
Return values
$thissetConnectionQuality()
when connection quality changed
public
setConnectionQuality(ConnectionQualityUpdate $var) : $this
Generated from protobuf field .livekit.ConnectionQualityUpdate connection_quality = 12;
Parameters
- $var : ConnectionQualityUpdate
Return values
$thissetDataTrackSubscriberHandles()
Sent to data track subscribers to provide mapping from track SIDs to handles.
public
setDataTrackSubscriberHandles(DataTrackSubscriberHandles $var) : $this
Generated from protobuf field .livekit.DataTrackSubscriberHandles data_track_subscriber_handles = 29;
Parameters
- $var : DataTrackSubscriberHandles
Return values
$thissetJoin()
sent when join is accepted
public
setJoin(JoinResponse $var) : $this
Generated from protobuf field .livekit.JoinResponse join = 1;
Parameters
- $var : JoinResponse
Return values
$thissetLeave()
Immediately terminate session
public
setLeave(LeaveRequest $var) : $this
Generated from protobuf field .livekit.LeaveRequest leave = 8;
Parameters
- $var : LeaveRequest
Return values
$thissetMediaSectionsRequirement()
notify number of required media sections to satisfy subscribed tracks
public
setMediaSectionsRequirement(MediaSectionsRequirement $var) : $this
Generated from protobuf field .livekit.MediaSectionsRequirement media_sections_requirement = 25;
Parameters
- $var : MediaSectionsRequirement
Return values
$thissetMute()
server initiated mute
public
setMute(MuteTrackRequest $var) : $this
Generated from protobuf field .livekit.MuteTrackRequest mute = 9;
Parameters
- $var : MuteTrackRequest
Return values
$thissetOffer()
sent when server is sending subscriber an offer
public
setOffer(SessionDescription $var) : $this
Generated from protobuf field .livekit.SessionDescription offer = 3;
Parameters
- $var : SessionDescription
Return values
$thissetPong()
respond to ping
public
setPong(int|string $var) : $this
Generated from protobuf field int64 pong = 18;
Parameters
- $var : int|string
Return values
$thissetPongResp()
respond to Ping
public
setPongResp(Pong $var) : $this
Generated from protobuf field .livekit.Pong pong_resp = 20;
Parameters
- $var : Pong
Return values
$thissetPublishDataTrackResponse()
Sent in response to `PublishDataTrackRequest`.
public
setPublishDataTrackResponse(PublishDataTrackResponse $var) : $this
Generated from protobuf field .livekit.PublishDataTrackResponse publish_data_track_response = 27;
Parameters
- $var : PublishDataTrackResponse
Return values
$thissetReconnect()
sent when client reconnects
public
setReconnect(ReconnectResponse $var) : $this
Generated from protobuf field .livekit.ReconnectResponse reconnect = 19;
Parameters
- $var : ReconnectResponse
Return values
$thissetRefreshToken()
update the token the client was using, to prevent an active client from using an expired token
public
setRefreshToken(string $var) : $this
Generated from protobuf field string refresh_token = 16;
Parameters
- $var : string
Return values
$thissetRequestResponse()
Response relating to user inititated requests that carry a `request_id`
public
setRequestResponse(RequestResponse $var) : $this
Generated from protobuf field .livekit.RequestResponse request_response = 22;
Parameters
- $var : RequestResponse
Return values
$thissetRoomMoved()
notify to the participant when they have been moved to a new room
public
setRoomMoved(RoomMovedResponse $var) : $this
Generated from protobuf field .livekit.RoomMovedResponse room_moved = 24;
Parameters
- $var : RoomMovedResponse
Return values
$thissetRoomUpdate()
sent when metadata of the room has changed
public
setRoomUpdate(RoomUpdate $var) : $this
Generated from protobuf field .livekit.RoomUpdate room_update = 11;
Parameters
- $var : RoomUpdate
Return values
$thissetSpeakersChanged()
indicates changes to speaker status, including when they've gone to not speaking
public
setSpeakersChanged(SpeakersChanged $var) : $this
Generated from protobuf field .livekit.SpeakersChanged speakers_changed = 10;
Parameters
- $var : SpeakersChanged
Return values
$thissetStreamStateUpdate()
when streamed tracks state changed, used to notify when any of the streams were paused due to congestion
public
setStreamStateUpdate(StreamStateUpdate $var) : $this
Generated from protobuf field .livekit.StreamStateUpdate stream_state_update = 13;
Parameters
- $var : StreamStateUpdate
Return values
$thissetSubscribedAudioCodecUpdate()
when audio subscription changes, used to enable simulcasting of audio codecs based on subscriptions
public
setSubscribedAudioCodecUpdate(SubscribedAudioCodecUpdate $var) : $this
Generated from protobuf field .livekit.SubscribedAudioCodecUpdate subscribed_audio_codec_update = 26;
Parameters
- $var : SubscribedAudioCodecUpdate
Return values
$thissetSubscribedQualityUpdate()
when max subscribe quality changed, used by dynamic broadcasting to disable unused layers
public
setSubscribedQualityUpdate(SubscribedQualityUpdate $var) : $this
Generated from protobuf field .livekit.SubscribedQualityUpdate subscribed_quality_update = 14;
Parameters
- $var : SubscribedQualityUpdate
Return values
$thissetSubscriptionPermissionUpdate()
when subscription permission changed
public
setSubscriptionPermissionUpdate(SubscriptionPermissionUpdate $var) : $this
Generated from protobuf field .livekit.SubscriptionPermissionUpdate subscription_permission_update = 15;
Parameters
- $var : SubscriptionPermissionUpdate
Return values
$thissetSubscriptionResponse()
Subscription response, client should not expect any media from this subscription if it fails
public
setSubscriptionResponse(SubscriptionResponse $var) : $this
Generated from protobuf field .livekit.SubscriptionResponse subscription_response = 21;
Parameters
- $var : SubscriptionResponse
Return values
$thissetTrackPublished()
sent to the participant when their track has been published
public
setTrackPublished(TrackPublishedResponse $var) : $this
Generated from protobuf field .livekit.TrackPublishedResponse track_published = 6;
Parameters
- $var : TrackPublishedResponse
Return values
$thissetTrackSubscribed()
notify to the publisher when a published track has been subscribed for the first time
public
setTrackSubscribed(TrackSubscribed $var) : $this
Generated from protobuf field .livekit.TrackSubscribed track_subscribed = 23;
Parameters
- $var : TrackSubscribed
Return values
$thissetTrackUnpublished()
server initiated track unpublish
public
setTrackUnpublished(TrackUnpublishedResponse $var) : $this
Generated from protobuf field .livekit.TrackUnpublishedResponse track_unpublished = 17;
Parameters
- $var : TrackUnpublishedResponse
Return values
$thissetTrickle()
sent when an ICE candidate is available
public
setTrickle(TrickleRequest $var) : $this
Generated from protobuf field .livekit.TrickleRequest trickle = 4;
Parameters
- $var : TrickleRequest
Return values
$thissetUnpublishDataTrackResponse()
Sent in response to `UnpublishDataTrackRequest` or SFU-initiated unpublish.
public
setUnpublishDataTrackResponse(UnpublishDataTrackResponse $var) : $this
Generated from protobuf field .livekit.UnpublishDataTrackResponse unpublish_data_track_response = 28;
Parameters
- $var : UnpublishDataTrackResponse
Return values
$thissetUpdate()
sent when participants in the room has changed
public
setUpdate(ParticipantUpdate $var) : $this
Generated from protobuf field .livekit.ParticipantUpdate update = 5;
Parameters
- $var : ParticipantUpdate