Documentation
¶
Index ¶
- Constants
- Variables
- func WriteError(resp http.ResponseWriter, err error)
- type ActiveSpeakerUpdate
- func (*ActiveSpeakerUpdate) Descriptor() ([]byte, []int)deprecated
- func (x *ActiveSpeakerUpdate) GetSpeakers() []*SpeakerInfo
- func (*ActiveSpeakerUpdate) ProtoMessage()
- func (x *ActiveSpeakerUpdate) ProtoReflect() protoreflect.Message
- func (x *ActiveSpeakerUpdate) Reset()
- func (x *ActiveSpeakerUpdate) String() string
- type AddOutputRequest
- func (*AddOutputRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddOutputRequest) GetRecordingId() string
- func (x *AddOutputRequest) GetRtmpUrl() string
- func (*AddOutputRequest) ProtoMessage()
- func (x *AddOutputRequest) ProtoReflect() protoreflect.Message
- func (x *AddOutputRequest) Reset()
- func (x *AddOutputRequest) String() string
- type AddTrackRequest
- func (*AddTrackRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddTrackRequest) GetCid() string
- func (x *AddTrackRequest) GetDisableDtx() bool
- func (x *AddTrackRequest) GetHeight() uint32
- func (x *AddTrackRequest) GetLayers() []*VideoLayer
- func (x *AddTrackRequest) GetMuted() bool
- func (x *AddTrackRequest) GetName() string
- func (x *AddTrackRequest) GetSource() TrackSource
- func (x *AddTrackRequest) GetType() TrackType
- func (x *AddTrackRequest) GetWidth() uint32
- func (*AddTrackRequest) ProtoMessage()
- func (x *AddTrackRequest) ProtoReflect() protoreflect.Message
- func (x *AddTrackRequest) Reset()
- func (x *AddTrackRequest) String() string
- type BroadcastReply
- type BroadcastRequest
- func (*BroadcastRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BroadcastRequest) GetContent() string
- func (x *BroadcastRequest) GetData() []byte
- func (x *BroadcastRequest) GetIdentity() string
- func (x *BroadcastRequest) GetProto() *Proto
- func (x *BroadcastRequest) GetRoom() string
- func (*BroadcastRequest) ProtoMessage()
- func (x *BroadcastRequest) ProtoReflect() protoreflect.Message
- func (x *BroadcastRequest) Reset()
- func (x *BroadcastRequest) String() string
- type BroadcastRoomReply
- type BroadcastRoomRequest
- func (*BroadcastRoomRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BroadcastRoomRequest) GetContent() string
- func (x *BroadcastRoomRequest) GetData() []byte
- func (x *BroadcastRoomRequest) GetIdentity() string
- func (x *BroadcastRoomRequest) GetProto() *Proto
- func (x *BroadcastRoomRequest) GetRoom() string
- func (x *BroadcastRoomRequest) GetType() string
- func (*BroadcastRoomRequest) ProtoMessage()
- func (x *BroadcastRoomRequest) ProtoReflect() protoreflect.Message
- func (x *BroadcastRoomRequest) Reset()
- func (x *BroadcastRoomRequest) String() string
- type ClientInfo
- func (*ClientInfo) Descriptor() ([]byte, []int)deprecated
- func (x *ClientInfo) GetAddress() string
- func (x *ClientInfo) GetBrowser() string
- func (x *ClientInfo) GetBrowserVersion() string
- func (x *ClientInfo) GetDeviceModel() string
- func (x *ClientInfo) GetOs() string
- func (x *ClientInfo) GetOsVersion() string
- func (x *ClientInfo) GetProtocol() int32
- func (x *ClientInfo) GetSdk() ClientInfo_SDK
- func (x *ClientInfo) GetVersion() string
- func (*ClientInfo) ProtoMessage()
- func (x *ClientInfo) ProtoReflect() protoreflect.Message
- func (x *ClientInfo) Reset()
- func (x *ClientInfo) String() string
- type ClientInfo_SDK
- func (ClientInfo_SDK) Descriptor() protoreflect.EnumDescriptor
- func (x ClientInfo_SDK) Enum() *ClientInfo_SDK
- func (ClientInfo_SDK) EnumDescriptor() ([]byte, []int)deprecated
- func (x ClientInfo_SDK) Number() protoreflect.EnumNumber
- func (x ClientInfo_SDK) String() string
- func (ClientInfo_SDK) Type() protoreflect.EnumType
- type Codec
- type ConnectionQuality
- func (ConnectionQuality) Descriptor() protoreflect.EnumDescriptor
- func (x ConnectionQuality) Enum() *ConnectionQuality
- func (ConnectionQuality) EnumDescriptor() ([]byte, []int)deprecated
- func (x ConnectionQuality) Number() protoreflect.EnumNumber
- func (x ConnectionQuality) String() string
- func (ConnectionQuality) Type() protoreflect.EnumType
- type ConnectionQualityInfo
- func (*ConnectionQualityInfo) Descriptor() ([]byte, []int)deprecated
- func (x *ConnectionQualityInfo) GetParticipantSid() string
- func (x *ConnectionQualityInfo) GetQuality() ConnectionQuality
- func (x *ConnectionQualityInfo) GetScore() float32
- func (*ConnectionQualityInfo) ProtoMessage()
- func (x *ConnectionQualityInfo) ProtoReflect() protoreflect.Message
- func (x *ConnectionQualityInfo) Reset()
- func (x *ConnectionQualityInfo) String() string
- type ConnectionQualityUpdate
- func (*ConnectionQualityUpdate) Descriptor() ([]byte, []int)deprecated
- func (x *ConnectionQualityUpdate) GetUpdates() []*ConnectionQualityInfo
- func (*ConnectionQualityUpdate) ProtoMessage()
- func (x *ConnectionQualityUpdate) ProtoReflect() protoreflect.Message
- func (x *ConnectionQualityUpdate) Reset()
- func (x *ConnectionQualityUpdate) String() string
- type CreateRoomRequest
- func (*CreateRoomRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateRoomRequest) GetEmptyTimeout() uint32
- func (x *CreateRoomRequest) GetMaxParticipants() uint32
- func (x *CreateRoomRequest) GetMetadata() string
- func (x *CreateRoomRequest) GetName() string
- func (x *CreateRoomRequest) GetNodeId() string
- func (*CreateRoomRequest) ProtoMessage()
- func (x *CreateRoomRequest) ProtoReflect() protoreflect.Message
- func (x *CreateRoomRequest) Reset()
- func (x *CreateRoomRequest) String() string
- type DataPacket
- func (*DataPacket) Descriptor() ([]byte, []int)deprecated
- func (x *DataPacket) GetKind() DataPacket_Kind
- func (x *DataPacket) GetSpeaker() *ActiveSpeakerUpdate
- func (x *DataPacket) GetUser() *UserPacket
- func (m *DataPacket) GetValue() isDataPacket_Value
- func (*DataPacket) ProtoMessage()
- func (x *DataPacket) ProtoReflect() protoreflect.Message
- func (x *DataPacket) Reset()
- func (x *DataPacket) String() string
- type DataPacket_Kind
- func (DataPacket_Kind) Descriptor() protoreflect.EnumDescriptor
- func (x DataPacket_Kind) Enum() *DataPacket_Kind
- func (DataPacket_Kind) EnumDescriptor() ([]byte, []int)deprecated
- func (x DataPacket_Kind) Number() protoreflect.EnumNumber
- func (x DataPacket_Kind) String() string
- func (DataPacket_Kind) Type() protoreflect.EnumType
- type DataPacket_Speaker
- type DataPacket_User
- type DeleteRoomRequest
- type DeleteRoomResponse
- type EndRecordingRequest
- func (*EndRecordingRequest) Descriptor() ([]byte, []int)deprecated
- func (x *EndRecordingRequest) GetRecordingId() string
- func (*EndRecordingRequest) ProtoMessage()
- func (x *EndRecordingRequest) ProtoReflect() protoreflect.Message
- func (x *EndRecordingRequest) Reset()
- func (x *EndRecordingRequest) String() string
- type EndSession
- type FileResult
- func (*FileResult) Descriptor() ([]byte, []int)deprecated
- func (x *FileResult) GetDownloadUrl() string
- func (x *FileResult) GetDuration() int64
- func (*FileResult) ProtoMessage()
- func (x *FileResult) ProtoReflect() protoreflect.Message
- func (x *FileResult) Reset()
- func (x *FileResult) String() string
- type From
- func (*From) Descriptor() ([]byte, []int)deprecated
- func (x *From) GetAvatar() string
- func (x *From) GetId() uint64
- func (x *From) GetIdentity() string
- func (x *From) GetName() string
- func (*From) ProtoMessage()
- func (x *From) ProtoReflect() protoreflect.Message
- func (x *From) Reset()
- func (x *From) String() string
- type HTTPClient
- type ICEServer
- func (*ICEServer) Descriptor() ([]byte, []int)deprecated
- func (x *ICEServer) GetCredential() string
- func (x *ICEServer) GetUrls() []string
- func (x *ICEServer) GetUsername() string
- func (*ICEServer) ProtoMessage()
- func (x *ICEServer) ProtoReflect() protoreflect.Message
- func (x *ICEServer) Reset()
- func (x *ICEServer) String() string
- type JoinResponse
- func (*JoinResponse) Descriptor() ([]byte, []int)deprecated
- func (x *JoinResponse) GetAlternativeUrl() string
- func (x *JoinResponse) GetIceServers() []*ICEServer
- func (x *JoinResponse) GetOtherParticipants() []*ParticipantInfo
- func (x *JoinResponse) GetParticipant() *ParticipantInfo
- func (x *JoinResponse) GetRoom() *Room
- func (x *JoinResponse) GetServerVersion() string
- func (x *JoinResponse) GetSubscriberPrimary() bool
- func (*JoinResponse) ProtoMessage()
- func (x *JoinResponse) ProtoReflect() protoreflect.Message
- func (x *JoinResponse) Reset()
- func (x *JoinResponse) String() string
- type JoinRoom
- func (*JoinRoom) Descriptor() ([]byte, []int)deprecated
- func (x *JoinRoom) GetIdentity() string
- func (x *JoinRoom) GetName() string
- func (x *JoinRoom) GetRoomId() string
- func (*JoinRoom) ProtoMessage()
- func (x *JoinRoom) ProtoReflect() protoreflect.Message
- func (x *JoinRoom) Reset()
- func (x *JoinRoom) String() string
- type KeepAlive
- type LeaveRequest
- type LeaveRoom
- type ListParticipantsRequest
- func (*ListParticipantsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListParticipantsRequest) GetRoom() string
- func (*ListParticipantsRequest) ProtoMessage()
- func (x *ListParticipantsRequest) ProtoReflect() protoreflect.Message
- func (x *ListParticipantsRequest) Reset()
- func (x *ListParticipantsRequest) String() string
- type ListParticipantsResponse
- func (*ListParticipantsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListParticipantsResponse) GetParticipants() []*ParticipantInfo
- func (*ListParticipantsResponse) ProtoMessage()
- func (x *ListParticipantsResponse) ProtoReflect() protoreflect.Message
- func (x *ListParticipantsResponse) Reset()
- func (x *ListParticipantsResponse) String() string
- type ListRoomsRequest
- type ListRoomsResponse
- type MESSAGE_TYPE
- func (MESSAGE_TYPE) Descriptor() protoreflect.EnumDescriptor
- func (x MESSAGE_TYPE) Enum() *MESSAGE_TYPE
- func (MESSAGE_TYPE) EnumDescriptor() ([]byte, []int)deprecated
- func (x MESSAGE_TYPE) Number() protoreflect.EnumNumber
- func (x MESSAGE_TYPE) String() string
- func (MESSAGE_TYPE) Type() protoreflect.EnumType
- type MuteRoomTrackRequest
- func (*MuteRoomTrackRequest) Descriptor() ([]byte, []int)deprecated
- func (x *MuteRoomTrackRequest) GetIdentity() string
- func (x *MuteRoomTrackRequest) GetMuted() bool
- func (x *MuteRoomTrackRequest) GetRoom() string
- func (x *MuteRoomTrackRequest) GetTrackSid() string
- func (*MuteRoomTrackRequest) ProtoMessage()
- func (x *MuteRoomTrackRequest) ProtoReflect() protoreflect.Message
- func (x *MuteRoomTrackRequest) Reset()
- func (x *MuteRoomTrackRequest) String() string
- type MuteRoomTrackResponse
- func (*MuteRoomTrackResponse) Descriptor() ([]byte, []int)deprecated
- func (x *MuteRoomTrackResponse) GetTrack() *TrackInfo
- func (*MuteRoomTrackResponse) ProtoMessage()
- func (x *MuteRoomTrackResponse) ProtoReflect() protoreflect.Message
- func (x *MuteRoomTrackResponse) Reset()
- func (x *MuteRoomTrackResponse) String() string
- type MuteTrackRequest
- func (*MuteTrackRequest) Descriptor() ([]byte, []int)deprecated
- func (x *MuteTrackRequest) GetMuted() bool
- func (x *MuteTrackRequest) GetSid() string
- func (*MuteTrackRequest) ProtoMessage()
- func (x *MuteTrackRequest) ProtoReflect() protoreflect.Message
- func (x *MuteTrackRequest) Reset()
- func (x *MuteTrackRequest) String() string
- type Node
- func (*Node) Descriptor() ([]byte, []int)deprecated
- func (x *Node) GetId() string
- func (x *Node) GetIp() string
- func (x *Node) GetNumCpus() uint32
- func (x *Node) GetRegion() string
- func (x *Node) GetState() NodeState
- func (x *Node) GetStats() *NodeStats
- func (x *Node) GetType() NodeType
- func (*Node) ProtoMessage()
- func (x *Node) ProtoReflect() protoreflect.Message
- func (x *Node) Reset()
- func (x *Node) String() string
- type NodeState
- type NodeStats
- func (*NodeStats) Descriptor() ([]byte, []int)deprecated
- func (x *NodeStats) GetBytesIn() uint64
- func (x *NodeStats) GetBytesInPerSec() float32
- func (x *NodeStats) GetBytesOut() uint64
- func (x *NodeStats) GetBytesOutPerSec() float32
- func (x *NodeStats) GetLoadAvgLast15Min() float32
- func (x *NodeStats) GetLoadAvgLast1Min() float32
- func (x *NodeStats) GetLoadAvgLast5Min() float32
- func (x *NodeStats) GetNackPerSec() float32
- func (x *NodeStats) GetNackTotal() uint64
- func (x *NodeStats) GetNumClients() int32
- func (x *NodeStats) GetNumCpus() uint32
- func (x *NodeStats) GetNumRooms() int32
- func (x *NodeStats) GetNumTracksIn() int32
- func (x *NodeStats) GetNumTracksOut() int32
- func (x *NodeStats) GetPacketsIn() uint64
- func (x *NodeStats) GetPacketsInPerSec() float32
- func (x *NodeStats) GetPacketsOut() uint64
- func (x *NodeStats) GetPacketsOutPerSec() float32
- func (x *NodeStats) GetStartedAt() int64
- func (x *NodeStats) GetUpdatedAt() int64
- func (*NodeStats) ProtoMessage()
- func (x *NodeStats) ProtoReflect() protoreflect.Message
- func (x *NodeStats) Reset()
- func (x *NodeStats) String() string
- type NodeType
- type ParticipantInfo
- func (*ParticipantInfo) Descriptor() ([]byte, []int)deprecated
- func (x *ParticipantInfo) GetHidden() bool
- func (x *ParticipantInfo) GetIdentity() string
- func (x *ParticipantInfo) GetJoinedAt() int64
- func (x *ParticipantInfo) GetMetadata() string
- func (x *ParticipantInfo) GetName() string
- func (x *ParticipantInfo) GetRecorder() bool
- func (x *ParticipantInfo) GetSid() string
- func (x *ParticipantInfo) GetState() ParticipantInfo_State
- func (x *ParticipantInfo) GetTracks() []*TrackInfo
- func (x *ParticipantInfo) GetVersion() uint32
- func (*ParticipantInfo) ProtoMessage()
- func (x *ParticipantInfo) ProtoReflect() protoreflect.Message
- func (x *ParticipantInfo) Reset()
- func (x *ParticipantInfo) String() string
- type ParticipantInfo_State
- func (ParticipantInfo_State) Descriptor() protoreflect.EnumDescriptor
- func (x ParticipantInfo_State) Enum() *ParticipantInfo_State
- func (ParticipantInfo_State) EnumDescriptor() ([]byte, []int)deprecated
- func (x ParticipantInfo_State) Number() protoreflect.EnumNumber
- func (x ParticipantInfo_State) String() string
- func (ParticipantInfo_State) Type() protoreflect.EnumType
- type ParticipantPermission
- func (*ParticipantPermission) Descriptor() ([]byte, []int)deprecated
- func (x *ParticipantPermission) GetCanPublish() bool
- func (x *ParticipantPermission) GetCanPublishData() bool
- func (x *ParticipantPermission) GetCanSubscribe() bool
- func (*ParticipantPermission) ProtoMessage()
- func (x *ParticipantPermission) ProtoReflect() protoreflect.Message
- func (x *ParticipantPermission) Reset()
- func (x *ParticipantPermission) String() string
- type ParticipantTracks
- func (*ParticipantTracks) Descriptor() ([]byte, []int)deprecated
- func (x *ParticipantTracks) GetParticipantSid() string
- func (x *ParticipantTracks) GetTrackSids() []string
- func (*ParticipantTracks) ProtoMessage()
- func (x *ParticipantTracks) ProtoReflect() protoreflect.Message
- func (x *ParticipantTracks) Reset()
- func (x *ParticipantTracks) String() string
- type ParticipantUpdate
- func (*ParticipantUpdate) Descriptor() ([]byte, []int)deprecated
- func (x *ParticipantUpdate) GetParticipants() []*ParticipantInfo
- func (*ParticipantUpdate) ProtoMessage()
- func (x *ParticipantUpdate) ProtoReflect() protoreflect.Message
- func (x *ParticipantUpdate) Reset()
- func (x *ParticipantUpdate) String() string
- type PictureMessage
- type PlainMessage
- func (*PlainMessage) Descriptor() ([]byte, []int)deprecated
- func (x *PlainMessage) GetCode() int32
- func (x *PlainMessage) GetContent() []byte
- func (x *PlainMessage) GetCreateTime() string
- func (x *PlainMessage) GetFrom() string
- func (x *PlainMessage) GetFromName() string
- func (x *PlainMessage) GetRoomId() string
- func (x *PlainMessage) GetTo() string
- func (x *PlainMessage) GetToName() string
- func (*PlainMessage) ProtoMessage()
- func (x *PlainMessage) ProtoReflect() protoreflect.Message
- func (x *PlainMessage) Reset()
- func (x *PlainMessage) String() string
- type Proto
- func (*Proto) Descriptor() ([]byte, []int)deprecated
- func (x *Proto) GetBody() []byte
- func (x *Proto) GetOp() int32
- func (x *Proto) GetSeq() int32
- func (x *Proto) GetVer() int32
- func (*Proto) ProtoMessage()
- func (x *Proto) ProtoReflect() protoreflect.Message
- func (x *Proto) Reset()
- func (x *Proto) String() string
- type PushMsg
- func (*PushMsg) Descriptor() ([]byte, []int)deprecated
- func (x *PushMsg) GetData() string
- func (x *PushMsg) GetFrom() *From
- func (m *PushMsg) GetMessage() isPushMsg_Message
- func (x *PushMsg) GetPic() *PictureMessage
- func (x *PushMsg) GetText() *TextMessage
- func (x *PushMsg) GetTo() *Target
- func (x *PushMsg) GetType() PushMsg_Type
- func (*PushMsg) ProtoMessage()
- func (x *PushMsg) ProtoReflect() protoreflect.Message
- func (x *PushMsg) Reset()
- func (x *PushMsg) String() string
- type PushMsgReply
- type PushMsgRequest
- func (*PushMsgRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PushMsgRequest) GetContent() string
- func (x *PushMsgRequest) GetData() []byte
- func (x *PushMsgRequest) GetFrom() *From
- func (x *PushMsgRequest) GetIdentity() string
- func (x *PushMsgRequest) GetKeys() []string
- func (m *PushMsgRequest) GetMessage() isPushMsgRequest_Message
- func (x *PushMsgRequest) GetPicture() *PictureMessage
- func (x *PushMsgRequest) GetRoom() string
- func (x *PushMsgRequest) GetText() *TextMessage
- func (x *PushMsgRequest) GetTo() *Target
- func (*PushMsgRequest) ProtoMessage()
- func (x *PushMsgRequest) ProtoReflect() protoreflect.Message
- func (x *PushMsgRequest) Reset()
- func (x *PushMsgRequest) String() string
- type PushMsgRequest_Picture
- type PushMsgRequest_Text
- type PushMsg_Pic
- type PushMsg_Text
- type PushMsg_Type
- func (PushMsg_Type) Descriptor() protoreflect.EnumDescriptor
- func (x PushMsg_Type) Enum() *PushMsg_Type
- func (PushMsg_Type) EnumDescriptor() ([]byte, []int)deprecated
- func (x PushMsg_Type) Number() protoreflect.EnumNumber
- func (x PushMsg_Type) String() string
- func (PushMsg_Type) Type() protoreflect.EnumType
- type RTCNodeMessage
- func (*RTCNodeMessage) Descriptor() ([]byte, []int)deprecated
- func (x *RTCNodeMessage) GetBroadcast() *BroadcastRequest
- func (x *RTCNodeMessage) GetBroadcastRoom() *BroadcastRoomRequest
- func (x *RTCNodeMessage) GetDeleteRoom() *DeleteRoomRequest
- func (x *RTCNodeMessage) GetEndSession() *EndSession
- func (x *RTCNodeMessage) GetKeepAlive() *KeepAlive
- func (m *RTCNodeMessage) GetMessage() isRTCNodeMessage_Message
- func (x *RTCNodeMessage) GetMuteTrack() *MuteRoomTrackRequest
- func (x *RTCNodeMessage) GetParticipantKey() string
- func (x *RTCNodeMessage) GetPushMsg() *PushMsgRequest
- func (x *RTCNodeMessage) GetRemoveParticipant() *RoomParticipantIdentity
- func (x *RTCNodeMessage) GetRequest() *SignalRequest
- func (x *RTCNodeMessage) GetSendData() *SendDataRequest
- func (x *RTCNodeMessage) GetSenderTime() int64
- func (x *RTCNodeMessage) GetStartSession() *StartSession
- func (x *RTCNodeMessage) GetSubscribe() *Subscribe
- func (x *RTCNodeMessage) GetUpdateParticipant() *UpdateParticipantRequest
- func (x *RTCNodeMessage) GetUpdateRoomMetadata() *UpdateRoomMetadataRequest
- func (x *RTCNodeMessage) GetUpdateSubscriptions() *UpdateSubscriptionsRequest
- func (*RTCNodeMessage) ProtoMessage()
- func (x *RTCNodeMessage) ProtoReflect() protoreflect.Message
- func (x *RTCNodeMessage) Reset()
- func (x *RTCNodeMessage) String() string
- type RTCNodeMessage_Broadcast
- type RTCNodeMessage_BroadcastRoom
- type RTCNodeMessage_DeleteRoom
- type RTCNodeMessage_EndSession
- type RTCNodeMessage_KeepAlive
- type RTCNodeMessage_MuteTrack
- type RTCNodeMessage_PushMsg
- type RTCNodeMessage_RemoveParticipant
- type RTCNodeMessage_Request
- type RTCNodeMessage_SendData
- type RTCNodeMessage_StartSession
- type RTCNodeMessage_Subscribe
- type RTCNodeMessage_UpdateParticipant
- type RTCNodeMessage_UpdateRoomMetadata
- type RTCNodeMessage_UpdateSubscriptions
- type RecordingInfo
- func (*RecordingInfo) Descriptor() ([]byte, []int)deprecated
- func (x *RecordingInfo) GetActive() bool
- func (x *RecordingInfo) GetError() string
- func (x *RecordingInfo) GetFile() *FileResult
- func (x *RecordingInfo) GetId() string
- func (x *RecordingInfo) GetRoomName() string
- func (x *RecordingInfo) GetRtmp() []*RtmpResult
- func (*RecordingInfo) ProtoMessage()
- func (x *RecordingInfo) ProtoReflect() protoreflect.Message
- func (x *RecordingInfo) Reset()
- func (x *RecordingInfo) String() string
- type RecordingOptions
- func (*RecordingOptions) Descriptor() ([]byte, []int)deprecated
- func (x *RecordingOptions) GetAudioBitrate() int32
- func (x *RecordingOptions) GetAudioFrequency() int32
- func (x *RecordingOptions) GetDepth() int32
- func (x *RecordingOptions) GetFramerate() int32
- func (x *RecordingOptions) GetHeight() int32
- func (x *RecordingOptions) GetPreset() RecordingPreset
- func (x *RecordingOptions) GetProfile() string
- func (x *RecordingOptions) GetVideoBitrate() int32
- func (x *RecordingOptions) GetWidth() int32
- func (*RecordingOptions) ProtoMessage()
- func (x *RecordingOptions) ProtoReflect() protoreflect.Message
- func (x *RecordingOptions) Reset()
- func (x *RecordingOptions) String() string
- type RecordingPreset
- func (RecordingPreset) Descriptor() protoreflect.EnumDescriptor
- func (x RecordingPreset) Enum() *RecordingPreset
- func (RecordingPreset) EnumDescriptor() ([]byte, []int)deprecated
- func (x RecordingPreset) Number() protoreflect.EnumNumber
- func (x RecordingPreset) String() string
- func (RecordingPreset) Type() protoreflect.EnumType
- type RecordingRequest
- func (*RecordingRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RecordingRequest) GetAddOutput() *AddOutputRequest
- func (x *RecordingRequest) GetEnd() *EndRecordingRequest
- func (x *RecordingRequest) GetRemoveOutput() *RemoveOutputRequest
- func (m *RecordingRequest) GetRequest() isRecordingRequest_Request
- func (x *RecordingRequest) GetRequestId() string
- func (x *RecordingRequest) GetStart() *StartRecordingRequest
- func (*RecordingRequest) ProtoMessage()
- func (x *RecordingRequest) ProtoReflect() protoreflect.Message
- func (x *RecordingRequest) Reset()
- func (x *RecordingRequest) String() string
- type RecordingRequest_AddOutput
- type RecordingRequest_End
- type RecordingRequest_RemoveOutput
- type RecordingRequest_Start
- type RecordingReservation
- func (*RecordingReservation) Descriptor() ([]byte, []int)deprecated
- func (x *RecordingReservation) GetId() string
- func (x *RecordingReservation) GetSubmittedAt() int64
- func (*RecordingReservation) ProtoMessage()
- func (x *RecordingReservation) ProtoReflect() protoreflect.Message
- func (x *RecordingReservation) Reset()
- func (x *RecordingReservation) String() string
- type RecordingResponse
- func (*RecordingResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RecordingResponse) GetError() string
- func (x *RecordingResponse) GetRequestId() string
- func (*RecordingResponse) ProtoMessage()
- func (x *RecordingResponse) ProtoReflect() protoreflect.Message
- func (x *RecordingResponse) Reset()
- func (x *RecordingResponse) String() string
- type RecordingService
- type RecordingTemplate
- func (*RecordingTemplate) Descriptor() ([]byte, []int)deprecated
- func (x *RecordingTemplate) GetBaseUrl() string
- func (x *RecordingTemplate) GetLayout() string
- func (x *RecordingTemplate) GetRoomName() string
- func (*RecordingTemplate) ProtoMessage()
- func (x *RecordingTemplate) ProtoReflect() protoreflect.Message
- func (x *RecordingTemplate) Reset()
- func (x *RecordingTemplate) String() string
- type RemoveOutputRequest
- func (*RemoveOutputRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveOutputRequest) GetRecordingId() string
- func (x *RemoveOutputRequest) GetRtmpUrl() string
- func (*RemoveOutputRequest) ProtoMessage()
- func (x *RemoveOutputRequest) ProtoReflect() protoreflect.Message
- func (x *RemoveOutputRequest) Reset()
- func (x *RemoveOutputRequest) String() string
- type RemoveParticipant
- func (*RemoveParticipant) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveParticipant) GetParticipantId() string
- func (*RemoveParticipant) ProtoMessage()
- func (x *RemoveParticipant) ProtoReflect() protoreflect.Message
- func (x *RemoveParticipant) Reset()
- func (x *RemoveParticipant) String() string
- type RemoveParticipantResponse
- type Room
- func (*Room) Descriptor() ([]byte, []int)deprecated
- func (x *Room) GetActiveRecording() bool
- func (x *Room) GetCreationTime() int64
- func (x *Room) GetEmptyTimeout() uint32
- func (x *Room) GetEnabledCodecs() []*Codec
- func (x *Room) GetMaxParticipants() uint32
- func (x *Room) GetMetadata() string
- func (x *Room) GetName() string
- func (x *Room) GetNumParticipants() uint32
- func (x *Room) GetSid() string
- func (x *Room) GetTurnPassword() string
- func (*Room) ProtoMessage()
- func (x *Room) ProtoReflect() protoreflect.Message
- func (x *Room) Reset()
- func (x *Room) String() string
- type RoomParticipantIdentity
- func (*RoomParticipantIdentity) Descriptor() ([]byte, []int)deprecated
- func (x *RoomParticipantIdentity) GetIdentity() string
- func (x *RoomParticipantIdentity) GetRoom() string
- func (*RoomParticipantIdentity) ProtoMessage()
- func (x *RoomParticipantIdentity) ProtoReflect() protoreflect.Message
- func (x *RoomParticipantIdentity) Reset()
- func (x *RoomParticipantIdentity) String() string
- type RoomService
- type RoomUpdate
- type RtmpOutput
- type RtmpResult
- type SendDataRequest
- func (*SendDataRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SendDataRequest) GetData() []byte
- func (x *SendDataRequest) GetDestinationSids() []string
- func (x *SendDataRequest) GetIdentity() string
- func (x *SendDataRequest) GetKind() DataPacket_Kind
- func (x *SendDataRequest) GetRoom() string
- func (*SendDataRequest) ProtoMessage()
- func (x *SendDataRequest) ProtoReflect() protoreflect.Message
- func (x *SendDataRequest) Reset()
- func (x *SendDataRequest) String() string
- type SendDataResponse
- type SessionDescription
- func (*SessionDescription) Descriptor() ([]byte, []int)deprecated
- func (x *SessionDescription) GetSdp() string
- func (x *SessionDescription) GetType() string
- func (*SessionDescription) ProtoMessage()
- func (x *SessionDescription) ProtoReflect() protoreflect.Message
- func (x *SessionDescription) Reset()
- func (x *SessionDescription) String() string
- type SignalNodeMessage
- func (*SignalNodeMessage) Descriptor() ([]byte, []int)deprecated
- func (x *SignalNodeMessage) GetBroadcast() *BroadcastRoomRequest
- func (x *SignalNodeMessage) GetBroadcastRoom() *BroadcastRoomRequest
- func (x *SignalNodeMessage) GetConnectionId() string
- func (x *SignalNodeMessage) GetEndSession() *EndSession
- func (m *SignalNodeMessage) GetMessage() isSignalNodeMessage_Message
- func (x *SignalNodeMessage) GetPlainMessage() *PlainMessage
- func (x *SignalNodeMessage) GetPushMsg() *PushMsgRequest
- func (x *SignalNodeMessage) GetResponse() *SignalResponse
- func (x *SignalNodeMessage) GetSubscribe() *Subscribe
- func (*SignalNodeMessage) ProtoMessage()
- func (x *SignalNodeMessage) ProtoReflect() protoreflect.Message
- func (x *SignalNodeMessage) Reset()
- func (x *SignalNodeMessage) String() string
- type SignalNodeMessage_Broadcast
- type SignalNodeMessage_BroadcastRoom
- type SignalNodeMessage_EndSession
- type SignalNodeMessage_PlainMessage
- type SignalNodeMessage_PushMsg
- type SignalNodeMessage_Response
- type SignalNodeMessage_Subscribe
- type SignalRequest
- func (*SignalRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SignalRequest) GetAddTrack() *AddTrackRequest
- func (x *SignalRequest) GetAnswer() *SessionDescription
- func (x *SignalRequest) GetJoinRoom() *JoinRoom
- func (x *SignalRequest) GetLeave() *LeaveRequest
- func (x *SignalRequest) GetLeaveRoom() *LeaveRoom
- func (m *SignalRequest) GetMessage() isSignalRequest_Message
- func (x *SignalRequest) GetMute() *MuteTrackRequest
- func (x *SignalRequest) GetOffer() *SessionDescription
- func (x *SignalRequest) GetPlainMessage() *PlainMessage
- func (x *SignalRequest) GetPush() *PushMsgRequest
- func (x *SignalRequest) GetSimulate() *SimulateScenario
- func (x *SignalRequest) GetSubscription() *UpdateSubscription
- func (x *SignalRequest) GetSubscriptionPermission() *SubscriptionPermission
- func (x *SignalRequest) GetSyncState() *SyncState
- func (x *SignalRequest) GetTrackSetting() *UpdateTrackSettings
- func (x *SignalRequest) GetTrickle() *TrickleRequest
- func (x *SignalRequest) GetUpdateLayers() *UpdateVideoLayers
- func (x *SignalRequest) GetWhiteboard() *WhiteboardRequest
- func (*SignalRequest) ProtoMessage()
- func (x *SignalRequest) ProtoReflect() protoreflect.Message
- func (x *SignalRequest) Reset()
- func (x *SignalRequest) String() string
- type SignalRequest_AddTrack
- type SignalRequest_Answer
- type SignalRequest_JoinRoom
- type SignalRequest_Leave
- type SignalRequest_LeaveRoom
- type SignalRequest_Mute
- type SignalRequest_Offer
- type SignalRequest_PlainMessage
- type SignalRequest_Push
- type SignalRequest_Simulate
- type SignalRequest_Subscription
- type SignalRequest_SubscriptionPermission
- type SignalRequest_SyncState
- type SignalRequest_TrackSetting
- type SignalRequest_Trickle
- type SignalRequest_UpdateLayers
- type SignalRequest_Whiteboard
- type SignalResponse
- func (*SignalResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SignalResponse) GetAnswer() *SessionDescription
- func (x *SignalResponse) GetBroadcast() *BroadcastRequest
- func (x *SignalResponse) GetBroadcastRoom() *BroadcastRoomRequest
- func (x *SignalResponse) GetConnectionQuality() *ConnectionQualityUpdate
- func (x *SignalResponse) GetJoin() *JoinResponse
- func (x *SignalResponse) GetJoinRoom() *JoinRoom
- func (x *SignalResponse) GetLeave() *LeaveRequest
- func (x *SignalResponse) GetLeaveRoom() *LeaveRoom
- func (m *SignalResponse) GetMessage() isSignalResponse_Message
- func (x *SignalResponse) GetMute() *MuteTrackRequest
- func (x *SignalResponse) GetOffer() *SessionDescription
- func (x *SignalResponse) GetPlainMessage() *PlainMessage
- func (x *SignalResponse) GetPush() *PushMsgRequest
- func (x *SignalResponse) GetRefreshToken() string
- func (x *SignalResponse) GetRoomUpdate() *RoomUpdate
- func (x *SignalResponse) GetSpeakersChanged() *SpeakersChanged
- func (x *SignalResponse) GetStreamStateUpdate() *StreamStateUpdate
- func (x *SignalResponse) GetSubscribedQualityUpdate() *SubscribedQualityUpdate
- func (x *SignalResponse) GetSubscriptionPermissionUpdate() *SubscriptionPermissionUpdate
- func (x *SignalResponse) GetTrackPublished() *TrackPublishedResponse
- func (x *SignalResponse) GetTrickle() *TrickleRequest
- func (x *SignalResponse) GetUpdate() *ParticipantUpdate
- func (*SignalResponse) ProtoMessage()
- func (x *SignalResponse) ProtoReflect() protoreflect.Message
- func (x *SignalResponse) Reset()
- func (x *SignalResponse) String() string
- type SignalResponse_Answer
- type SignalResponse_Broadcast
- type SignalResponse_BroadcastRoom
- type SignalResponse_ConnectionQuality
- type SignalResponse_Join
- type SignalResponse_JoinRoom
- type SignalResponse_Leave
- type SignalResponse_LeaveRoom
- type SignalResponse_Mute
- type SignalResponse_Offer
- type SignalResponse_PlainMessage
- type SignalResponse_Push
- type SignalResponse_RefreshToken
- type SignalResponse_RoomUpdate
- type SignalResponse_SpeakersChanged
- type SignalResponse_StreamStateUpdate
- type SignalResponse_SubscribedQualityUpdate
- type SignalResponse_SubscriptionPermissionUpdate
- type SignalResponse_TrackPublished
- type SignalResponse_Trickle
- type SignalResponse_Update
- type SignalTarget
- func (SignalTarget) Descriptor() protoreflect.EnumDescriptor
- func (x SignalTarget) Enum() *SignalTarget
- func (SignalTarget) EnumDescriptor() ([]byte, []int)deprecated
- func (x SignalTarget) Number() protoreflect.EnumNumber
- func (x SignalTarget) String() string
- func (SignalTarget) Type() protoreflect.EnumType
- type SimulateScenario
- func (*SimulateScenario) Descriptor() ([]byte, []int)deprecated
- func (x *SimulateScenario) GetMigration() bool
- func (x *SimulateScenario) GetNodeFailure() bool
- func (m *SimulateScenario) GetScenario() isSimulateScenario_Scenario
- func (x *SimulateScenario) GetServerLeave() bool
- func (x *SimulateScenario) GetSpeakerUpdate() int32
- func (*SimulateScenario) ProtoMessage()
- func (x *SimulateScenario) ProtoReflect() protoreflect.Message
- func (x *SimulateScenario) Reset()
- func (x *SimulateScenario) String() string
- type SimulateScenario_Migration
- type SimulateScenario_NodeFailure
- type SimulateScenario_ServerLeave
- type SimulateScenario_SpeakerUpdate
- type SpeakerInfo
- func (*SpeakerInfo) Descriptor() ([]byte, []int)deprecated
- func (x *SpeakerInfo) GetActive() bool
- func (x *SpeakerInfo) GetLevel() float32
- func (x *SpeakerInfo) GetSid() string
- func (*SpeakerInfo) ProtoMessage()
- func (x *SpeakerInfo) ProtoReflect() protoreflect.Message
- func (x *SpeakerInfo) Reset()
- func (x *SpeakerInfo) String() string
- type SpeakersChanged
- type StartRecordingRequest
- func (*StartRecordingRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StartRecordingRequest) GetFilepath() string
- func (m *StartRecordingRequest) GetInput() isStartRecordingRequest_Input
- func (x *StartRecordingRequest) GetOptions() *RecordingOptions
- func (m *StartRecordingRequest) GetOutput() isStartRecordingRequest_Output
- func (x *StartRecordingRequest) GetRtmp() *RtmpOutput
- func (x *StartRecordingRequest) GetTemplate() *RecordingTemplate
- func (x *StartRecordingRequest) GetUrl() string
- func (*StartRecordingRequest) ProtoMessage()
- func (x *StartRecordingRequest) ProtoReflect() protoreflect.Message
- func (x *StartRecordingRequest) Reset()
- func (x *StartRecordingRequest) String() string
- type StartRecordingRequest_Filepath
- type StartRecordingRequest_Rtmp
- type StartRecordingRequest_Template
- type StartRecordingRequest_Url
- type StartRecordingResponse
- func (*StartRecordingResponse) Descriptor() ([]byte, []int)deprecated
- func (x *StartRecordingResponse) GetRecordingId() string
- func (*StartRecordingResponse) ProtoMessage()
- func (x *StartRecordingResponse) ProtoReflect() protoreflect.Message
- func (x *StartRecordingResponse) Reset()
- func (x *StartRecordingResponse) String() string
- type StartSession
- func (*StartSession) Descriptor() ([]byte, []int)deprecated
- func (x *StartSession) GetAutoSubscribe() bool
- func (x *StartSession) GetClient() *ClientInfo
- func (x *StartSession) GetConnectionId() string
- func (x *StartSession) GetGrantsJson() string
- func (x *StartSession) GetHidden() bool
- func (x *StartSession) GetIdentity() string
- func (x *StartSession) GetMetadata() string
- func (x *StartSession) GetName() string
- func (x *StartSession) GetPermission() *ParticipantPermission
- func (x *StartSession) GetReconnect() bool
- func (x *StartSession) GetRecorder() bool
- func (x *StartSession) GetRoomName() string
- func (*StartSession) ProtoMessage()
- func (x *StartSession) ProtoReflect() protoreflect.Message
- func (x *StartSession) Reset()
- func (x *StartSession) String() string
- type StreamState
- func (StreamState) Descriptor() protoreflect.EnumDescriptor
- func (x StreamState) Enum() *StreamState
- func (StreamState) EnumDescriptor() ([]byte, []int)deprecated
- func (x StreamState) Number() protoreflect.EnumNumber
- func (x StreamState) String() string
- func (StreamState) Type() protoreflect.EnumType
- type StreamStateInfo
- func (*StreamStateInfo) Descriptor() ([]byte, []int)deprecated
- func (x *StreamStateInfo) GetParticipantSid() string
- func (x *StreamStateInfo) GetState() StreamState
- func (x *StreamStateInfo) GetTrackSid() string
- func (*StreamStateInfo) ProtoMessage()
- func (x *StreamStateInfo) ProtoReflect() protoreflect.Message
- func (x *StreamStateInfo) Reset()
- func (x *StreamStateInfo) String() string
- type StreamStateUpdate
- func (*StreamStateUpdate) Descriptor() ([]byte, []int)deprecated
- func (x *StreamStateUpdate) GetStreamStates() []*StreamStateInfo
- func (*StreamStateUpdate) ProtoMessage()
- func (x *StreamStateUpdate) ProtoReflect() protoreflect.Message
- func (x *StreamStateUpdate) Reset()
- func (x *StreamStateUpdate) String() string
- type Subscribe
- func (*Subscribe) Descriptor() ([]byte, []int)deprecated
- func (x *Subscribe) GetIdentity() string
- func (x *Subscribe) GetNodeId() string
- func (x *Subscribe) GetRoomName() string
- func (*Subscribe) ProtoMessage()
- func (x *Subscribe) ProtoReflect() protoreflect.Message
- func (x *Subscribe) Reset()
- func (x *Subscribe) String() string
- type SubscribedQuality
- func (*SubscribedQuality) Descriptor() ([]byte, []int)deprecated
- func (x *SubscribedQuality) GetEnabled() bool
- func (x *SubscribedQuality) GetQuality() VideoQuality
- func (*SubscribedQuality) ProtoMessage()
- func (x *SubscribedQuality) ProtoReflect() protoreflect.Message
- func (x *SubscribedQuality) Reset()
- func (x *SubscribedQuality) String() string
- type SubscribedQualityUpdate
- func (*SubscribedQualityUpdate) Descriptor() ([]byte, []int)deprecated
- func (x *SubscribedQualityUpdate) GetSubscribedQualities() []*SubscribedQuality
- func (x *SubscribedQualityUpdate) GetTrackSid() string
- func (*SubscribedQualityUpdate) ProtoMessage()
- func (x *SubscribedQualityUpdate) ProtoReflect() protoreflect.Message
- func (x *SubscribedQualityUpdate) Reset()
- func (x *SubscribedQualityUpdate) String() string
- type SubscriptionPermission
- func (*SubscriptionPermission) Descriptor() ([]byte, []int)deprecated
- func (x *SubscriptionPermission) GetAllParticipants() bool
- func (x *SubscriptionPermission) GetTrackPermissions() []*TrackPermission
- func (*SubscriptionPermission) ProtoMessage()
- func (x *SubscriptionPermission) ProtoReflect() protoreflect.Message
- func (x *SubscriptionPermission) Reset()
- func (x *SubscriptionPermission) String() string
- type SubscriptionPermissionUpdate
- func (*SubscriptionPermissionUpdate) Descriptor() ([]byte, []int)deprecated
- func (x *SubscriptionPermissionUpdate) GetAllowed() bool
- func (x *SubscriptionPermissionUpdate) GetParticipantSid() string
- func (x *SubscriptionPermissionUpdate) GetTrackSid() string
- func (*SubscriptionPermissionUpdate) ProtoMessage()
- func (x *SubscriptionPermissionUpdate) ProtoReflect() protoreflect.Message
- func (x *SubscriptionPermissionUpdate) Reset()
- func (x *SubscriptionPermissionUpdate) String() string
- type SyncState
- func (*SyncState) Descriptor() ([]byte, []int)deprecated
- func (x *SyncState) GetAnswer() *SessionDescription
- func (x *SyncState) GetPublishTracks() []*TrackPublishedResponse
- func (x *SyncState) GetSubscription() *UpdateSubscription
- func (*SyncState) ProtoMessage()
- func (x *SyncState) ProtoReflect() protoreflect.Message
- func (x *SyncState) Reset()
- func (x *SyncState) String() string
- type Target
- func (*Target) Descriptor() ([]byte, []int)deprecated
- func (x *Target) GetAvatar() string
- func (x *Target) GetId() uint64
- func (x *Target) GetIdentity() string
- func (x *Target) GetName() string
- func (*Target) ProtoMessage()
- func (x *Target) ProtoReflect() protoreflect.Message
- func (x *Target) Reset()
- func (x *Target) String() string
- type TextMessage
- type TrackInfo
- func (*TrackInfo) Descriptor() ([]byte, []int)deprecated
- func (x *TrackInfo) GetDisableDtx() bool
- func (x *TrackInfo) GetHeight() uint32
- func (x *TrackInfo) GetLayers() []*VideoLayer
- func (x *TrackInfo) GetMid() string
- func (x *TrackInfo) GetMimeType() string
- func (x *TrackInfo) GetMuted() bool
- func (x *TrackInfo) GetName() string
- func (x *TrackInfo) GetSid() string
- func (x *TrackInfo) GetSimulcast() bool
- func (x *TrackInfo) GetSource() TrackSource
- func (x *TrackInfo) GetType() TrackType
- func (x *TrackInfo) GetWidth() uint32
- func (*TrackInfo) ProtoMessage()
- func (x *TrackInfo) ProtoReflect() protoreflect.Message
- func (x *TrackInfo) Reset()
- func (x *TrackInfo) String() string
- type TrackPermission
- func (*TrackPermission) Descriptor() ([]byte, []int)deprecated
- func (x *TrackPermission) GetAllTracks() bool
- func (x *TrackPermission) GetParticipantSid() string
- func (x *TrackPermission) GetTrackSids() []string
- func (*TrackPermission) ProtoMessage()
- func (x *TrackPermission) ProtoReflect() protoreflect.Message
- func (x *TrackPermission) Reset()
- func (x *TrackPermission) String() string
- type TrackPublishedResponse
- func (*TrackPublishedResponse) Descriptor() ([]byte, []int)deprecated
- func (x *TrackPublishedResponse) GetCid() string
- func (x *TrackPublishedResponse) GetTrack() *TrackInfo
- func (*TrackPublishedResponse) ProtoMessage()
- func (x *TrackPublishedResponse) ProtoReflect() protoreflect.Message
- func (x *TrackPublishedResponse) Reset()
- func (x *TrackPublishedResponse) String() string
- type TrackSource
- func (TrackSource) Descriptor() protoreflect.EnumDescriptor
- func (x TrackSource) Enum() *TrackSource
- func (TrackSource) EnumDescriptor() ([]byte, []int)deprecated
- func (x TrackSource) Number() protoreflect.EnumNumber
- func (x TrackSource) String() string
- func (TrackSource) Type() protoreflect.EnumType
- type TrackType
- type TrickleRequest
- func (*TrickleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *TrickleRequest) GetCandidateInit() string
- func (x *TrickleRequest) GetTarget() SignalTarget
- func (*TrickleRequest) ProtoMessage()
- func (x *TrickleRequest) ProtoReflect() protoreflect.Message
- func (x *TrickleRequest) Reset()
- func (x *TrickleRequest) String() string
- type TwirpServer
- type UpdateParticipantRequest
- func (*UpdateParticipantRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateParticipantRequest) GetIdentity() string
- func (x *UpdateParticipantRequest) GetMetadata() string
- func (x *UpdateParticipantRequest) GetPermission() *ParticipantPermission
- func (x *UpdateParticipantRequest) GetRoom() string
- func (*UpdateParticipantRequest) ProtoMessage()
- func (x *UpdateParticipantRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateParticipantRequest) Reset()
- func (x *UpdateParticipantRequest) String() string
- type UpdateRoomMetadataRequest
- func (*UpdateRoomMetadataRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateRoomMetadataRequest) GetMetadata() string
- func (x *UpdateRoomMetadataRequest) GetRoom() string
- func (*UpdateRoomMetadataRequest) ProtoMessage()
- func (x *UpdateRoomMetadataRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateRoomMetadataRequest) Reset()
- func (x *UpdateRoomMetadataRequest) String() string
- type UpdateSubscription
- func (*UpdateSubscription) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateSubscription) GetParticipantTracks() []*ParticipantTracks
- func (x *UpdateSubscription) GetSubscribe() bool
- func (x *UpdateSubscription) GetTrackSids() []string
- func (*UpdateSubscription) ProtoMessage()
- func (x *UpdateSubscription) ProtoReflect() protoreflect.Message
- func (x *UpdateSubscription) Reset()
- func (x *UpdateSubscription) String() string
- type UpdateSubscriptionsRequest
- func (*UpdateSubscriptionsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateSubscriptionsRequest) GetIdentity() string
- func (x *UpdateSubscriptionsRequest) GetParticipantTracks() []*ParticipantTracks
- func (x *UpdateSubscriptionsRequest) GetRoom() string
- func (x *UpdateSubscriptionsRequest) GetSubscribe() bool
- func (x *UpdateSubscriptionsRequest) GetTrackSids() []string
- func (*UpdateSubscriptionsRequest) ProtoMessage()
- func (x *UpdateSubscriptionsRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateSubscriptionsRequest) Reset()
- func (x *UpdateSubscriptionsRequest) String() string
- type UpdateSubscriptionsResponse
- type UpdateTrackSettings
- func (*UpdateTrackSettings) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateTrackSettings) GetDisabled() bool
- func (x *UpdateTrackSettings) GetHeight() uint32
- func (x *UpdateTrackSettings) GetQuality() VideoQuality
- func (x *UpdateTrackSettings) GetTrackSids() []string
- func (x *UpdateTrackSettings) GetWidth() uint32
- func (*UpdateTrackSettings) ProtoMessage()
- func (x *UpdateTrackSettings) ProtoReflect() protoreflect.Message
- func (x *UpdateTrackSettings) Reset()
- func (x *UpdateTrackSettings) String() string
- type UpdateVideoLayers
- func (*UpdateVideoLayers) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateVideoLayers) GetLayers() []*VideoLayer
- func (x *UpdateVideoLayers) GetTrackSid() string
- func (*UpdateVideoLayers) ProtoMessage()
- func (x *UpdateVideoLayers) ProtoReflect() protoreflect.Message
- func (x *UpdateVideoLayers) Reset()
- func (x *UpdateVideoLayers) String() string
- type UserPacket
- func (*UserPacket) Descriptor() ([]byte, []int)deprecated
- func (x *UserPacket) GetDestinationSids() []string
- func (x *UserPacket) GetParticipantSid() string
- func (x *UserPacket) GetPayload() []byte
- func (*UserPacket) ProtoMessage()
- func (x *UserPacket) ProtoReflect() protoreflect.Message
- func (x *UserPacket) Reset()
- func (x *UserPacket) String() string
- type VideoLayer
- func (*VideoLayer) Descriptor() ([]byte, []int)deprecated
- func (x *VideoLayer) GetBitrate() uint32
- func (x *VideoLayer) GetHeight() uint32
- func (x *VideoLayer) GetQuality() VideoQuality
- func (x *VideoLayer) GetSsrc() uint32
- func (x *VideoLayer) GetWidth() uint32
- func (*VideoLayer) ProtoMessage()
- func (x *VideoLayer) ProtoReflect() protoreflect.Message
- func (x *VideoLayer) Reset()
- func (x *VideoLayer) String() string
- type VideoQuality
- func (VideoQuality) Descriptor() protoreflect.EnumDescriptor
- func (x VideoQuality) Enum() *VideoQuality
- func (VideoQuality) EnumDescriptor() ([]byte, []int)deprecated
- func (x VideoQuality) Number() protoreflect.EnumNumber
- func (x VideoQuality) String() string
- func (VideoQuality) Type() protoreflect.EnumType
- type WebhookEvent
- func (*WebhookEvent) Descriptor() ([]byte, []int)deprecated
- func (x *WebhookEvent) GetCreatedAt() int64
- func (x *WebhookEvent) GetEvent() string
- func (x *WebhookEvent) GetId() string
- func (x *WebhookEvent) GetParticipant() *ParticipantInfo
- func (x *WebhookEvent) GetRecordingInfo() *RecordingInfo
- func (x *WebhookEvent) GetRoom() *Room
- func (*WebhookEvent) ProtoMessage()
- func (x *WebhookEvent) ProtoReflect() protoreflect.Message
- func (x *WebhookEvent) Reset()
- func (x *WebhookEvent) String() string
- type WhiteboardReply
- type WhiteboardRequest
- func (*WhiteboardRequest) Descriptor() ([]byte, []int)deprecated
- func (x *WhiteboardRequest) GetContent() string
- func (x *WhiteboardRequest) GetData() []byte
- func (x *WhiteboardRequest) GetFrom() *From
- func (x *WhiteboardRequest) GetIdentity() string
- func (x *WhiteboardRequest) GetKeys() []string
- func (m *WhiteboardRequest) GetMessage() isWhiteboardRequest_Message
- func (x *WhiteboardRequest) GetPicture() *PictureMessage
- func (x *WhiteboardRequest) GetRoom() string
- func (x *WhiteboardRequest) GetText() *TextMessage
- func (x *WhiteboardRequest) GetTo() *Target
- func (x *WhiteboardRequest) GetType() string
- func (*WhiteboardRequest) ProtoMessage()
- func (x *WhiteboardRequest) ProtoReflect() protoreflect.Message
- func (x *WhiteboardRequest) Reset()
- func (x *WhiteboardRequest) String() string
- type WhiteboardRequest_Picture
- type WhiteboardRequest_Text
Constants ¶
const RecordingServicePathPrefix = "/twirp/livekitx.RecordingService/"
RecordingServicePathPrefix is a convenience constant that may identify URL paths. Should be used with caution, it only matches routes generated by Twirp Go clients, with the default "/twirp" prefix and default CamelCase service and method names. More info: https://twitchtv.github.io/twirp/docs/routing.html
const RoomServicePathPrefix = "/twirp/livekitx.RoomService/"
RoomServicePathPrefix is a convenience constant that may identify URL paths. Should be used with caution, it only matches routes generated by Twirp Go clients, with the default "/twirp" prefix and default CamelCase service and method names. More info: https://twitchtv.github.io/twirp/docs/routing.html
Variables ¶
var ( NodeType_name = map[int32]string{ 0: "SERVER", 1: "CONTROLLER", 2: "MEDIA", 4: "TURN", } NodeType_value = map[string]int32{ "SERVER": 0, "CONTROLLER": 1, "MEDIA": 2, "TURN": 4, } )
Enum value maps for NodeType.
var ( NodeState_name = map[int32]string{ 0: "STARTING_UP", 1: "SERVING", 2: "SHUTTING_DOWN", } NodeState_value = map[string]int32{ "STARTING_UP": 0, "SERVING": 1, "SHUTTING_DOWN": 2, } )
Enum value maps for NodeState.
var ( TrackType_name = map[int32]string{ 0: "AUDIO", 1: "VIDEO", 2: "DATA", } TrackType_value = map[string]int32{ "AUDIO": 0, "VIDEO": 1, "DATA": 2, } )
Enum value maps for TrackType.
var ( TrackSource_name = map[int32]string{ 0: "UNKNOWN", 1: "CAMERA", 2: "MICROPHONE", 3: "SCREEN_SHARE", 4: "SCREEN_SHARE_AUDIO", } TrackSource_value = map[string]int32{ "UNKNOWN": 0, "CAMERA": 1, "MICROPHONE": 2, "SCREEN_SHARE": 3, "SCREEN_SHARE_AUDIO": 4, } )
Enum value maps for TrackSource.
var ( VideoQuality_name = map[int32]string{ 0: "LOW", 1: "MEDIUM", 2: "HIGH", 3: "OFF", } VideoQuality_value = map[string]int32{ "LOW": 0, "MEDIUM": 1, "HIGH": 2, "OFF": 3, } )
Enum value maps for VideoQuality.
var ( ConnectionQuality_name = map[int32]string{ 0: "POOR", 1: "GOOD", 2: "EXCELLENT", } ConnectionQuality_value = map[string]int32{ "POOR": 0, "GOOD": 1, "EXCELLENT": 2, } )
Enum value maps for ConnectionQuality.
var ( ParticipantInfo_State_name = map[int32]string{ 0: "JOINING", 1: "JOINED", 2: "ACTIVE", 3: "DISCONNECTED", } ParticipantInfo_State_value = map[string]int32{ "JOINING": 0, "JOINED": 1, "ACTIVE": 2, "DISCONNECTED": 3, } )
Enum value maps for ParticipantInfo_State.
var ( DataPacket_Kind_name = map[int32]string{ 0: "RELIABLE", 1: "LOSSY", } DataPacket_Kind_value = map[string]int32{ "RELIABLE": 0, "LOSSY": 1, } )
Enum value maps for DataPacket_Kind.
var ( ClientInfo_SDK_name = map[int32]string{ 0: "UNKNOWN", 1: "JS", 2: "SWIFT", 3: "ANDROID", 4: "FLUTTER", 5: "GO", 6: "UNITY", } ClientInfo_SDK_value = map[string]int32{ "UNKNOWN": 0, "JS": 1, "SWIFT": 2, "ANDROID": 3, "FLUTTER": 4, "GO": 5, "UNITY": 6, } )
Enum value maps for ClientInfo_SDK.
var ( RecordingPreset_name = map[int32]string{ 0: "NONE", 1: "HD_30", 2: "HD_60", 3: "FULL_HD_30", 4: "FULL_HD_60", } RecordingPreset_value = map[string]int32{ "NONE": 0, "HD_30": 1, "HD_60": 2, "FULL_HD_30": 3, "FULL_HD_60": 4, } )
Enum value maps for RecordingPreset.
var ( MESSAGE_TYPE_name = map[int32]string{ 0: "TEXT", 1: "PICTURE", 2: "VOICE", 4: "MUSIC", 5: "EMOTION", 6: "LOCATION", } MESSAGE_TYPE_value = map[string]int32{ "TEXT": 0, "PICTURE": 1, "VOICE": 2, "MUSIC": 4, "EMOTION": 5, "LOCATION": 6, } )
Enum value maps for MESSAGE_TYPE.
var ( PushMsg_Type_name = map[int32]string{ 0: "PUSH", 1: "ROOM", 2: "BROADCAST", } PushMsg_Type_value = map[string]int32{ "PUSH": 0, "ROOM": 1, "BROADCAST": 2, } )
Enum value maps for PushMsg_Type.
var ( SignalTarget_name = map[int32]string{ 0: "PUBLISHER", 1: "SUBSCRIBER", } SignalTarget_value = map[string]int32{ "PUBLISHER": 0, "SUBSCRIBER": 1, } )
Enum value maps for SignalTarget.
var ( StreamState_name = map[int32]string{ 0: "ACTIVE", 1: "PAUSED", } StreamState_value = map[string]int32{ "ACTIVE": 0, "PAUSED": 1, } )
Enum value maps for StreamState.
var File_livekit_internal_proto protoreflect.FileDescriptor
var File_livekit_model_proto protoreflect.FileDescriptor
var File_livekit_recording_proto protoreflect.FileDescriptor
var File_livekit_room_proto protoreflect.FileDescriptor
var File_livekit_rtc_proto protoreflect.FileDescriptor
var File_livekit_webhook_proto protoreflect.FileDescriptor
Functions ¶
func WriteError ¶
func WriteError(resp http.ResponseWriter, err error)
WriteError writes an HTTP response with a valid Twirp error format (code, msg, meta). Useful outside of the Twirp server (e.g. http middleware), but does not trigger hooks. If err is not a twirp.Error, it will get wrapped with twirp.InternalErrorWith(err)
Types ¶
type ActiveSpeakerUpdate ¶
type ActiveSpeakerUpdate struct { Speakers []*SpeakerInfo `protobuf:"bytes,1,rep,name=speakers,proto3" json:"speakers,omitempty"` // contains filtered or unexported fields }
func (*ActiveSpeakerUpdate) Descriptor
deprecated
func (*ActiveSpeakerUpdate) Descriptor() ([]byte, []int)
Deprecated: Use ActiveSpeakerUpdate.ProtoReflect.Descriptor instead.
func (*ActiveSpeakerUpdate) GetSpeakers ¶
func (x *ActiveSpeakerUpdate) GetSpeakers() []*SpeakerInfo
func (*ActiveSpeakerUpdate) ProtoMessage ¶
func (*ActiveSpeakerUpdate) ProtoMessage()
func (*ActiveSpeakerUpdate) ProtoReflect ¶
func (x *ActiveSpeakerUpdate) ProtoReflect() protoreflect.Message
func (*ActiveSpeakerUpdate) Reset ¶
func (x *ActiveSpeakerUpdate) Reset()
func (*ActiveSpeakerUpdate) String ¶
func (x *ActiveSpeakerUpdate) String() string
type AddOutputRequest ¶
type AddOutputRequest struct { RecordingId string `protobuf:"bytes,1,opt,name=recording_id,json=recordingId,proto3" json:"recording_id,omitempty"` RtmpUrl string `protobuf:"bytes,2,opt,name=rtmp_url,json=rtmpUrl,proto3" json:"rtmp_url,omitempty"` // contains filtered or unexported fields }
func (*AddOutputRequest) Descriptor
deprecated
func (*AddOutputRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddOutputRequest.ProtoReflect.Descriptor instead.
func (*AddOutputRequest) GetRecordingId ¶
func (x *AddOutputRequest) GetRecordingId() string
func (*AddOutputRequest) GetRtmpUrl ¶
func (x *AddOutputRequest) GetRtmpUrl() string
func (*AddOutputRequest) ProtoMessage ¶
func (*AddOutputRequest) ProtoMessage()
func (*AddOutputRequest) ProtoReflect ¶
func (x *AddOutputRequest) ProtoReflect() protoreflect.Message
func (*AddOutputRequest) Reset ¶
func (x *AddOutputRequest) Reset()
func (*AddOutputRequest) String ¶
func (x *AddOutputRequest) String() string
type AddTrackRequest ¶
type AddTrackRequest struct { // client ID of track, to match it when RTC track is received Cid string `protobuf:"bytes,1,opt,name=cid,proto3" json:"cid,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Type TrackType `protobuf:"varint,3,opt,name=type,proto3,enum=livekitx.TrackType" json:"type,omitempty"` // to be deprecated in favor of layers Width uint32 `protobuf:"varint,4,opt,name=width,proto3" json:"width,omitempty"` Height uint32 `protobuf:"varint,5,opt,name=height,proto3" json:"height,omitempty"` // true to add track and initialize to muted Muted bool `protobuf:"varint,6,opt,name=muted,proto3" json:"muted,omitempty"` // true if DTX (Discontinuous Transmission) is disabled for audio DisableDtx bool `protobuf:"varint,7,opt,name=disable_dtx,json=disableDtx,proto3" json:"disable_dtx,omitempty"` Source TrackSource `protobuf:"varint,8,opt,name=source,proto3,enum=livekitx.TrackSource" json:"source,omitempty"` Layers []*VideoLayer `protobuf:"bytes,9,rep,name=layers,proto3" json:"layers,omitempty"` // contains filtered or unexported fields }
func (*AddTrackRequest) Descriptor
deprecated
func (*AddTrackRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddTrackRequest.ProtoReflect.Descriptor instead.
func (*AddTrackRequest) GetCid ¶
func (x *AddTrackRequest) GetCid() string
func (*AddTrackRequest) GetDisableDtx ¶
func (x *AddTrackRequest) GetDisableDtx() bool
func (*AddTrackRequest) GetHeight ¶
func (x *AddTrackRequest) GetHeight() uint32
func (*AddTrackRequest) GetLayers ¶
func (x *AddTrackRequest) GetLayers() []*VideoLayer
func (*AddTrackRequest) GetMuted ¶
func (x *AddTrackRequest) GetMuted() bool
func (*AddTrackRequest) GetName ¶
func (x *AddTrackRequest) GetName() string
func (*AddTrackRequest) GetSource ¶
func (x *AddTrackRequest) GetSource() TrackSource
func (*AddTrackRequest) GetType ¶
func (x *AddTrackRequest) GetType() TrackType
func (*AddTrackRequest) GetWidth ¶
func (x *AddTrackRequest) GetWidth() uint32
func (*AddTrackRequest) ProtoMessage ¶
func (*AddTrackRequest) ProtoMessage()
func (*AddTrackRequest) ProtoReflect ¶
func (x *AddTrackRequest) ProtoReflect() protoreflect.Message
func (*AddTrackRequest) Reset ¶
func (x *AddTrackRequest) Reset()
func (*AddTrackRequest) String ¶
func (x *AddTrackRequest) String() string
type BroadcastReply ¶
type BroadcastReply struct {
// contains filtered or unexported fields
}
func (*BroadcastReply) Descriptor
deprecated
func (*BroadcastReply) Descriptor() ([]byte, []int)
Deprecated: Use BroadcastReply.ProtoReflect.Descriptor instead.
func (*BroadcastReply) ProtoMessage ¶
func (*BroadcastReply) ProtoMessage()
func (*BroadcastReply) ProtoReflect ¶
func (x *BroadcastReply) ProtoReflect() protoreflect.Message
func (*BroadcastReply) Reset ¶
func (x *BroadcastReply) Reset()
func (*BroadcastReply) String ¶
func (x *BroadcastReply) String() string
type BroadcastRequest ¶
type BroadcastRequest struct { Room string `protobuf:"bytes,1,opt,name=room,proto3" json:"room,omitempty"` Identity string `protobuf:"bytes,2,opt,name=identity,proto3" json:"identity,omitempty"` Proto *Proto `protobuf:"bytes,3,opt,name=proto,proto3" json:"proto,omitempty"` Data []byte `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty"` Content string `protobuf:"bytes,5,opt,name=content,proto3" json:"content,omitempty"` // contains filtered or unexported fields }
func (*BroadcastRequest) Descriptor
deprecated
func (*BroadcastRequest) Descriptor() ([]byte, []int)
Deprecated: Use BroadcastRequest.ProtoReflect.Descriptor instead.
func (*BroadcastRequest) GetContent ¶
func (x *BroadcastRequest) GetContent() string
func (*BroadcastRequest) GetData ¶
func (x *BroadcastRequest) GetData() []byte
func (*BroadcastRequest) GetIdentity ¶
func (x *BroadcastRequest) GetIdentity() string
func (*BroadcastRequest) GetProto ¶
func (x *BroadcastRequest) GetProto() *Proto
func (*BroadcastRequest) GetRoom ¶
func (x *BroadcastRequest) GetRoom() string
func (*BroadcastRequest) ProtoMessage ¶
func (*BroadcastRequest) ProtoMessage()
func (*BroadcastRequest) ProtoReflect ¶
func (x *BroadcastRequest) ProtoReflect() protoreflect.Message
func (*BroadcastRequest) Reset ¶
func (x *BroadcastRequest) Reset()
func (*BroadcastRequest) String ¶
func (x *BroadcastRequest) String() string
type BroadcastRoomReply ¶
type BroadcastRoomReply struct {
// contains filtered or unexported fields
}
func (*BroadcastRoomReply) Descriptor
deprecated
func (*BroadcastRoomReply) Descriptor() ([]byte, []int)
Deprecated: Use BroadcastRoomReply.ProtoReflect.Descriptor instead.
func (*BroadcastRoomReply) ProtoMessage ¶
func (*BroadcastRoomReply) ProtoMessage()
func (*BroadcastRoomReply) ProtoReflect ¶
func (x *BroadcastRoomReply) ProtoReflect() protoreflect.Message
func (*BroadcastRoomReply) Reset ¶
func (x *BroadcastRoomReply) Reset()
func (*BroadcastRoomReply) String ¶
func (x *BroadcastRoomReply) String() string
type BroadcastRoomRequest ¶
type BroadcastRoomRequest struct { Room string `protobuf:"bytes,1,opt,name=room,proto3" json:"room,omitempty"` Identity string `protobuf:"bytes,2,opt,name=identity,proto3" json:"identity,omitempty"` Proto *Proto `protobuf:"bytes,3,opt,name=proto,proto3" json:"proto,omitempty"` Data []byte `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty"` Content string `protobuf:"bytes,5,opt,name=content,proto3" json:"content,omitempty"` Type string `protobuf:"bytes,6,opt,name=type,proto3" json:"type,omitempty"` // contains filtered or unexported fields }
func (*BroadcastRoomRequest) Descriptor
deprecated
func (*BroadcastRoomRequest) Descriptor() ([]byte, []int)
Deprecated: Use BroadcastRoomRequest.ProtoReflect.Descriptor instead.
func (*BroadcastRoomRequest) GetContent ¶
func (x *BroadcastRoomRequest) GetContent() string
func (*BroadcastRoomRequest) GetData ¶
func (x *BroadcastRoomRequest) GetData() []byte
func (*BroadcastRoomRequest) GetIdentity ¶
func (x *BroadcastRoomRequest) GetIdentity() string
func (*BroadcastRoomRequest) GetProto ¶
func (x *BroadcastRoomRequest) GetProto() *Proto
func (*BroadcastRoomRequest) GetRoom ¶
func (x *BroadcastRoomRequest) GetRoom() string
func (*BroadcastRoomRequest) GetType ¶
func (x *BroadcastRoomRequest) GetType() string
func (*BroadcastRoomRequest) ProtoMessage ¶
func (*BroadcastRoomRequest) ProtoMessage()
func (*BroadcastRoomRequest) ProtoReflect ¶
func (x *BroadcastRoomRequest) ProtoReflect() protoreflect.Message
func (*BroadcastRoomRequest) Reset ¶
func (x *BroadcastRoomRequest) Reset()
func (*BroadcastRoomRequest) String ¶
func (x *BroadcastRoomRequest) String() string
type ClientInfo ¶
type ClientInfo struct { Sdk ClientInfo_SDK `protobuf:"varint,1,opt,name=sdk,proto3,enum=livekitx.ClientInfo_SDK" json:"sdk,omitempty"` Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` Protocol int32 `protobuf:"varint,3,opt,name=protocol,proto3" json:"protocol,omitempty"` Os string `protobuf:"bytes,4,opt,name=os,proto3" json:"os,omitempty"` OsVersion string `protobuf:"bytes,5,opt,name=os_version,json=osVersion,proto3" json:"os_version,omitempty"` DeviceModel string `protobuf:"bytes,6,opt,name=device_model,json=deviceModel,proto3" json:"device_model,omitempty"` Browser string `protobuf:"bytes,7,opt,name=browser,proto3" json:"browser,omitempty"` BrowserVersion string `protobuf:"bytes,8,opt,name=browser_version,json=browserVersion,proto3" json:"browser_version,omitempty"` Address string `protobuf:"bytes,9,opt,name=address,proto3" json:"address,omitempty"` // contains filtered or unexported fields }
details about the client
func (*ClientInfo) Descriptor
deprecated
func (*ClientInfo) Descriptor() ([]byte, []int)
Deprecated: Use ClientInfo.ProtoReflect.Descriptor instead.
func (*ClientInfo) GetAddress ¶
func (x *ClientInfo) GetAddress() string
func (*ClientInfo) GetBrowser ¶
func (x *ClientInfo) GetBrowser() string
func (*ClientInfo) GetBrowserVersion ¶
func (x *ClientInfo) GetBrowserVersion() string
func (*ClientInfo) GetDeviceModel ¶
func (x *ClientInfo) GetDeviceModel() string
func (*ClientInfo) GetOs ¶
func (x *ClientInfo) GetOs() string
func (*ClientInfo) GetOsVersion ¶
func (x *ClientInfo) GetOsVersion() string
func (*ClientInfo) GetProtocol ¶
func (x *ClientInfo) GetProtocol() int32
func (*ClientInfo) GetSdk ¶
func (x *ClientInfo) GetSdk() ClientInfo_SDK
func (*ClientInfo) GetVersion ¶
func (x *ClientInfo) GetVersion() string
func (*ClientInfo) ProtoMessage ¶
func (*ClientInfo) ProtoMessage()
func (*ClientInfo) ProtoReflect ¶
func (x *ClientInfo) ProtoReflect() protoreflect.Message
func (*ClientInfo) Reset ¶
func (x *ClientInfo) Reset()
func (*ClientInfo) String ¶
func (x *ClientInfo) String() string
type ClientInfo_SDK ¶
type ClientInfo_SDK int32
const ( ClientInfo_UNKNOWN ClientInfo_SDK = 0 ClientInfo_JS ClientInfo_SDK = 1 ClientInfo_SWIFT ClientInfo_SDK = 2 ClientInfo_ANDROID ClientInfo_SDK = 3 ClientInfo_FLUTTER ClientInfo_SDK = 4 ClientInfo_GO ClientInfo_SDK = 5 ClientInfo_UNITY ClientInfo_SDK = 6 )
func (ClientInfo_SDK) Descriptor ¶
func (ClientInfo_SDK) Descriptor() protoreflect.EnumDescriptor
func (ClientInfo_SDK) Enum ¶
func (x ClientInfo_SDK) Enum() *ClientInfo_SDK
func (ClientInfo_SDK) EnumDescriptor
deprecated
func (ClientInfo_SDK) EnumDescriptor() ([]byte, []int)
Deprecated: Use ClientInfo_SDK.Descriptor instead.
func (ClientInfo_SDK) Number ¶
func (x ClientInfo_SDK) Number() protoreflect.EnumNumber
func (ClientInfo_SDK) String ¶
func (x ClientInfo_SDK) String() string
func (ClientInfo_SDK) Type ¶
func (ClientInfo_SDK) Type() protoreflect.EnumType
type Codec ¶
type Codec struct { Mime string `protobuf:"bytes,1,opt,name=mime,proto3" json:"mime,omitempty"` FmtpLine string `protobuf:"bytes,2,opt,name=fmtp_line,json=fmtpLine,proto3" json:"fmtp_line,omitempty"` // contains filtered or unexported fields }
func (*Codec) Descriptor
deprecated
func (*Codec) GetFmtpLine ¶
func (*Codec) ProtoMessage ¶
func (*Codec) ProtoMessage()
func (*Codec) ProtoReflect ¶
func (x *Codec) ProtoReflect() protoreflect.Message
type ConnectionQuality ¶
type ConnectionQuality int32
const ( ConnectionQuality_POOR ConnectionQuality = 0 ConnectionQuality_GOOD ConnectionQuality = 1 ConnectionQuality_EXCELLENT ConnectionQuality = 2 )
func (ConnectionQuality) Descriptor ¶
func (ConnectionQuality) Descriptor() protoreflect.EnumDescriptor
func (ConnectionQuality) Enum ¶
func (x ConnectionQuality) Enum() *ConnectionQuality
func (ConnectionQuality) EnumDescriptor
deprecated
func (ConnectionQuality) EnumDescriptor() ([]byte, []int)
Deprecated: Use ConnectionQuality.Descriptor instead.
func (ConnectionQuality) Number ¶
func (x ConnectionQuality) Number() protoreflect.EnumNumber
func (ConnectionQuality) String ¶
func (x ConnectionQuality) String() string
func (ConnectionQuality) Type ¶
func (ConnectionQuality) Type() protoreflect.EnumType
type ConnectionQualityInfo ¶
type ConnectionQualityInfo struct { ParticipantSid string `protobuf:"bytes,1,opt,name=participant_sid,json=participantSid,proto3" json:"participant_sid,omitempty"` Quality ConnectionQuality `protobuf:"varint,2,opt,name=quality,proto3,enum=livekitx.ConnectionQuality" json:"quality,omitempty"` Score float32 `protobuf:"fixed32,3,opt,name=score,proto3" json:"score,omitempty"` // contains filtered or unexported fields }
func (*ConnectionQualityInfo) Descriptor
deprecated
func (*ConnectionQualityInfo) Descriptor() ([]byte, []int)
Deprecated: Use ConnectionQualityInfo.ProtoReflect.Descriptor instead.
func (*ConnectionQualityInfo) GetParticipantSid ¶
func (x *ConnectionQualityInfo) GetParticipantSid() string
func (*ConnectionQualityInfo) GetQuality ¶
func (x *ConnectionQualityInfo) GetQuality() ConnectionQuality
func (*ConnectionQualityInfo) GetScore ¶
func (x *ConnectionQualityInfo) GetScore() float32
func (*ConnectionQualityInfo) ProtoMessage ¶
func (*ConnectionQualityInfo) ProtoMessage()
func (*ConnectionQualityInfo) ProtoReflect ¶
func (x *ConnectionQualityInfo) ProtoReflect() protoreflect.Message
func (*ConnectionQualityInfo) Reset ¶
func (x *ConnectionQualityInfo) Reset()
func (*ConnectionQualityInfo) String ¶
func (x *ConnectionQualityInfo) String() string
type ConnectionQualityUpdate ¶
type ConnectionQualityUpdate struct { Updates []*ConnectionQualityInfo `protobuf:"bytes,1,rep,name=updates,proto3" json:"updates,omitempty"` // contains filtered or unexported fields }
func (*ConnectionQualityUpdate) Descriptor
deprecated
func (*ConnectionQualityUpdate) Descriptor() ([]byte, []int)
Deprecated: Use ConnectionQualityUpdate.ProtoReflect.Descriptor instead.
func (*ConnectionQualityUpdate) GetUpdates ¶
func (x *ConnectionQualityUpdate) GetUpdates() []*ConnectionQualityInfo
func (*ConnectionQualityUpdate) ProtoMessage ¶
func (*ConnectionQualityUpdate) ProtoMessage()
func (*ConnectionQualityUpdate) ProtoReflect ¶
func (x *ConnectionQualityUpdate) ProtoReflect() protoreflect.Message
func (*ConnectionQualityUpdate) Reset ¶
func (x *ConnectionQualityUpdate) Reset()
func (*ConnectionQualityUpdate) String ¶
func (x *ConnectionQualityUpdate) String() string
type CreateRoomRequest ¶
type CreateRoomRequest struct { // name of the room Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // number of seconds to keep the room open if no one joins EmptyTimeout uint32 `protobuf:"varint,2,opt,name=empty_timeout,json=emptyTimeout,proto3" json:"empty_timeout,omitempty"` // limit number of participants that can be in a room MaxParticipants uint32 `protobuf:"varint,3,opt,name=max_participants,json=maxParticipants,proto3" json:"max_participants,omitempty"` // override the node room is allocated to, for debugging NodeId string `protobuf:"bytes,4,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"` // metadata of room Metadata string `protobuf:"bytes,5,opt,name=metadata,proto3" json:"metadata,omitempty"` // contains filtered or unexported fields }
func (*CreateRoomRequest) Descriptor
deprecated
func (*CreateRoomRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateRoomRequest.ProtoReflect.Descriptor instead.
func (*CreateRoomRequest) GetEmptyTimeout ¶
func (x *CreateRoomRequest) GetEmptyTimeout() uint32
func (*CreateRoomRequest) GetMaxParticipants ¶
func (x *CreateRoomRequest) GetMaxParticipants() uint32
func (*CreateRoomRequest) GetMetadata ¶
func (x *CreateRoomRequest) GetMetadata() string
func (*CreateRoomRequest) GetName ¶
func (x *CreateRoomRequest) GetName() string
func (*CreateRoomRequest) GetNodeId ¶
func (x *CreateRoomRequest) GetNodeId() string
func (*CreateRoomRequest) ProtoMessage ¶
func (*CreateRoomRequest) ProtoMessage()
func (*CreateRoomRequest) ProtoReflect ¶
func (x *CreateRoomRequest) ProtoReflect() protoreflect.Message
func (*CreateRoomRequest) Reset ¶
func (x *CreateRoomRequest) Reset()
func (*CreateRoomRequest) String ¶
func (x *CreateRoomRequest) String() string
type DataPacket ¶
type DataPacket struct { Kind DataPacket_Kind `protobuf:"varint,1,opt,name=kind,proto3,enum=livekitx.DataPacket_Kind" json:"kind,omitempty"` // Types that are assignable to Value: // // *DataPacket_User // *DataPacket_Speaker Value isDataPacket_Value `protobuf_oneof:"value"` // contains filtered or unexported fields }
new DataPacket API
func (*DataPacket) Descriptor
deprecated
func (*DataPacket) Descriptor() ([]byte, []int)
Deprecated: Use DataPacket.ProtoReflect.Descriptor instead.
func (*DataPacket) GetKind ¶
func (x *DataPacket) GetKind() DataPacket_Kind
func (*DataPacket) GetSpeaker ¶
func (x *DataPacket) GetSpeaker() *ActiveSpeakerUpdate
func (*DataPacket) GetUser ¶
func (x *DataPacket) GetUser() *UserPacket
func (*DataPacket) GetValue ¶
func (m *DataPacket) GetValue() isDataPacket_Value
func (*DataPacket) ProtoMessage ¶
func (*DataPacket) ProtoMessage()
func (*DataPacket) ProtoReflect ¶
func (x *DataPacket) ProtoReflect() protoreflect.Message
func (*DataPacket) Reset ¶
func (x *DataPacket) Reset()
func (*DataPacket) String ¶
func (x *DataPacket) String() string
type DataPacket_Kind ¶
type DataPacket_Kind int32
const ( DataPacket_RELIABLE DataPacket_Kind = 0 DataPacket_LOSSY DataPacket_Kind = 1 )
func (DataPacket_Kind) Descriptor ¶
func (DataPacket_Kind) Descriptor() protoreflect.EnumDescriptor
func (DataPacket_Kind) Enum ¶
func (x DataPacket_Kind) Enum() *DataPacket_Kind
func (DataPacket_Kind) EnumDescriptor
deprecated
func (DataPacket_Kind) EnumDescriptor() ([]byte, []int)
Deprecated: Use DataPacket_Kind.Descriptor instead.
func (DataPacket_Kind) Number ¶
func (x DataPacket_Kind) Number() protoreflect.EnumNumber
func (DataPacket_Kind) String ¶
func (x DataPacket_Kind) String() string
func (DataPacket_Kind) Type ¶
func (DataPacket_Kind) Type() protoreflect.EnumType
type DataPacket_Speaker ¶
type DataPacket_Speaker struct {
Speaker *ActiveSpeakerUpdate `protobuf:"bytes,3,opt,name=speaker,proto3,oneof"`
}
type DataPacket_User ¶
type DataPacket_User struct {
User *UserPacket `protobuf:"bytes,2,opt,name=user,proto3,oneof"`
}
type DeleteRoomRequest ¶
type DeleteRoomRequest struct { // name of the room Room string `protobuf:"bytes,1,opt,name=room,proto3" json:"room,omitempty"` // contains filtered or unexported fields }
func (*DeleteRoomRequest) Descriptor
deprecated
func (*DeleteRoomRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteRoomRequest.ProtoReflect.Descriptor instead.
func (*DeleteRoomRequest) GetRoom ¶
func (x *DeleteRoomRequest) GetRoom() string
func (*DeleteRoomRequest) ProtoMessage ¶
func (*DeleteRoomRequest) ProtoMessage()
func (*DeleteRoomRequest) ProtoReflect ¶
func (x *DeleteRoomRequest) ProtoReflect() protoreflect.Message
func (*DeleteRoomRequest) Reset ¶
func (x *DeleteRoomRequest) Reset()
func (*DeleteRoomRequest) String ¶
func (x *DeleteRoomRequest) String() string
type DeleteRoomResponse ¶
type DeleteRoomResponse struct {
// contains filtered or unexported fields
}
func (*DeleteRoomResponse) Descriptor
deprecated
func (*DeleteRoomResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteRoomResponse.ProtoReflect.Descriptor instead.
func (*DeleteRoomResponse) ProtoMessage ¶
func (*DeleteRoomResponse) ProtoMessage()
func (*DeleteRoomResponse) ProtoReflect ¶
func (x *DeleteRoomResponse) ProtoReflect() protoreflect.Message
func (*DeleteRoomResponse) Reset ¶
func (x *DeleteRoomResponse) Reset()
func (*DeleteRoomResponse) String ¶
func (x *DeleteRoomResponse) String() string
type EndRecordingRequest ¶
type EndRecordingRequest struct { RecordingId string `protobuf:"bytes,1,opt,name=recording_id,json=recordingId,proto3" json:"recording_id,omitempty"` // contains filtered or unexported fields }
func (*EndRecordingRequest) Descriptor
deprecated
func (*EndRecordingRequest) Descriptor() ([]byte, []int)
Deprecated: Use EndRecordingRequest.ProtoReflect.Descriptor instead.
func (*EndRecordingRequest) GetRecordingId ¶
func (x *EndRecordingRequest) GetRecordingId() string
func (*EndRecordingRequest) ProtoMessage ¶
func (*EndRecordingRequest) ProtoMessage()
func (*EndRecordingRequest) ProtoReflect ¶
func (x *EndRecordingRequest) ProtoReflect() protoreflect.Message
func (*EndRecordingRequest) Reset ¶
func (x *EndRecordingRequest) Reset()
func (*EndRecordingRequest) String ¶
func (x *EndRecordingRequest) String() string
type EndSession ¶
type EndSession struct {
// contains filtered or unexported fields
}
func (*EndSession) Descriptor
deprecated
func (*EndSession) Descriptor() ([]byte, []int)
Deprecated: Use EndSession.ProtoReflect.Descriptor instead.
func (*EndSession) ProtoMessage ¶
func (*EndSession) ProtoMessage()
func (*EndSession) ProtoReflect ¶
func (x *EndSession) ProtoReflect() protoreflect.Message
func (*EndSession) Reset ¶
func (x *EndSession) Reset()
func (*EndSession) String ¶
func (x *EndSession) String() string
type FileResult ¶
type FileResult struct { DownloadUrl string `protobuf:"bytes,1,opt,name=download_url,json=downloadUrl,proto3" json:"download_url,omitempty"` Duration int64 `protobuf:"varint,2,opt,name=duration,proto3" json:"duration,omitempty"` // contains filtered or unexported fields }
func (*FileResult) Descriptor
deprecated
func (*FileResult) Descriptor() ([]byte, []int)
Deprecated: Use FileResult.ProtoReflect.Descriptor instead.
func (*FileResult) GetDownloadUrl ¶
func (x *FileResult) GetDownloadUrl() string
func (*FileResult) GetDuration ¶
func (x *FileResult) GetDuration() int64
func (*FileResult) ProtoMessage ¶
func (*FileResult) ProtoMessage()
func (*FileResult) ProtoReflect ¶
func (x *FileResult) ProtoReflect() protoreflect.Message
func (*FileResult) Reset ¶
func (x *FileResult) Reset()
func (*FileResult) String ¶
func (x *FileResult) String() string
type From ¶
type From struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Identity string `protobuf:"bytes,2,opt,name=identity,proto3" json:"identity,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` Avatar string `protobuf:"bytes,4,opt,name=avatar,proto3" json:"avatar,omitempty"` // contains filtered or unexported fields }
func (*From) Descriptor
deprecated
func (*From) GetIdentity ¶
func (*From) ProtoMessage ¶
func (*From) ProtoMessage()
func (*From) ProtoReflect ¶
func (x *From) ProtoReflect() protoreflect.Message
type HTTPClient ¶
HTTPClient is the interface used by generated clients to send HTTP requests. It is fulfilled by *(net/http).Client, which is sufficient for most users. Users can provide their own implementation for special retry policies.
HTTPClient implementations should not follow redirects. Redirects are automatically disabled if *(net/http).Client is passed to client constructors. See the withoutRedirects function in this file for more details.
type ICEServer ¶
type ICEServer struct { Urls []string `protobuf:"bytes,1,rep,name=urls,proto3" json:"urls,omitempty"` Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"` Credential string `protobuf:"bytes,3,opt,name=credential,proto3" json:"credential,omitempty"` // contains filtered or unexported fields }
func (*ICEServer) Descriptor
deprecated
func (*ICEServer) GetCredential ¶
func (*ICEServer) GetUsername ¶
func (*ICEServer) ProtoMessage ¶
func (*ICEServer) ProtoMessage()
func (*ICEServer) ProtoReflect ¶
func (x *ICEServer) ProtoReflect() protoreflect.Message
type JoinResponse ¶
type JoinResponse struct { Room *Room `protobuf:"bytes,1,opt,name=room,proto3" json:"room,omitempty"` Participant *ParticipantInfo `protobuf:"bytes,2,opt,name=participant,proto3" json:"participant,omitempty"` OtherParticipants []*ParticipantInfo `protobuf:"bytes,3,rep,name=other_participants,json=otherParticipants,proto3" json:"other_participants,omitempty"` ServerVersion string `protobuf:"bytes,4,opt,name=server_version,json=serverVersion,proto3" json:"server_version,omitempty"` IceServers []*ICEServer `protobuf:"bytes,5,rep,name=ice_servers,json=iceServers,proto3" json:"ice_servers,omitempty"` // use subscriber as the primary PeerConnection SubscriberPrimary bool `protobuf:"varint,6,opt,name=subscriber_primary,json=subscriberPrimary,proto3" json:"subscriber_primary,omitempty"` // when the current server isn't available, return alternate url to retry connection // when this is set, the other fields will be largely empty AlternativeUrl string `protobuf:"bytes,7,opt,name=alternative_url,json=alternativeUrl,proto3" json:"alternative_url,omitempty"` // contains filtered or unexported fields }
func (*JoinResponse) Descriptor
deprecated
func (*JoinResponse) Descriptor() ([]byte, []int)
Deprecated: Use JoinResponse.ProtoReflect.Descriptor instead.
func (*JoinResponse) GetAlternativeUrl ¶
func (x *JoinResponse) GetAlternativeUrl() string
func (*JoinResponse) GetIceServers ¶
func (x *JoinResponse) GetIceServers() []*ICEServer
func (*JoinResponse) GetOtherParticipants ¶
func (x *JoinResponse) GetOtherParticipants() []*ParticipantInfo
func (*JoinResponse) GetParticipant ¶
func (x *JoinResponse) GetParticipant() *ParticipantInfo
func (*JoinResponse) GetRoom ¶
func (x *JoinResponse) GetRoom() *Room
func (*JoinResponse) GetServerVersion ¶
func (x *JoinResponse) GetServerVersion() string
func (*JoinResponse) GetSubscriberPrimary ¶
func (x *JoinResponse) GetSubscriberPrimary() bool
func (*JoinResponse) ProtoMessage ¶
func (*JoinResponse) ProtoMessage()
func (*JoinResponse) ProtoReflect ¶
func (x *JoinResponse) ProtoReflect() protoreflect.Message
func (*JoinResponse) Reset ¶
func (x *JoinResponse) Reset()
func (*JoinResponse) String ¶
func (x *JoinResponse) String() string
type JoinRoom ¶
type JoinRoom struct { RoomId string `protobuf:"bytes,1,opt,name=room_id,json=roomId,proto3" json:"room_id,omitempty"` Identity string `protobuf:"bytes,2,opt,name=identity,proto3" json:"identity,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
Client Send Join a Room request
func (*JoinRoom) Descriptor
deprecated
func (*JoinRoom) GetIdentity ¶
func (*JoinRoom) ProtoMessage ¶
func (*JoinRoom) ProtoMessage()
func (*JoinRoom) ProtoReflect ¶
func (x *JoinRoom) ProtoReflect() protoreflect.Message
type KeepAlive ¶
type KeepAlive struct {
// contains filtered or unexported fields
}
func (*KeepAlive) Descriptor
deprecated
func (*KeepAlive) ProtoMessage ¶
func (*KeepAlive) ProtoMessage()
func (*KeepAlive) ProtoReflect ¶
func (x *KeepAlive) ProtoReflect() protoreflect.Message
type LeaveRequest ¶
type LeaveRequest struct { // sent when server initiates the disconnect due to server-restart // indicates clients should attempt full-reconnect sequence CanReconnect bool `protobuf:"varint,1,opt,name=can_reconnect,json=canReconnect,proto3" json:"can_reconnect,omitempty"` // contains filtered or unexported fields }
func (*LeaveRequest) Descriptor
deprecated
func (*LeaveRequest) Descriptor() ([]byte, []int)
Deprecated: Use LeaveRequest.ProtoReflect.Descriptor instead.
func (*LeaveRequest) GetCanReconnect ¶
func (x *LeaveRequest) GetCanReconnect() bool
func (*LeaveRequest) ProtoMessage ¶
func (*LeaveRequest) ProtoMessage()
func (*LeaveRequest) ProtoReflect ¶
func (x *LeaveRequest) ProtoReflect() protoreflect.Message
func (*LeaveRequest) Reset ¶
func (x *LeaveRequest) Reset()
func (*LeaveRequest) String ¶
func (x *LeaveRequest) String() string
type LeaveRoom ¶
type LeaveRoom struct { RoomId string `protobuf:"bytes,1,opt,name=room_id,json=roomId,proto3" json:"room_id,omitempty"` Identity string `protobuf:"bytes,2,opt,name=identity,proto3" json:"identity,omitempty"` // contains filtered or unexported fields }
Client Send Leave a Room Request
func (*LeaveRoom) Descriptor
deprecated
func (*LeaveRoom) GetIdentity ¶
func (*LeaveRoom) ProtoMessage ¶
func (*LeaveRoom) ProtoMessage()
func (*LeaveRoom) ProtoReflect ¶
func (x *LeaveRoom) ProtoReflect() protoreflect.Message
type ListParticipantsRequest ¶
type ListParticipantsRequest struct { // name of the room Room string `protobuf:"bytes,1,opt,name=room,proto3" json:"room,omitempty"` // contains filtered or unexported fields }
func (*ListParticipantsRequest) Descriptor
deprecated
func (*ListParticipantsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListParticipantsRequest.ProtoReflect.Descriptor instead.
func (*ListParticipantsRequest) GetRoom ¶
func (x *ListParticipantsRequest) GetRoom() string
func (*ListParticipantsRequest) ProtoMessage ¶
func (*ListParticipantsRequest) ProtoMessage()
func (*ListParticipantsRequest) ProtoReflect ¶
func (x *ListParticipantsRequest) ProtoReflect() protoreflect.Message
func (*ListParticipantsRequest) Reset ¶
func (x *ListParticipantsRequest) Reset()
func (*ListParticipantsRequest) String ¶
func (x *ListParticipantsRequest) String() string
type ListParticipantsResponse ¶
type ListParticipantsResponse struct { Participants []*ParticipantInfo `protobuf:"bytes,1,rep,name=participants,proto3" json:"participants,omitempty"` // contains filtered or unexported fields }
func (*ListParticipantsResponse) Descriptor
deprecated
func (*ListParticipantsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListParticipantsResponse.ProtoReflect.Descriptor instead.
func (*ListParticipantsResponse) GetParticipants ¶
func (x *ListParticipantsResponse) GetParticipants() []*ParticipantInfo
func (*ListParticipantsResponse) ProtoMessage ¶
func (*ListParticipantsResponse) ProtoMessage()
func (*ListParticipantsResponse) ProtoReflect ¶
func (x *ListParticipantsResponse) ProtoReflect() protoreflect.Message
func (*ListParticipantsResponse) Reset ¶
func (x *ListParticipantsResponse) Reset()
func (*ListParticipantsResponse) String ¶
func (x *ListParticipantsResponse) String() string
type ListRoomsRequest ¶
type ListRoomsRequest struct { // when set, will only return rooms with name match Names []string `protobuf:"bytes,1,rep,name=names,proto3" json:"names,omitempty"` // contains filtered or unexported fields }
func (*ListRoomsRequest) Descriptor
deprecated
func (*ListRoomsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListRoomsRequest.ProtoReflect.Descriptor instead.
func (*ListRoomsRequest) GetNames ¶
func (x *ListRoomsRequest) GetNames() []string
func (*ListRoomsRequest) ProtoMessage ¶
func (*ListRoomsRequest) ProtoMessage()
func (*ListRoomsRequest) ProtoReflect ¶
func (x *ListRoomsRequest) ProtoReflect() protoreflect.Message
func (*ListRoomsRequest) Reset ¶
func (x *ListRoomsRequest) Reset()
func (*ListRoomsRequest) String ¶
func (x *ListRoomsRequest) String() string
type ListRoomsResponse ¶
type ListRoomsResponse struct { Rooms []*Room `protobuf:"bytes,1,rep,name=rooms,proto3" json:"rooms,omitempty"` // contains filtered or unexported fields }
func (*ListRoomsResponse) Descriptor
deprecated
func (*ListRoomsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListRoomsResponse.ProtoReflect.Descriptor instead.
func (*ListRoomsResponse) GetRooms ¶
func (x *ListRoomsResponse) GetRooms() []*Room
func (*ListRoomsResponse) ProtoMessage ¶
func (*ListRoomsResponse) ProtoMessage()
func (*ListRoomsResponse) ProtoReflect ¶
func (x *ListRoomsResponse) ProtoReflect() protoreflect.Message
func (*ListRoomsResponse) Reset ¶
func (x *ListRoomsResponse) Reset()
func (*ListRoomsResponse) String ¶
func (x *ListRoomsResponse) String() string
type MESSAGE_TYPE ¶
type MESSAGE_TYPE int32
im msg type
const ( MESSAGE_TYPE_TEXT MESSAGE_TYPE = 0 //文本 图片 语音 视频 音乐 图文 表情 位置 MESSAGE_TYPE_PICTURE MESSAGE_TYPE = 1 MESSAGE_TYPE_VOICE MESSAGE_TYPE = 2 // VIDEO = 3; MESSAGE_TYPE_MUSIC MESSAGE_TYPE = 4 MESSAGE_TYPE_EMOTION MESSAGE_TYPE = 5 MESSAGE_TYPE_LOCATION MESSAGE_TYPE = 6 )
func (MESSAGE_TYPE) Descriptor ¶
func (MESSAGE_TYPE) Descriptor() protoreflect.EnumDescriptor
func (MESSAGE_TYPE) Enum ¶
func (x MESSAGE_TYPE) Enum() *MESSAGE_TYPE
func (MESSAGE_TYPE) EnumDescriptor
deprecated
func (MESSAGE_TYPE) EnumDescriptor() ([]byte, []int)
Deprecated: Use MESSAGE_TYPE.Descriptor instead.
func (MESSAGE_TYPE) Number ¶
func (x MESSAGE_TYPE) Number() protoreflect.EnumNumber
func (MESSAGE_TYPE) String ¶
func (x MESSAGE_TYPE) String() string
func (MESSAGE_TYPE) Type ¶
func (MESSAGE_TYPE) Type() protoreflect.EnumType
type MuteRoomTrackRequest ¶
type MuteRoomTrackRequest struct { // name of the room Room string `protobuf:"bytes,1,opt,name=room,proto3" json:"room,omitempty"` Identity string `protobuf:"bytes,2,opt,name=identity,proto3" json:"identity,omitempty"` // sid of the track to mute TrackSid string `protobuf:"bytes,3,opt,name=track_sid,json=trackSid,proto3" json:"track_sid,omitempty"` // set to true to mute, false to unmute Muted bool `protobuf:"varint,4,opt,name=muted,proto3" json:"muted,omitempty"` // contains filtered or unexported fields }
func (*MuteRoomTrackRequest) Descriptor
deprecated
func (*MuteRoomTrackRequest) Descriptor() ([]byte, []int)
Deprecated: Use MuteRoomTrackRequest.ProtoReflect.Descriptor instead.
func (*MuteRoomTrackRequest) GetIdentity ¶
func (x *MuteRoomTrackRequest) GetIdentity() string
func (*MuteRoomTrackRequest) GetMuted ¶
func (x *MuteRoomTrackRequest) GetMuted() bool
func (*MuteRoomTrackRequest) GetRoom ¶
func (x *MuteRoomTrackRequest) GetRoom() string
func (*MuteRoomTrackRequest) GetTrackSid ¶
func (x *MuteRoomTrackRequest) GetTrackSid() string
func (*MuteRoomTrackRequest) ProtoMessage ¶
func (*MuteRoomTrackRequest) ProtoMessage()
func (*MuteRoomTrackRequest) ProtoReflect ¶
func (x *MuteRoomTrackRequest) ProtoReflect() protoreflect.Message
func (*MuteRoomTrackRequest) Reset ¶
func (x *MuteRoomTrackRequest) Reset()
func (*MuteRoomTrackRequest) String ¶
func (x *MuteRoomTrackRequest) String() string
type MuteRoomTrackResponse ¶
type MuteRoomTrackResponse struct { Track *TrackInfo `protobuf:"bytes,1,opt,name=track,proto3" json:"track,omitempty"` // contains filtered or unexported fields }
func (*MuteRoomTrackResponse) Descriptor
deprecated
func (*MuteRoomTrackResponse) Descriptor() ([]byte, []int)
Deprecated: Use MuteRoomTrackResponse.ProtoReflect.Descriptor instead.
func (*MuteRoomTrackResponse) GetTrack ¶
func (x *MuteRoomTrackResponse) GetTrack() *TrackInfo
func (*MuteRoomTrackResponse) ProtoMessage ¶
func (*MuteRoomTrackResponse) ProtoMessage()
func (*MuteRoomTrackResponse) ProtoReflect ¶
func (x *MuteRoomTrackResponse) ProtoReflect() protoreflect.Message
func (*MuteRoomTrackResponse) Reset ¶
func (x *MuteRoomTrackResponse) Reset()
func (*MuteRoomTrackResponse) String ¶
func (x *MuteRoomTrackResponse) String() string
type MuteTrackRequest ¶
type MuteTrackRequest struct { Sid string `protobuf:"bytes,1,opt,name=sid,proto3" json:"sid,omitempty"` Muted bool `protobuf:"varint,2,opt,name=muted,proto3" json:"muted,omitempty"` // contains filtered or unexported fields }
func (*MuteTrackRequest) Descriptor
deprecated
func (*MuteTrackRequest) Descriptor() ([]byte, []int)
Deprecated: Use MuteTrackRequest.ProtoReflect.Descriptor instead.
func (*MuteTrackRequest) GetMuted ¶
func (x *MuteTrackRequest) GetMuted() bool
func (*MuteTrackRequest) GetSid ¶
func (x *MuteTrackRequest) GetSid() string
func (*MuteTrackRequest) ProtoMessage ¶
func (*MuteTrackRequest) ProtoMessage()
func (*MuteTrackRequest) ProtoReflect ¶
func (x *MuteTrackRequest) ProtoReflect() protoreflect.Message
func (*MuteTrackRequest) Reset ¶
func (x *MuteTrackRequest) Reset()
func (*MuteTrackRequest) String ¶
func (x *MuteTrackRequest) String() string
type Node ¶
type Node struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Ip string `protobuf:"bytes,2,opt,name=ip,proto3" json:"ip,omitempty"` NumCpus uint32 `protobuf:"varint,3,opt,name=num_cpus,json=numCpus,proto3" json:"num_cpus,omitempty"` Stats *NodeStats `protobuf:"bytes,4,opt,name=stats,proto3" json:"stats,omitempty"` Type NodeType `protobuf:"varint,5,opt,name=type,proto3,enum=livekitx.NodeType" json:"type,omitempty"` State NodeState `protobuf:"varint,6,opt,name=state,proto3,enum=livekitx.NodeState" json:"state,omitempty"` Region string `protobuf:"bytes,7,opt,name=region,proto3" json:"region,omitempty"` // contains filtered or unexported fields }
func (*Node) Descriptor
deprecated
func (*Node) GetNumCpus ¶
func (*Node) ProtoMessage ¶
func (*Node) ProtoMessage()
func (*Node) ProtoReflect ¶
func (x *Node) ProtoReflect() protoreflect.Message
type NodeState ¶
type NodeState int32
func (NodeState) Descriptor ¶
func (NodeState) Descriptor() protoreflect.EnumDescriptor
func (NodeState) EnumDescriptor
deprecated
func (NodeState) Number ¶
func (x NodeState) Number() protoreflect.EnumNumber
func (NodeState) Type ¶
func (NodeState) Type() protoreflect.EnumType
type NodeStats ¶
type NodeStats struct { // when server was started StartedAt int64 `protobuf:"varint,1,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"` // when server last reported its status UpdatedAt int64 `protobuf:"varint,2,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` // room NumRooms int32 `protobuf:"varint,3,opt,name=num_rooms,json=numRooms,proto3" json:"num_rooms,omitempty"` NumClients int32 `protobuf:"varint,4,opt,name=num_clients,json=numClients,proto3" json:"num_clients,omitempty"` NumTracksIn int32 `protobuf:"varint,5,opt,name=num_tracks_in,json=numTracksIn,proto3" json:"num_tracks_in,omitempty"` NumTracksOut int32 `protobuf:"varint,6,opt,name=num_tracks_out,json=numTracksOut,proto3" json:"num_tracks_out,omitempty"` // packet BytesIn uint64 `protobuf:"varint,7,opt,name=bytes_in,json=bytesIn,proto3" json:"bytes_in,omitempty"` BytesOut uint64 `protobuf:"varint,8,opt,name=bytes_out,json=bytesOut,proto3" json:"bytes_out,omitempty"` PacketsIn uint64 `protobuf:"varint,9,opt,name=packets_in,json=packetsIn,proto3" json:"packets_in,omitempty"` PacketsOut uint64 `protobuf:"varint,10,opt,name=packets_out,json=packetsOut,proto3" json:"packets_out,omitempty"` NackTotal uint64 `protobuf:"varint,11,opt,name=nack_total,json=nackTotal,proto3" json:"nack_total,omitempty"` BytesInPerSec float32 `protobuf:"fixed32,12,opt,name=bytes_in_per_sec,json=bytesInPerSec,proto3" json:"bytes_in_per_sec,omitempty"` BytesOutPerSec float32 `protobuf:"fixed32,13,opt,name=bytes_out_per_sec,json=bytesOutPerSec,proto3" json:"bytes_out_per_sec,omitempty"` PacketsInPerSec float32 `protobuf:"fixed32,14,opt,name=packets_in_per_sec,json=packetsInPerSec,proto3" json:"packets_in_per_sec,omitempty"` PacketsOutPerSec float32 `protobuf:"fixed32,15,opt,name=packets_out_per_sec,json=packetsOutPerSec,proto3" json:"packets_out_per_sec,omitempty"` NackPerSec float32 `protobuf:"fixed32,16,opt,name=nack_per_sec,json=nackPerSec,proto3" json:"nack_per_sec,omitempty"` // system NumCpus uint32 `protobuf:"varint,17,opt,name=num_cpus,json=numCpus,proto3" json:"num_cpus,omitempty"` LoadAvgLast1Min float32 `protobuf:"fixed32,18,opt,name=load_avg_last1min,json=loadAvgLast1min,proto3" json:"load_avg_last1min,omitempty"` LoadAvgLast5Min float32 `protobuf:"fixed32,19,opt,name=load_avg_last5min,json=loadAvgLast5min,proto3" json:"load_avg_last5min,omitempty"` LoadAvgLast15Min float32 `protobuf:"fixed32,20,opt,name=load_avg_last15min,json=loadAvgLast15min,proto3" json:"load_avg_last15min,omitempty"` // contains filtered or unexported fields }
func (*NodeStats) Descriptor
deprecated
func (*NodeStats) GetBytesIn ¶
func (*NodeStats) GetBytesInPerSec ¶
func (*NodeStats) GetBytesOut ¶
func (*NodeStats) GetBytesOutPerSec ¶
func (*NodeStats) GetLoadAvgLast15Min ¶
func (*NodeStats) GetLoadAvgLast1Min ¶
func (*NodeStats) GetLoadAvgLast5Min ¶
func (*NodeStats) GetNackPerSec ¶
func (*NodeStats) GetNackTotal ¶
func (*NodeStats) GetNumClients ¶
func (*NodeStats) GetNumCpus ¶
func (*NodeStats) GetNumRooms ¶
func (*NodeStats) GetNumTracksIn ¶
func (*NodeStats) GetNumTracksOut ¶
func (*NodeStats) GetPacketsIn ¶
func (*NodeStats) GetPacketsInPerSec ¶
func (*NodeStats) GetPacketsOut ¶
func (*NodeStats) GetPacketsOutPerSec ¶
func (*NodeStats) GetStartedAt ¶
func (*NodeStats) GetUpdatedAt ¶
func (*NodeStats) ProtoMessage ¶
func (*NodeStats) ProtoMessage()
func (*NodeStats) ProtoReflect ¶
func (x *NodeStats) ProtoReflect() protoreflect.Message
type NodeType ¶
type NodeType int32
func (NodeType) Descriptor ¶
func (NodeType) Descriptor() protoreflect.EnumDescriptor
func (NodeType) EnumDescriptor
deprecated
func (NodeType) Number ¶
func (x NodeType) Number() protoreflect.EnumNumber
func (NodeType) Type ¶
func (NodeType) Type() protoreflect.EnumType
type ParticipantInfo ¶
type ParticipantInfo struct { Sid string `protobuf:"bytes,1,opt,name=sid,proto3" json:"sid,omitempty"` Identity string `protobuf:"bytes,2,opt,name=identity,proto3" json:"identity,omitempty"` State ParticipantInfo_State `protobuf:"varint,3,opt,name=state,proto3,enum=livekitx.ParticipantInfo_State" json:"state,omitempty"` Tracks []*TrackInfo `protobuf:"bytes,4,rep,name=tracks,proto3" json:"tracks,omitempty"` Metadata string `protobuf:"bytes,5,opt,name=metadata,proto3" json:"metadata,omitempty"` // timestamp when participant joined room, in seconds JoinedAt int64 `protobuf:"varint,6,opt,name=joined_at,json=joinedAt,proto3" json:"joined_at,omitempty"` Hidden bool `protobuf:"varint,7,opt,name=hidden,proto3" json:"hidden,omitempty"` Recorder bool `protobuf:"varint,8,opt,name=recorder,proto3" json:"recorder,omitempty"` Name string `protobuf:"bytes,9,opt,name=name,proto3" json:"name,omitempty"` Version uint32 `protobuf:"varint,10,opt,name=version,proto3" json:"version,omitempty"` // contains filtered or unexported fields }
func (*ParticipantInfo) Descriptor
deprecated
func (*ParticipantInfo) Descriptor() ([]byte, []int)
Deprecated: Use ParticipantInfo.ProtoReflect.Descriptor instead.
func (*ParticipantInfo) GetHidden ¶
func (x *ParticipantInfo) GetHidden() bool
func (*ParticipantInfo) GetIdentity ¶
func (x *ParticipantInfo) GetIdentity() string
func (*ParticipantInfo) GetJoinedAt ¶
func (x *ParticipantInfo) GetJoinedAt() int64
func (*ParticipantInfo) GetMetadata ¶
func (x *ParticipantInfo) GetMetadata() string
func (*ParticipantInfo) GetName ¶
func (x *ParticipantInfo) GetName() string
func (*ParticipantInfo) GetRecorder ¶
func (x *ParticipantInfo) GetRecorder() bool
func (*ParticipantInfo) GetSid ¶
func (x *ParticipantInfo) GetSid() string
func (*ParticipantInfo) GetState ¶
func (x *ParticipantInfo) GetState() ParticipantInfo_State
func (*ParticipantInfo) GetTracks ¶
func (x *ParticipantInfo) GetTracks() []*TrackInfo
func (*ParticipantInfo) GetVersion ¶
func (x *ParticipantInfo) GetVersion() uint32
func (*ParticipantInfo) ProtoMessage ¶
func (*ParticipantInfo) ProtoMessage()
func (*ParticipantInfo) ProtoReflect ¶
func (x *ParticipantInfo) ProtoReflect() protoreflect.Message
func (*ParticipantInfo) Reset ¶
func (x *ParticipantInfo) Reset()
func (*ParticipantInfo) String ¶
func (x *ParticipantInfo) String() string
type ParticipantInfo_State ¶
type ParticipantInfo_State int32
const ( // websocket' connected, but not offered yet ParticipantInfo_JOINING ParticipantInfo_State = 0 // server received client offer ParticipantInfo_JOINED ParticipantInfo_State = 1 // ICE connectivity established ParticipantInfo_ACTIVE ParticipantInfo_State = 2 // WS disconnected ParticipantInfo_DISCONNECTED ParticipantInfo_State = 3 )
func (ParticipantInfo_State) Descriptor ¶
func (ParticipantInfo_State) Descriptor() protoreflect.EnumDescriptor
func (ParticipantInfo_State) Enum ¶
func (x ParticipantInfo_State) Enum() *ParticipantInfo_State
func (ParticipantInfo_State) EnumDescriptor
deprecated
func (ParticipantInfo_State) EnumDescriptor() ([]byte, []int)
Deprecated: Use ParticipantInfo_State.Descriptor instead.
func (ParticipantInfo_State) Number ¶
func (x ParticipantInfo_State) Number() protoreflect.EnumNumber
func (ParticipantInfo_State) String ¶
func (x ParticipantInfo_State) String() string
func (ParticipantInfo_State) Type ¶
func (ParticipantInfo_State) Type() protoreflect.EnumType
type ParticipantPermission ¶
type ParticipantPermission struct { // allow participant to subscribe to other tracks in the room CanSubscribe bool `protobuf:"varint,1,opt,name=can_subscribe,json=canSubscribe,proto3" json:"can_subscribe,omitempty"` // allow participant to publish new tracks to room CanPublish bool `protobuf:"varint,2,opt,name=can_publish,json=canPublish,proto3" json:"can_publish,omitempty"` // allow participant to publish data CanPublishData bool `protobuf:"varint,3,opt,name=can_publish_data,json=canPublishData,proto3" json:"can_publish_data,omitempty"` // contains filtered or unexported fields }
func (*ParticipantPermission) Descriptor
deprecated
func (*ParticipantPermission) Descriptor() ([]byte, []int)
Deprecated: Use ParticipantPermission.ProtoReflect.Descriptor instead.
func (*ParticipantPermission) GetCanPublish ¶
func (x *ParticipantPermission) GetCanPublish() bool
func (*ParticipantPermission) GetCanPublishData ¶
func (x *ParticipantPermission) GetCanPublishData() bool
func (*ParticipantPermission) GetCanSubscribe ¶
func (x *ParticipantPermission) GetCanSubscribe() bool
func (*ParticipantPermission) ProtoMessage ¶
func (*ParticipantPermission) ProtoMessage()
func (*ParticipantPermission) ProtoReflect ¶
func (x *ParticipantPermission) ProtoReflect() protoreflect.Message
func (*ParticipantPermission) Reset ¶
func (x *ParticipantPermission) Reset()
func (*ParticipantPermission) String ¶
func (x *ParticipantPermission) String() string
type ParticipantTracks ¶
type ParticipantTracks struct { // participant ID of participant to whom the tracks belong ParticipantSid string `protobuf:"bytes,1,opt,name=participant_sid,json=participantSid,proto3" json:"participant_sid,omitempty"` TrackSids []string `protobuf:"bytes,2,rep,name=track_sids,json=trackSids,proto3" json:"track_sids,omitempty"` // contains filtered or unexported fields }
func (*ParticipantTracks) Descriptor
deprecated
func (*ParticipantTracks) Descriptor() ([]byte, []int)
Deprecated: Use ParticipantTracks.ProtoReflect.Descriptor instead.
func (*ParticipantTracks) GetParticipantSid ¶
func (x *ParticipantTracks) GetParticipantSid() string
func (*ParticipantTracks) GetTrackSids ¶
func (x *ParticipantTracks) GetTrackSids() []string
func (*ParticipantTracks) ProtoMessage ¶
func (*ParticipantTracks) ProtoMessage()
func (*ParticipantTracks) ProtoReflect ¶
func (x *ParticipantTracks) ProtoReflect() protoreflect.Message
func (*ParticipantTracks) Reset ¶
func (x *ParticipantTracks) Reset()
func (*ParticipantTracks) String ¶
func (x *ParticipantTracks) String() string
type ParticipantUpdate ¶
type ParticipantUpdate struct { Participants []*ParticipantInfo `protobuf:"bytes,1,rep,name=participants,proto3" json:"participants,omitempty"` // contains filtered or unexported fields }
func (*ParticipantUpdate) Descriptor
deprecated
func (*ParticipantUpdate) Descriptor() ([]byte, []int)
Deprecated: Use ParticipantUpdate.ProtoReflect.Descriptor instead.
func (*ParticipantUpdate) GetParticipants ¶
func (x *ParticipantUpdate) GetParticipants() []*ParticipantInfo
func (*ParticipantUpdate) ProtoMessage ¶
func (*ParticipantUpdate) ProtoMessage()
func (*ParticipantUpdate) ProtoReflect ¶
func (x *ParticipantUpdate) ProtoReflect() protoreflect.Message
func (*ParticipantUpdate) Reset ¶
func (x *ParticipantUpdate) Reset()
func (*ParticipantUpdate) String ¶
func (x *ParticipantUpdate) String() string
type PictureMessage ¶
type PictureMessage struct {
// contains filtered or unexported fields
}
func (*PictureMessage) Descriptor
deprecated
func (*PictureMessage) Descriptor() ([]byte, []int)
Deprecated: Use PictureMessage.ProtoReflect.Descriptor instead.
func (*PictureMessage) ProtoMessage ¶
func (*PictureMessage) ProtoMessage()
func (*PictureMessage) ProtoReflect ¶
func (x *PictureMessage) ProtoReflect() protoreflect.Message
func (*PictureMessage) Reset ¶
func (x *PictureMessage) Reset()
func (*PictureMessage) String ¶
func (x *PictureMessage) String() string
type PlainMessage ¶
type PlainMessage struct { Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Content []byte `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"` From string `protobuf:"bytes,3,opt,name=from,proto3" json:"from,omitempty"` FromName string `protobuf:"bytes,4,opt,name=from_name,json=fromName,proto3" json:"from_name,omitempty"` To string `protobuf:"bytes,5,opt,name=to,proto3" json:"to,omitempty"` ToName string `protobuf:"bytes,6,opt,name=to_name,json=toName,proto3" json:"to_name,omitempty"` RoomId string `protobuf:"bytes,7,opt,name=room_id,json=roomId,proto3" json:"room_id,omitempty"` CreateTime string `protobuf:"bytes,8,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // contains filtered or unexported fields }
func (*PlainMessage) Descriptor
deprecated
func (*PlainMessage) Descriptor() ([]byte, []int)
Deprecated: Use PlainMessage.ProtoReflect.Descriptor instead.
func (*PlainMessage) GetCode ¶
func (x *PlainMessage) GetCode() int32
func (*PlainMessage) GetContent ¶
func (x *PlainMessage) GetContent() []byte
func (*PlainMessage) GetCreateTime ¶
func (x *PlainMessage) GetCreateTime() string
func (*PlainMessage) GetFrom ¶
func (x *PlainMessage) GetFrom() string
func (*PlainMessage) GetFromName ¶
func (x *PlainMessage) GetFromName() string
func (*PlainMessage) GetRoomId ¶
func (x *PlainMessage) GetRoomId() string
func (*PlainMessage) GetTo ¶
func (x *PlainMessage) GetTo() string
func (*PlainMessage) GetToName ¶
func (x *PlainMessage) GetToName() string
func (*PlainMessage) ProtoMessage ¶
func (*PlainMessage) ProtoMessage()
func (*PlainMessage) ProtoReflect ¶
func (x *PlainMessage) ProtoReflect() protoreflect.Message
func (*PlainMessage) Reset ¶
func (x *PlainMessage) Reset()
func (*PlainMessage) String ¶
func (x *PlainMessage) String() string
type Proto ¶
type Proto struct { Ver int32 `protobuf:"varint,1,opt,name=ver,proto3" json:"ver,omitempty"` Op int32 `protobuf:"varint,2,opt,name=op,proto3" json:"op,omitempty"` Seq int32 `protobuf:"varint,3,opt,name=seq,proto3" json:"seq,omitempty"` Body []byte `protobuf:"bytes,4,opt,name=body,proto3" json:"body,omitempty"` // contains filtered or unexported fields }
im
func (*Proto) Descriptor
deprecated
func (*Proto) ProtoMessage ¶
func (*Proto) ProtoMessage()
func (*Proto) ProtoReflect ¶
func (x *Proto) ProtoReflect() protoreflect.Message
type PushMsg ¶
type PushMsg struct { // Types that are assignable to Message: // // *PushMsg_Text // *PushMsg_Pic Message isPushMsg_Message `protobuf_oneof:"message"` Type PushMsg_Type `protobuf:"varint,3,opt,name=type,proto3,enum=livekitx.PushMsg_Type" json:"type,omitempty"` From *From `protobuf:"bytes,4,opt,name=from,proto3" json:"from,omitempty"` To *Target `protobuf:"bytes,5,opt,name=to,proto3" json:"to,omitempty"` Data string `protobuf:"bytes,6,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*PushMsg) Descriptor
deprecated
func (*PushMsg) GetMessage ¶
func (m *PushMsg) GetMessage() isPushMsg_Message
func (*PushMsg) GetPic ¶
func (x *PushMsg) GetPic() *PictureMessage
func (*PushMsg) GetText ¶
func (x *PushMsg) GetText() *TextMessage
func (*PushMsg) GetType ¶
func (x *PushMsg) GetType() PushMsg_Type
func (*PushMsg) ProtoMessage ¶
func (*PushMsg) ProtoMessage()
func (*PushMsg) ProtoReflect ¶
func (x *PushMsg) ProtoReflect() protoreflect.Message
type PushMsgReply ¶
type PushMsgReply struct {
// contains filtered or unexported fields
}
func (*PushMsgReply) Descriptor
deprecated
func (*PushMsgReply) Descriptor() ([]byte, []int)
Deprecated: Use PushMsgReply.ProtoReflect.Descriptor instead.
func (*PushMsgReply) ProtoMessage ¶
func (*PushMsgReply) ProtoMessage()
func (*PushMsgReply) ProtoReflect ¶
func (x *PushMsgReply) ProtoReflect() protoreflect.Message
func (*PushMsgReply) Reset ¶
func (x *PushMsgReply) Reset()
func (*PushMsgReply) String ¶
func (x *PushMsgReply) String() string
type PushMsgRequest ¶
type PushMsgRequest struct { // Types that are assignable to Message: // // *PushMsgRequest_Text // *PushMsgRequest_Picture Message isPushMsgRequest_Message `protobuf_oneof:"message"` Keys []string `protobuf:"bytes,3,rep,name=keys,proto3" json:"keys,omitempty"` Room string `protobuf:"bytes,4,opt,name=room,proto3" json:"room,omitempty"` Data []byte `protobuf:"bytes,5,opt,name=data,proto3" json:"data,omitempty"` Identity string `protobuf:"bytes,6,opt,name=identity,proto3" json:"identity,omitempty"` Content string `protobuf:"bytes,7,opt,name=content,proto3" json:"content,omitempty"` From *From `protobuf:"bytes,8,opt,name=from,proto3" json:"from,omitempty"` To *Target `protobuf:"bytes,9,opt,name=to,proto3" json:"to,omitempty"` // contains filtered or unexported fields }
func (*PushMsgRequest) Descriptor
deprecated
func (*PushMsgRequest) Descriptor() ([]byte, []int)
Deprecated: Use PushMsgRequest.ProtoReflect.Descriptor instead.
func (*PushMsgRequest) GetContent ¶
func (x *PushMsgRequest) GetContent() string
func (*PushMsgRequest) GetData ¶
func (x *PushMsgRequest) GetData() []byte
func (*PushMsgRequest) GetFrom ¶
func (x *PushMsgRequest) GetFrom() *From
func (*PushMsgRequest) GetIdentity ¶
func (x *PushMsgRequest) GetIdentity() string
func (*PushMsgRequest) GetKeys ¶
func (x *PushMsgRequest) GetKeys() []string
func (*PushMsgRequest) GetMessage ¶
func (m *PushMsgRequest) GetMessage() isPushMsgRequest_Message
func (*PushMsgRequest) GetPicture ¶
func (x *PushMsgRequest) GetPicture() *PictureMessage
func (*PushMsgRequest) GetRoom ¶
func (x *PushMsgRequest) GetRoom() string
func (*PushMsgRequest) GetText ¶
func (x *PushMsgRequest) GetText() *TextMessage
func (*PushMsgRequest) GetTo ¶
func (x *PushMsgRequest) GetTo() *Target
func (*PushMsgRequest) ProtoMessage ¶
func (*PushMsgRequest) ProtoMessage()
func (*PushMsgRequest) ProtoReflect ¶
func (x *PushMsgRequest) ProtoReflect() protoreflect.Message
func (*PushMsgRequest) Reset ¶
func (x *PushMsgRequest) Reset()
func (*PushMsgRequest) String ¶
func (x *PushMsgRequest) String() string
type PushMsgRequest_Picture ¶
type PushMsgRequest_Picture struct {
Picture *PictureMessage `protobuf:"bytes,2,opt,name=picture,proto3,oneof"`
}
type PushMsgRequest_Text ¶
type PushMsgRequest_Text struct {
Text *TextMessage `protobuf:"bytes,1,opt,name=text,proto3,oneof"`
}
type PushMsg_Pic ¶
type PushMsg_Pic struct {
Pic *PictureMessage `protobuf:"bytes,2,opt,name=pic,proto3,oneof"`
}
type PushMsg_Text ¶
type PushMsg_Text struct {
Text *TextMessage `protobuf:"bytes,1,opt,name=text,proto3,oneof"`
}
type PushMsg_Type ¶
type PushMsg_Type int32
const ( PushMsg_PUSH PushMsg_Type = 0 PushMsg_ROOM PushMsg_Type = 1 PushMsg_BROADCAST PushMsg_Type = 2 )
func (PushMsg_Type) Descriptor ¶
func (PushMsg_Type) Descriptor() protoreflect.EnumDescriptor
func (PushMsg_Type) Enum ¶
func (x PushMsg_Type) Enum() *PushMsg_Type
func (PushMsg_Type) EnumDescriptor
deprecated
func (PushMsg_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use PushMsg_Type.Descriptor instead.
func (PushMsg_Type) Number ¶
func (x PushMsg_Type) Number() protoreflect.EnumNumber
func (PushMsg_Type) String ¶
func (x PushMsg_Type) String() string
func (PushMsg_Type) Type ¶
func (PushMsg_Type) Type() protoreflect.EnumType
type RTCNodeMessage ¶
type RTCNodeMessage struct { ParticipantKey string `protobuf:"bytes,1,opt,name=participant_key,json=participantKey,proto3" json:"participant_key,omitempty"` SenderTime int64 `protobuf:"varint,11,opt,name=sender_time,json=senderTime,proto3" json:"sender_time,omitempty"` // Types that are assignable to Message: // // *RTCNodeMessage_StartSession // *RTCNodeMessage_Request // *RTCNodeMessage_RemoveParticipant // *RTCNodeMessage_MuteTrack // *RTCNodeMessage_UpdateParticipant // *RTCNodeMessage_DeleteRoom // *RTCNodeMessage_UpdateSubscriptions // *RTCNodeMessage_SendData // *RTCNodeMessage_UpdateRoomMetadata // *RTCNodeMessage_KeepAlive // *RTCNodeMessage_PushMsg // *RTCNodeMessage_BroadcastRoom // *RTCNodeMessage_Broadcast // *RTCNodeMessage_EndSession // *RTCNodeMessage_Subscribe Message isRTCNodeMessage_Message `protobuf_oneof:"message"` // contains filtered or unexported fields }
message to RTC nodes
func (*RTCNodeMessage) Descriptor
deprecated
func (*RTCNodeMessage) Descriptor() ([]byte, []int)
Deprecated: Use RTCNodeMessage.ProtoReflect.Descriptor instead.
func (*RTCNodeMessage) GetBroadcast ¶
func (x *RTCNodeMessage) GetBroadcast() *BroadcastRequest
func (*RTCNodeMessage) GetBroadcastRoom ¶
func (x *RTCNodeMessage) GetBroadcastRoom() *BroadcastRoomRequest
func (*RTCNodeMessage) GetDeleteRoom ¶
func (x *RTCNodeMessage) GetDeleteRoom() *DeleteRoomRequest
func (*RTCNodeMessage) GetEndSession ¶
func (x *RTCNodeMessage) GetEndSession() *EndSession
func (*RTCNodeMessage) GetKeepAlive ¶
func (x *RTCNodeMessage) GetKeepAlive() *KeepAlive
func (*RTCNodeMessage) GetMessage ¶
func (m *RTCNodeMessage) GetMessage() isRTCNodeMessage_Message
func (*RTCNodeMessage) GetMuteTrack ¶
func (x *RTCNodeMessage) GetMuteTrack() *MuteRoomTrackRequest
func (*RTCNodeMessage) GetParticipantKey ¶
func (x *RTCNodeMessage) GetParticipantKey() string
func (*RTCNodeMessage) GetPushMsg ¶
func (x *RTCNodeMessage) GetPushMsg() *PushMsgRequest
func (*RTCNodeMessage) GetRemoveParticipant ¶
func (x *RTCNodeMessage) GetRemoveParticipant() *RoomParticipantIdentity
func (*RTCNodeMessage) GetRequest ¶
func (x *RTCNodeMessage) GetRequest() *SignalRequest
func (*RTCNodeMessage) GetSendData ¶
func (x *RTCNodeMessage) GetSendData() *SendDataRequest
func (*RTCNodeMessage) GetSenderTime ¶
func (x *RTCNodeMessage) GetSenderTime() int64
func (*RTCNodeMessage) GetStartSession ¶
func (x *RTCNodeMessage) GetStartSession() *StartSession
func (*RTCNodeMessage) GetSubscribe ¶
func (x *RTCNodeMessage) GetSubscribe() *Subscribe
func (*RTCNodeMessage) GetUpdateParticipant ¶
func (x *RTCNodeMessage) GetUpdateParticipant() *UpdateParticipantRequest
func (*RTCNodeMessage) GetUpdateRoomMetadata ¶
func (x *RTCNodeMessage) GetUpdateRoomMetadata() *UpdateRoomMetadataRequest
func (*RTCNodeMessage) GetUpdateSubscriptions ¶
func (x *RTCNodeMessage) GetUpdateSubscriptions() *UpdateSubscriptionsRequest
func (*RTCNodeMessage) ProtoMessage ¶
func (*RTCNodeMessage) ProtoMessage()
func (*RTCNodeMessage) ProtoReflect ¶
func (x *RTCNodeMessage) ProtoReflect() protoreflect.Message
func (*RTCNodeMessage) Reset ¶
func (x *RTCNodeMessage) Reset()
func (*RTCNodeMessage) String ¶
func (x *RTCNodeMessage) String() string
type RTCNodeMessage_Broadcast ¶
type RTCNodeMessage_Broadcast struct {
Broadcast *BroadcastRequest `protobuf:"bytes,15,opt,name=broadcast,proto3,oneof"`
}
type RTCNodeMessage_BroadcastRoom ¶
type RTCNodeMessage_BroadcastRoom struct {
BroadcastRoom *BroadcastRoomRequest `protobuf:"bytes,14,opt,name=broadcast_room,json=broadcastRoom,proto3,oneof"`
}
type RTCNodeMessage_DeleteRoom ¶
type RTCNodeMessage_DeleteRoom struct {
DeleteRoom *DeleteRoomRequest `protobuf:"bytes,7,opt,name=delete_room,json=deleteRoom,proto3,oneof"`
}
type RTCNodeMessage_EndSession ¶
type RTCNodeMessage_EndSession struct {
EndSession *EndSession `protobuf:"bytes,16,opt,name=end_session,json=endSession,proto3,oneof"`
}
type RTCNodeMessage_KeepAlive ¶
type RTCNodeMessage_KeepAlive struct {
KeepAlive *KeepAlive `protobuf:"bytes,12,opt,name=keep_alive,json=keepAlive,proto3,oneof"`
}
type RTCNodeMessage_MuteTrack ¶
type RTCNodeMessage_MuteTrack struct {
MuteTrack *MuteRoomTrackRequest `protobuf:"bytes,5,opt,name=mute_track,json=muteTrack,proto3,oneof"`
}
type RTCNodeMessage_PushMsg ¶
type RTCNodeMessage_PushMsg struct {
PushMsg *PushMsgRequest `protobuf:"bytes,13,opt,name=push_msg,json=pushMsg,proto3,oneof"`
}
type RTCNodeMessage_RemoveParticipant ¶
type RTCNodeMessage_RemoveParticipant struct { // internal messages RemoveParticipant *RoomParticipantIdentity `protobuf:"bytes,4,opt,name=remove_participant,json=removeParticipant,proto3,oneof"` }
type RTCNodeMessage_Request ¶
type RTCNodeMessage_Request struct {
Request *SignalRequest `protobuf:"bytes,3,opt,name=request,proto3,oneof"`
}
type RTCNodeMessage_SendData ¶
type RTCNodeMessage_SendData struct {
SendData *SendDataRequest `protobuf:"bytes,9,opt,name=send_data,json=sendData,proto3,oneof"`
}
type RTCNodeMessage_StartSession ¶
type RTCNodeMessage_StartSession struct {
StartSession *StartSession `protobuf:"bytes,2,opt,name=start_session,json=startSession,proto3,oneof"`
}
type RTCNodeMessage_Subscribe ¶
type RTCNodeMessage_Subscribe struct {
Subscribe *Subscribe `protobuf:"bytes,17,opt,name=subscribe,proto3,oneof"`
}
type RTCNodeMessage_UpdateParticipant ¶
type RTCNodeMessage_UpdateParticipant struct {
UpdateParticipant *UpdateParticipantRequest `protobuf:"bytes,6,opt,name=update_participant,json=updateParticipant,proto3,oneof"`
}
type RTCNodeMessage_UpdateRoomMetadata ¶
type RTCNodeMessage_UpdateRoomMetadata struct {
UpdateRoomMetadata *UpdateRoomMetadataRequest `protobuf:"bytes,10,opt,name=update_room_metadata,json=updateRoomMetadata,proto3,oneof"`
}
type RTCNodeMessage_UpdateSubscriptions ¶
type RTCNodeMessage_UpdateSubscriptions struct {
UpdateSubscriptions *UpdateSubscriptionsRequest `protobuf:"bytes,8,opt,name=update_subscriptions,json=updateSubscriptions,proto3,oneof"`
}
type RecordingInfo ¶
type RecordingInfo struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` RoomName string `protobuf:"bytes,2,opt,name=room_name,json=roomName,proto3" json:"room_name,omitempty"` Active bool `protobuf:"varint,3,opt,name=active,proto3" json:"active,omitempty"` Error string `protobuf:"bytes,4,opt,name=error,proto3" json:"error,omitempty"` File *FileResult `protobuf:"bytes,5,opt,name=file,proto3" json:"file,omitempty"` Rtmp []*RtmpResult `protobuf:"bytes,6,rep,name=rtmp,proto3" json:"rtmp,omitempty"` // contains filtered or unexported fields }
func (*RecordingInfo) Descriptor
deprecated
func (*RecordingInfo) Descriptor() ([]byte, []int)
Deprecated: Use RecordingInfo.ProtoReflect.Descriptor instead.
func (*RecordingInfo) GetActive ¶
func (x *RecordingInfo) GetActive() bool
func (*RecordingInfo) GetError ¶
func (x *RecordingInfo) GetError() string
func (*RecordingInfo) GetFile ¶
func (x *RecordingInfo) GetFile() *FileResult
func (*RecordingInfo) GetId ¶
func (x *RecordingInfo) GetId() string
func (*RecordingInfo) GetRoomName ¶
func (x *RecordingInfo) GetRoomName() string
func (*RecordingInfo) GetRtmp ¶
func (x *RecordingInfo) GetRtmp() []*RtmpResult
func (*RecordingInfo) ProtoMessage ¶
func (*RecordingInfo) ProtoMessage()
func (*RecordingInfo) ProtoReflect ¶
func (x *RecordingInfo) ProtoReflect() protoreflect.Message
func (*RecordingInfo) Reset ¶
func (x *RecordingInfo) Reset()
func (*RecordingInfo) String ¶
func (x *RecordingInfo) String() string
type RecordingOptions ¶
type RecordingOptions struct { Preset RecordingPreset `protobuf:"varint,1,opt,name=preset,proto3,enum=livekitx.RecordingPreset" json:"preset,omitempty"` Width int32 `protobuf:"varint,2,opt,name=width,proto3" json:"width,omitempty"` // default 1920 Height int32 `protobuf:"varint,3,opt,name=height,proto3" json:"height,omitempty"` // default 1080 Depth int32 `protobuf:"varint,4,opt,name=depth,proto3" json:"depth,omitempty"` // default 24 Framerate int32 `protobuf:"varint,5,opt,name=framerate,proto3" json:"framerate,omitempty"` // default 30 AudioBitrate int32 `protobuf:"varint,6,opt,name=audio_bitrate,json=audioBitrate,proto3" json:"audio_bitrate,omitempty"` // default 128 AudioFrequency int32 `protobuf:"varint,7,opt,name=audio_frequency,json=audioFrequency,proto3" json:"audio_frequency,omitempty"` // default 44100 VideoBitrate int32 `protobuf:"varint,8,opt,name=video_bitrate,json=videoBitrate,proto3" json:"video_bitrate,omitempty"` // default 4500 Profile string `protobuf:"bytes,9,opt,name=profile,proto3" json:"profile,omitempty"` // baseline, main, or high. default main // contains filtered or unexported fields }
func (*RecordingOptions) Descriptor
deprecated
func (*RecordingOptions) Descriptor() ([]byte, []int)
Deprecated: Use RecordingOptions.ProtoReflect.Descriptor instead.
func (*RecordingOptions) GetAudioBitrate ¶
func (x *RecordingOptions) GetAudioBitrate() int32
func (*RecordingOptions) GetAudioFrequency ¶
func (x *RecordingOptions) GetAudioFrequency() int32
func (*RecordingOptions) GetDepth ¶
func (x *RecordingOptions) GetDepth() int32
func (*RecordingOptions) GetFramerate ¶
func (x *RecordingOptions) GetFramerate() int32
func (*RecordingOptions) GetHeight ¶
func (x *RecordingOptions) GetHeight() int32
func (*RecordingOptions) GetPreset ¶
func (x *RecordingOptions) GetPreset() RecordingPreset
func (*RecordingOptions) GetProfile ¶
func (x *RecordingOptions) GetProfile() string
func (*RecordingOptions) GetVideoBitrate ¶
func (x *RecordingOptions) GetVideoBitrate() int32
func (*RecordingOptions) GetWidth ¶
func (x *RecordingOptions) GetWidth() int32
func (*RecordingOptions) ProtoMessage ¶
func (*RecordingOptions) ProtoMessage()
func (*RecordingOptions) ProtoReflect ¶
func (x *RecordingOptions) ProtoReflect() protoreflect.Message
func (*RecordingOptions) Reset ¶
func (x *RecordingOptions) Reset()
func (*RecordingOptions) String ¶
func (x *RecordingOptions) String() string
type RecordingPreset ¶
type RecordingPreset int32
const ( // All presets use 44100 Hz, 128k bitrate for audio and a color depth of 24 RecordingPreset_NONE RecordingPreset = 0 RecordingPreset_HD_30 RecordingPreset = 1 // 720p, 30fps, 3000 kpbs RecordingPreset_HD_60 RecordingPreset = 2 // 720p, 60fps, 4500 kbps RecordingPreset_FULL_HD_30 RecordingPreset = 3 // 1080p, 30fps, 4500 kbps RecordingPreset_FULL_HD_60 RecordingPreset = 4 // 1080p, 60fps, 6000 kbps )
func (RecordingPreset) Descriptor ¶
func (RecordingPreset) Descriptor() protoreflect.EnumDescriptor
func (RecordingPreset) Enum ¶
func (x RecordingPreset) Enum() *RecordingPreset
func (RecordingPreset) EnumDescriptor
deprecated
func (RecordingPreset) EnumDescriptor() ([]byte, []int)
Deprecated: Use RecordingPreset.Descriptor instead.
func (RecordingPreset) Number ¶
func (x RecordingPreset) Number() protoreflect.EnumNumber
func (RecordingPreset) String ¶
func (x RecordingPreset) String() string
func (RecordingPreset) Type ¶
func (RecordingPreset) Type() protoreflect.EnumType
type RecordingRequest ¶
type RecordingRequest struct { RequestId string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` // Types that are assignable to Request: // // *RecordingRequest_Start // *RecordingRequest_AddOutput // *RecordingRequest_RemoveOutput // *RecordingRequest_End Request isRecordingRequest_Request `protobuf_oneof:"request"` // contains filtered or unexported fields }
func (*RecordingRequest) Descriptor
deprecated
func (*RecordingRequest) Descriptor() ([]byte, []int)
Deprecated: Use RecordingRequest.ProtoReflect.Descriptor instead.
func (*RecordingRequest) GetAddOutput ¶
func (x *RecordingRequest) GetAddOutput() *AddOutputRequest
func (*RecordingRequest) GetEnd ¶
func (x *RecordingRequest) GetEnd() *EndRecordingRequest
func (*RecordingRequest) GetRemoveOutput ¶
func (x *RecordingRequest) GetRemoveOutput() *RemoveOutputRequest
func (*RecordingRequest) GetRequest ¶
func (m *RecordingRequest) GetRequest() isRecordingRequest_Request
func (*RecordingRequest) GetRequestId ¶
func (x *RecordingRequest) GetRequestId() string
func (*RecordingRequest) GetStart ¶
func (x *RecordingRequest) GetStart() *StartRecordingRequest
func (*RecordingRequest) ProtoMessage ¶
func (*RecordingRequest) ProtoMessage()
func (*RecordingRequest) ProtoReflect ¶
func (x *RecordingRequest) ProtoReflect() protoreflect.Message
func (*RecordingRequest) Reset ¶
func (x *RecordingRequest) Reset()
func (*RecordingRequest) String ¶
func (x *RecordingRequest) String() string
type RecordingRequest_AddOutput ¶
type RecordingRequest_AddOutput struct {
AddOutput *AddOutputRequest `protobuf:"bytes,3,opt,name=add_output,json=addOutput,proto3,oneof"`
}
type RecordingRequest_End ¶
type RecordingRequest_End struct {
End *EndRecordingRequest `protobuf:"bytes,5,opt,name=end,proto3,oneof"`
}
type RecordingRequest_RemoveOutput ¶
type RecordingRequest_RemoveOutput struct {
RemoveOutput *RemoveOutputRequest `protobuf:"bytes,4,opt,name=remove_output,json=removeOutput,proto3,oneof"`
}
type RecordingRequest_Start ¶
type RecordingRequest_Start struct {
Start *StartRecordingRequest `protobuf:"bytes,2,opt,name=start,proto3,oneof"`
}
type RecordingReservation ¶
type RecordingReservation struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` SubmittedAt int64 `protobuf:"varint,2,opt,name=submitted_at,json=submittedAt,proto3" json:"submitted_at,omitempty"` // contains filtered or unexported fields }
func (*RecordingReservation) Descriptor
deprecated
func (*RecordingReservation) Descriptor() ([]byte, []int)
Deprecated: Use RecordingReservation.ProtoReflect.Descriptor instead.
func (*RecordingReservation) GetId ¶
func (x *RecordingReservation) GetId() string
func (*RecordingReservation) GetSubmittedAt ¶
func (x *RecordingReservation) GetSubmittedAt() int64
func (*RecordingReservation) ProtoMessage ¶
func (*RecordingReservation) ProtoMessage()
func (*RecordingReservation) ProtoReflect ¶
func (x *RecordingReservation) ProtoReflect() protoreflect.Message
func (*RecordingReservation) Reset ¶
func (x *RecordingReservation) Reset()
func (*RecordingReservation) String ¶
func (x *RecordingReservation) String() string
type RecordingResponse ¶
type RecordingResponse struct { RequestId string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` // contains filtered or unexported fields }
func (*RecordingResponse) Descriptor
deprecated
func (*RecordingResponse) Descriptor() ([]byte, []int)
Deprecated: Use RecordingResponse.ProtoReflect.Descriptor instead.
func (*RecordingResponse) GetError ¶
func (x *RecordingResponse) GetError() string
func (*RecordingResponse) GetRequestId ¶
func (x *RecordingResponse) GetRequestId() string
func (*RecordingResponse) ProtoMessage ¶
func (*RecordingResponse) ProtoMessage()
func (*RecordingResponse) ProtoReflect ¶
func (x *RecordingResponse) ProtoReflect() protoreflect.Message
func (*RecordingResponse) Reset ¶
func (x *RecordingResponse) Reset()
func (*RecordingResponse) String ¶
func (x *RecordingResponse) String() string
type RecordingService ¶
type RecordingService interface { // Starts a room StartRecording(context.Context, *StartRecordingRequest) (*StartRecordingResponse, error) // Adds an rtmp output to a live recording AddOutput(context.Context, *AddOutputRequest) (*google_protobuf.Empty, error) // Removes an rtmp output from a live recording RemoveOutput(context.Context, *RemoveOutputRequest) (*google_protobuf.Empty, error) // Ends a recording EndRecording(context.Context, *EndRecordingRequest) (*google_protobuf.Empty, error) }
Recording service that can be performed on any node they are Twirp-based HTTP req/responses
func NewRecordingServiceJSONClient ¶
func NewRecordingServiceJSONClient(baseURL string, client HTTPClient, opts ...twirp.ClientOption) RecordingService
NewRecordingServiceJSONClient creates a JSON client that implements the RecordingService interface. It communicates using JSON and can be configured with a custom HTTPClient.
func NewRecordingServiceProtobufClient ¶
func NewRecordingServiceProtobufClient(baseURL string, client HTTPClient, opts ...twirp.ClientOption) RecordingService
NewRecordingServiceProtobufClient creates a Protobuf client that implements the RecordingService interface. It communicates using Protobuf and can be configured with a custom HTTPClient.
type RecordingTemplate ¶
type RecordingTemplate struct { Layout string `protobuf:"bytes,1,opt,name=layout,proto3" json:"layout,omitempty"` RoomName string `protobuf:"bytes,2,opt,name=room_name,json=roomName,proto3" json:"room_name,omitempty"` BaseUrl string `protobuf:"bytes,3,opt,name=base_url,json=baseUrl,proto3" json:"base_url,omitempty"` // defaults to https://recorder.livekit.io // contains filtered or unexported fields }
func (*RecordingTemplate) Descriptor
deprecated
func (*RecordingTemplate) Descriptor() ([]byte, []int)
Deprecated: Use RecordingTemplate.ProtoReflect.Descriptor instead.
func (*RecordingTemplate) GetBaseUrl ¶
func (x *RecordingTemplate) GetBaseUrl() string
func (*RecordingTemplate) GetLayout ¶
func (x *RecordingTemplate) GetLayout() string
func (*RecordingTemplate) GetRoomName ¶
func (x *RecordingTemplate) GetRoomName() string
func (*RecordingTemplate) ProtoMessage ¶
func (*RecordingTemplate) ProtoMessage()
func (*RecordingTemplate) ProtoReflect ¶
func (x *RecordingTemplate) ProtoReflect() protoreflect.Message
func (*RecordingTemplate) Reset ¶
func (x *RecordingTemplate) Reset()
func (*RecordingTemplate) String ¶
func (x *RecordingTemplate) String() string
type RemoveOutputRequest ¶
type RemoveOutputRequest struct { RecordingId string `protobuf:"bytes,1,opt,name=recording_id,json=recordingId,proto3" json:"recording_id,omitempty"` RtmpUrl string `protobuf:"bytes,2,opt,name=rtmp_url,json=rtmpUrl,proto3" json:"rtmp_url,omitempty"` // contains filtered or unexported fields }
func (*RemoveOutputRequest) Descriptor
deprecated
func (*RemoveOutputRequest) Descriptor() ([]byte, []int)
Deprecated: Use RemoveOutputRequest.ProtoReflect.Descriptor instead.
func (*RemoveOutputRequest) GetRecordingId ¶
func (x *RemoveOutputRequest) GetRecordingId() string
func (*RemoveOutputRequest) GetRtmpUrl ¶
func (x *RemoveOutputRequest) GetRtmpUrl() string
func (*RemoveOutputRequest) ProtoMessage ¶
func (*RemoveOutputRequest) ProtoMessage()
func (*RemoveOutputRequest) ProtoReflect ¶
func (x *RemoveOutputRequest) ProtoReflect() protoreflect.Message
func (*RemoveOutputRequest) Reset ¶
func (x *RemoveOutputRequest) Reset()
func (*RemoveOutputRequest) String ¶
func (x *RemoveOutputRequest) String() string
type RemoveParticipant ¶
type RemoveParticipant struct { ParticipantId string `protobuf:"bytes,1,opt,name=participant_id,json=participantId,proto3" json:"participant_id,omitempty"` // contains filtered or unexported fields }
func (*RemoveParticipant) Descriptor
deprecated
func (*RemoveParticipant) Descriptor() ([]byte, []int)
Deprecated: Use RemoveParticipant.ProtoReflect.Descriptor instead.
func (*RemoveParticipant) GetParticipantId ¶
func (x *RemoveParticipant) GetParticipantId() string
func (*RemoveParticipant) ProtoMessage ¶
func (*RemoveParticipant) ProtoMessage()
func (*RemoveParticipant) ProtoReflect ¶
func (x *RemoveParticipant) ProtoReflect() protoreflect.Message
func (*RemoveParticipant) Reset ¶
func (x *RemoveParticipant) Reset()
func (*RemoveParticipant) String ¶
func (x *RemoveParticipant) String() string
type RemoveParticipantResponse ¶
type RemoveParticipantResponse struct {
// contains filtered or unexported fields
}
func (*RemoveParticipantResponse) Descriptor
deprecated
func (*RemoveParticipantResponse) Descriptor() ([]byte, []int)
Deprecated: Use RemoveParticipantResponse.ProtoReflect.Descriptor instead.
func (*RemoveParticipantResponse) ProtoMessage ¶
func (*RemoveParticipantResponse) ProtoMessage()
func (*RemoveParticipantResponse) ProtoReflect ¶
func (x *RemoveParticipantResponse) ProtoReflect() protoreflect.Message
func (*RemoveParticipantResponse) Reset ¶
func (x *RemoveParticipantResponse) Reset()
func (*RemoveParticipantResponse) String ¶
func (x *RemoveParticipantResponse) String() string
type Room ¶
type Room struct { Sid string `protobuf:"bytes,1,opt,name=sid,proto3" json:"sid,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` EmptyTimeout uint32 `protobuf:"varint,3,opt,name=empty_timeout,json=emptyTimeout,proto3" json:"empty_timeout,omitempty"` MaxParticipants uint32 `protobuf:"varint,4,opt,name=max_participants,json=maxParticipants,proto3" json:"max_participants,omitempty"` CreationTime int64 `protobuf:"varint,5,opt,name=creation_time,json=creationTime,proto3" json:"creation_time,omitempty"` TurnPassword string `protobuf:"bytes,6,opt,name=turn_password,json=turnPassword,proto3" json:"turn_password,omitempty"` EnabledCodecs []*Codec `protobuf:"bytes,7,rep,name=enabled_codecs,json=enabledCodecs,proto3" json:"enabled_codecs,omitempty"` Metadata string `protobuf:"bytes,8,opt,name=metadata,proto3" json:"metadata,omitempty"` NumParticipants uint32 `protobuf:"varint,9,opt,name=num_participants,json=numParticipants,proto3" json:"num_participants,omitempty"` ActiveRecording bool `protobuf:"varint,10,opt,name=active_recording,json=activeRecording,proto3" json:"active_recording,omitempty"` // contains filtered or unexported fields }
func (*Room) Descriptor
deprecated
func (*Room) GetActiveRecording ¶
func (*Room) GetCreationTime ¶
func (*Room) GetEmptyTimeout ¶
func (*Room) GetEnabledCodecs ¶
func (*Room) GetMaxParticipants ¶
func (*Room) GetMetadata ¶
func (*Room) GetNumParticipants ¶
func (*Room) GetTurnPassword ¶
func (*Room) ProtoMessage ¶
func (*Room) ProtoMessage()
func (*Room) ProtoReflect ¶
func (x *Room) ProtoReflect() protoreflect.Message
type RoomParticipantIdentity ¶
type RoomParticipantIdentity struct { // name of the room Room string `protobuf:"bytes,1,opt,name=room,proto3" json:"room,omitempty"` // identity of the participant Identity string `protobuf:"bytes,2,opt,name=identity,proto3" json:"identity,omitempty"` // contains filtered or unexported fields }
func (*RoomParticipantIdentity) Descriptor
deprecated
func (*RoomParticipantIdentity) Descriptor() ([]byte, []int)
Deprecated: Use RoomParticipantIdentity.ProtoReflect.Descriptor instead.
func (*RoomParticipantIdentity) GetIdentity ¶
func (x *RoomParticipantIdentity) GetIdentity() string
func (*RoomParticipantIdentity) GetRoom ¶
func (x *RoomParticipantIdentity) GetRoom() string
func (*RoomParticipantIdentity) ProtoMessage ¶
func (*RoomParticipantIdentity) ProtoMessage()
func (*RoomParticipantIdentity) ProtoReflect ¶
func (x *RoomParticipantIdentity) ProtoReflect() protoreflect.Message
func (*RoomParticipantIdentity) Reset ¶
func (x *RoomParticipantIdentity) Reset()
func (*RoomParticipantIdentity) String ¶
func (x *RoomParticipantIdentity) String() string
type RoomService ¶
type RoomService interface { // Creates a room with settings. Requires `roomCreate` permission. // This method is optional; rooms are automatically created when clients connect to them for the first time. CreateRoom(context.Context, *CreateRoomRequest) (*Room, error) // List rooms that are active on the server. Requires `roomList` permission. ListRooms(context.Context, *ListRoomsRequest) (*ListRoomsResponse, error) // Deletes an existing room by name or id. Requires `roomCreate` permission. // DeleteRoom will disconnect all participants that are currently in the room. DeleteRoom(context.Context, *DeleteRoomRequest) (*DeleteRoomResponse, error) // Lists participants in a room, Requires `roomAdmin` ListParticipants(context.Context, *ListParticipantsRequest) (*ListParticipantsResponse, error) // Get information on a specific participant, Requires `roomAdmin` GetParticipant(context.Context, *RoomParticipantIdentity) (*ParticipantInfo, error) // Removes a participant from room. Requires `roomAdmin` RemoveParticipant(context.Context, *RoomParticipantIdentity) (*RemoveParticipantResponse, error) // Mute/unmute a participant's track, Requires `roomAdmin` MutePublishedTrack(context.Context, *MuteRoomTrackRequest) (*MuteRoomTrackResponse, error) // Update participant metadata, will cause updates to be broadcasted to everyone in the room. Requires `roomAdmin` UpdateParticipant(context.Context, *UpdateParticipantRequest) (*ParticipantInfo, error) // Subscribes or unsubscribe a participant from tracks. Requires `roomAdmin` UpdateSubscriptions(context.Context, *UpdateSubscriptionsRequest) (*UpdateSubscriptionsResponse, error) // Send data over data channel to participants in a room, Requires `roomAdmin` SendData(context.Context, *SendDataRequest) (*SendDataResponse, error) // Update room metadata, will cause updates to be broadcasted to everyone in the room, Requires `roomAdmin` UpdateRoomMetadata(context.Context, *UpdateRoomMetadataRequest) (*Room, error) // PushMsg push by identity PushMsg(context.Context, *PushMsgRequest) (*PushMsgReply, error) Broadcast(context.Context, *BroadcastRequest) (*BroadcastReply, error) // BroadcastRoom broadcast to one room BroadcastRoom(context.Context, *BroadcastRoomRequest) (*BroadcastRoomReply, error) }
Room service that can be performed on any node they are Twirp-based HTTP req/responses
func NewRoomServiceJSONClient ¶
func NewRoomServiceJSONClient(baseURL string, client HTTPClient, opts ...twirp.ClientOption) RoomService
NewRoomServiceJSONClient creates a JSON client that implements the RoomService interface. It communicates using JSON and can be configured with a custom HTTPClient.
func NewRoomServiceProtobufClient ¶
func NewRoomServiceProtobufClient(baseURL string, client HTTPClient, opts ...twirp.ClientOption) RoomService
NewRoomServiceProtobufClient creates a Protobuf client that implements the RoomService interface. It communicates using Protobuf and can be configured with a custom HTTPClient.
type RoomUpdate ¶
type RoomUpdate struct { Room *Room `protobuf:"bytes,1,opt,name=room,proto3" json:"room,omitempty"` // contains filtered or unexported fields }
func (*RoomUpdate) Descriptor
deprecated
func (*RoomUpdate) Descriptor() ([]byte, []int)
Deprecated: Use RoomUpdate.ProtoReflect.Descriptor instead.
func (*RoomUpdate) GetRoom ¶
func (x *RoomUpdate) GetRoom() *Room
func (*RoomUpdate) ProtoMessage ¶
func (*RoomUpdate) ProtoMessage()
func (*RoomUpdate) ProtoReflect ¶
func (x *RoomUpdate) ProtoReflect() protoreflect.Message
func (*RoomUpdate) Reset ¶
func (x *RoomUpdate) Reset()
func (*RoomUpdate) String ¶
func (x *RoomUpdate) String() string
type RtmpOutput ¶
type RtmpOutput struct { Urls []string `protobuf:"bytes,1,rep,name=urls,proto3" json:"urls,omitempty"` // contains filtered or unexported fields }
func (*RtmpOutput) Descriptor
deprecated
func (*RtmpOutput) Descriptor() ([]byte, []int)
Deprecated: Use RtmpOutput.ProtoReflect.Descriptor instead.
func (*RtmpOutput) GetUrls ¶
func (x *RtmpOutput) GetUrls() []string
func (*RtmpOutput) ProtoMessage ¶
func (*RtmpOutput) ProtoMessage()
func (*RtmpOutput) ProtoReflect ¶
func (x *RtmpOutput) ProtoReflect() protoreflect.Message
func (*RtmpOutput) Reset ¶
func (x *RtmpOutput) Reset()
func (*RtmpOutput) String ¶
func (x *RtmpOutput) String() string
type RtmpResult ¶
type RtmpResult struct { StreamUrl string `protobuf:"bytes,1,opt,name=stream_url,json=streamUrl,proto3" json:"stream_url,omitempty"` Duration int64 `protobuf:"varint,2,opt,name=duration,proto3" json:"duration,omitempty"` // contains filtered or unexported fields }
func (*RtmpResult) Descriptor
deprecated
func (*RtmpResult) Descriptor() ([]byte, []int)
Deprecated: Use RtmpResult.ProtoReflect.Descriptor instead.
func (*RtmpResult) GetDuration ¶
func (x *RtmpResult) GetDuration() int64
func (*RtmpResult) GetStreamUrl ¶
func (x *RtmpResult) GetStreamUrl() string
func (*RtmpResult) ProtoMessage ¶
func (*RtmpResult) ProtoMessage()
func (*RtmpResult) ProtoReflect ¶
func (x *RtmpResult) ProtoReflect() protoreflect.Message
func (*RtmpResult) Reset ¶
func (x *RtmpResult) Reset()
func (*RtmpResult) String ¶
func (x *RtmpResult) String() string
type SendDataRequest ¶
type SendDataRequest struct { Room string `protobuf:"bytes,1,opt,name=room,proto3" json:"room,omitempty"` Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` Kind DataPacket_Kind `protobuf:"varint,3,opt,name=kind,proto3,enum=livekitx.DataPacket_Kind" json:"kind,omitempty"` DestinationSids []string `protobuf:"bytes,4,rep,name=destination_sids,json=destinationSids,proto3" json:"destination_sids,omitempty"` Identity string `protobuf:"bytes,5,opt,name=identity,proto3" json:"identity,omitempty"` // contains filtered or unexported fields }
func (*SendDataRequest) Descriptor
deprecated
func (*SendDataRequest) Descriptor() ([]byte, []int)
Deprecated: Use SendDataRequest.ProtoReflect.Descriptor instead.
func (*SendDataRequest) GetData ¶
func (x *SendDataRequest) GetData() []byte
func (*SendDataRequest) GetDestinationSids ¶
func (x *SendDataRequest) GetDestinationSids() []string
func (*SendDataRequest) GetIdentity ¶
func (x *SendDataRequest) GetIdentity() string
func (*SendDataRequest) GetKind ¶
func (x *SendDataRequest) GetKind() DataPacket_Kind
func (*SendDataRequest) GetRoom ¶
func (x *SendDataRequest) GetRoom() string
func (*SendDataRequest) ProtoMessage ¶
func (*SendDataRequest) ProtoMessage()
func (*SendDataRequest) ProtoReflect ¶
func (x *SendDataRequest) ProtoReflect() protoreflect.Message
func (*SendDataRequest) Reset ¶
func (x *SendDataRequest) Reset()
func (*SendDataRequest) String ¶
func (x *SendDataRequest) String() string
type SendDataResponse ¶
type SendDataResponse struct {
// contains filtered or unexported fields
}
func (*SendDataResponse) Descriptor
deprecated
func (*SendDataResponse) Descriptor() ([]byte, []int)
Deprecated: Use SendDataResponse.ProtoReflect.Descriptor instead.
func (*SendDataResponse) ProtoMessage ¶
func (*SendDataResponse) ProtoMessage()
func (*SendDataResponse) ProtoReflect ¶
func (x *SendDataResponse) ProtoReflect() protoreflect.Message
func (*SendDataResponse) Reset ¶
func (x *SendDataResponse) Reset()
func (*SendDataResponse) String ¶
func (x *SendDataResponse) String() string
type SessionDescription ¶
type SessionDescription struct { Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` // "answer" | "offer" | "pranswer" | "rollback" Sdp string `protobuf:"bytes,2,opt,name=sdp,proto3" json:"sdp,omitempty"` // contains filtered or unexported fields }
func (*SessionDescription) Descriptor
deprecated
func (*SessionDescription) Descriptor() ([]byte, []int)
Deprecated: Use SessionDescription.ProtoReflect.Descriptor instead.
func (*SessionDescription) GetSdp ¶
func (x *SessionDescription) GetSdp() string
func (*SessionDescription) GetType ¶
func (x *SessionDescription) GetType() string
func (*SessionDescription) ProtoMessage ¶
func (*SessionDescription) ProtoMessage()
func (*SessionDescription) ProtoReflect ¶
func (x *SessionDescription) ProtoReflect() protoreflect.Message
func (*SessionDescription) Reset ¶
func (x *SessionDescription) Reset()
func (*SessionDescription) String ¶
func (x *SessionDescription) String() string
type SignalNodeMessage ¶
type SignalNodeMessage struct { ConnectionId string `protobuf:"bytes,1,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"` // Types that are assignable to Message: // // *SignalNodeMessage_Response // *SignalNodeMessage_EndSession // *SignalNodeMessage_PlainMessage // *SignalNodeMessage_PushMsg // *SignalNodeMessage_BroadcastRoom // *SignalNodeMessage_Broadcast // *SignalNodeMessage_Subscribe Message isSignalNodeMessage_Message `protobuf_oneof:"message"` // contains filtered or unexported fields }
message to Signal nodes
func (*SignalNodeMessage) Descriptor
deprecated
func (*SignalNodeMessage) Descriptor() ([]byte, []int)
Deprecated: Use SignalNodeMessage.ProtoReflect.Descriptor instead.
func (*SignalNodeMessage) GetBroadcast ¶
func (x *SignalNodeMessage) GetBroadcast() *BroadcastRoomRequest
func (*SignalNodeMessage) GetBroadcastRoom ¶
func (x *SignalNodeMessage) GetBroadcastRoom() *BroadcastRoomRequest
func (*SignalNodeMessage) GetConnectionId ¶
func (x *SignalNodeMessage) GetConnectionId() string
func (*SignalNodeMessage) GetEndSession ¶
func (x *SignalNodeMessage) GetEndSession() *EndSession
func (*SignalNodeMessage) GetMessage ¶
func (m *SignalNodeMessage) GetMessage() isSignalNodeMessage_Message
func (*SignalNodeMessage) GetPlainMessage ¶
func (x *SignalNodeMessage) GetPlainMessage() *PlainMessage
func (*SignalNodeMessage) GetPushMsg ¶
func (x *SignalNodeMessage) GetPushMsg() *PushMsgRequest
func (*SignalNodeMessage) GetResponse ¶
func (x *SignalNodeMessage) GetResponse() *SignalResponse
func (*SignalNodeMessage) GetSubscribe ¶
func (x *SignalNodeMessage) GetSubscribe() *Subscribe
func (*SignalNodeMessage) ProtoMessage ¶
func (*SignalNodeMessage) ProtoMessage()
func (*SignalNodeMessage) ProtoReflect ¶
func (x *SignalNodeMessage) ProtoReflect() protoreflect.Message
func (*SignalNodeMessage) Reset ¶
func (x *SignalNodeMessage) Reset()
func (*SignalNodeMessage) String ¶
func (x *SignalNodeMessage) String() string
type SignalNodeMessage_Broadcast ¶
type SignalNodeMessage_Broadcast struct {
Broadcast *BroadcastRoomRequest `protobuf:"bytes,7,opt,name=broadcast,proto3,oneof"`
}
type SignalNodeMessage_BroadcastRoom ¶
type SignalNodeMessage_BroadcastRoom struct {
BroadcastRoom *BroadcastRoomRequest `protobuf:"bytes,6,opt,name=broadcast_room,json=broadcastRoom,proto3,oneof"`
}
type SignalNodeMessage_EndSession ¶
type SignalNodeMessage_EndSession struct {
EndSession *EndSession `protobuf:"bytes,3,opt,name=end_session,json=endSession,proto3,oneof"`
}
type SignalNodeMessage_PlainMessage ¶
type SignalNodeMessage_PlainMessage struct {
PlainMessage *PlainMessage `protobuf:"bytes,4,opt,name=plain_message,json=plainMessage,proto3,oneof"`
}
type SignalNodeMessage_PushMsg ¶
type SignalNodeMessage_PushMsg struct {
PushMsg *PushMsgRequest `protobuf:"bytes,5,opt,name=push_msg,json=pushMsg,proto3,oneof"`
}
type SignalNodeMessage_Response ¶
type SignalNodeMessage_Response struct {
Response *SignalResponse `protobuf:"bytes,2,opt,name=response,proto3,oneof"`
}
type SignalNodeMessage_Subscribe ¶
type SignalNodeMessage_Subscribe struct {
Subscribe *Subscribe `protobuf:"bytes,8,opt,name=subscribe,proto3,oneof"`
}
type SignalRequest ¶
type SignalRequest struct { // Types that are assignable to Message: // // *SignalRequest_Offer // *SignalRequest_Answer // *SignalRequest_Trickle // *SignalRequest_AddTrack // *SignalRequest_Mute // *SignalRequest_Subscription // *SignalRequest_TrackSetting // *SignalRequest_Leave // *SignalRequest_UpdateLayers // *SignalRequest_SubscriptionPermission // *SignalRequest_SyncState // *SignalRequest_Simulate // *SignalRequest_PlainMessage // *SignalRequest_JoinRoom // *SignalRequest_LeaveRoom // *SignalRequest_Push // *SignalRequest_Whiteboard Message isSignalRequest_Message `protobuf_oneof:"message"` // contains filtered or unexported fields }
func (*SignalRequest) Descriptor
deprecated
func (*SignalRequest) Descriptor() ([]byte, []int)
Deprecated: Use SignalRequest.ProtoReflect.Descriptor instead.
func (*SignalRequest) GetAddTrack ¶
func (x *SignalRequest) GetAddTrack() *AddTrackRequest
func (*SignalRequest) GetAnswer ¶
func (x *SignalRequest) GetAnswer() *SessionDescription
func (*SignalRequest) GetJoinRoom ¶
func (x *SignalRequest) GetJoinRoom() *JoinRoom
func (*SignalRequest) GetLeave ¶
func (x *SignalRequest) GetLeave() *LeaveRequest
func (*SignalRequest) GetLeaveRoom ¶
func (x *SignalRequest) GetLeaveRoom() *LeaveRoom
func (*SignalRequest) GetMessage ¶
func (m *SignalRequest) GetMessage() isSignalRequest_Message
func (*SignalRequest) GetMute ¶
func (x *SignalRequest) GetMute() *MuteTrackRequest
func (*SignalRequest) GetOffer ¶
func (x *SignalRequest) GetOffer() *SessionDescription
func (*SignalRequest) GetPlainMessage ¶
func (x *SignalRequest) GetPlainMessage() *PlainMessage
func (*SignalRequest) GetPush ¶
func (x *SignalRequest) GetPush() *PushMsgRequest
func (*SignalRequest) GetSimulate ¶
func (x *SignalRequest) GetSimulate() *SimulateScenario
func (*SignalRequest) GetSubscription ¶
func (x *SignalRequest) GetSubscription() *UpdateSubscription
func (*SignalRequest) GetSubscriptionPermission ¶
func (x *SignalRequest) GetSubscriptionPermission() *SubscriptionPermission
func (*SignalRequest) GetSyncState ¶
func (x *SignalRequest) GetSyncState() *SyncState
func (*SignalRequest) GetTrackSetting ¶
func (x *SignalRequest) GetTrackSetting() *UpdateTrackSettings
func (*SignalRequest) GetTrickle ¶
func (x *SignalRequest) GetTrickle() *TrickleRequest
func (*SignalRequest) GetUpdateLayers ¶
func (x *SignalRequest) GetUpdateLayers() *UpdateVideoLayers
func (*SignalRequest) GetWhiteboard ¶
func (x *SignalRequest) GetWhiteboard() *WhiteboardRequest
func (*SignalRequest) ProtoMessage ¶
func (*SignalRequest) ProtoMessage()
func (*SignalRequest) ProtoReflect ¶
func (x *SignalRequest) ProtoReflect() protoreflect.Message
func (*SignalRequest) Reset ¶
func (x *SignalRequest) Reset()
func (*SignalRequest) String ¶
func (x *SignalRequest) String() string
type SignalRequest_AddTrack ¶
type SignalRequest_AddTrack struct {
AddTrack *AddTrackRequest `protobuf:"bytes,4,opt,name=add_track,json=addTrack,proto3,oneof"`
}
type SignalRequest_Answer ¶
type SignalRequest_Answer struct { // participant answering publisher offer Answer *SessionDescription `protobuf:"bytes,2,opt,name=answer,proto3,oneof"` }
type SignalRequest_JoinRoom ¶
type SignalRequest_JoinRoom struct {
JoinRoom *JoinRoom `protobuf:"bytes,15,opt,name=join_room,json=joinRoom,proto3,oneof"`
}
type SignalRequest_Leave ¶
type SignalRequest_Leave struct { // Immediately terminate session Leave *LeaveRequest `protobuf:"bytes,8,opt,name=leave,proto3,oneof"` }
type SignalRequest_LeaveRoom ¶
type SignalRequest_LeaveRoom struct {
LeaveRoom *LeaveRoom `protobuf:"bytes,16,opt,name=leave_room,json=leaveRoom,proto3,oneof"`
}
type SignalRequest_Mute ¶
type SignalRequest_Mute struct { // mute the participant's published tracks Mute *MuteTrackRequest `protobuf:"bytes,5,opt,name=mute,proto3,oneof"` }
type SignalRequest_Offer ¶
type SignalRequest_Offer struct { // initial join exchange, for publisher Offer *SessionDescription `protobuf:"bytes,1,opt,name=offer,proto3,oneof"` }
type SignalRequest_PlainMessage ¶
type SignalRequest_PlainMessage struct {
PlainMessage *PlainMessage `protobuf:"bytes,14,opt,name=plain_message,json=plainMessage,proto3,oneof"`
}
type SignalRequest_Push ¶
type SignalRequest_Push struct {
Push *PushMsgRequest `protobuf:"bytes,17,opt,name=push,proto3,oneof"`
}
type SignalRequest_Simulate ¶
type SignalRequest_Simulate struct { // Simulate conditions, for client validations Simulate *SimulateScenario `protobuf:"bytes,13,opt,name=simulate,proto3,oneof"` }
type SignalRequest_Subscription ¶
type SignalRequest_Subscription struct { // Subscribe or unsubscribe from tracks Subscription *UpdateSubscription `protobuf:"bytes,6,opt,name=subscription,proto3,oneof"` }
type SignalRequest_SubscriptionPermission ¶
type SignalRequest_SubscriptionPermission struct { // Update subscriber permissions SubscriptionPermission *SubscriptionPermission `protobuf:"bytes,11,opt,name=subscription_permission,json=subscriptionPermission,proto3,oneof"` }
type SignalRequest_SyncState ¶
type SignalRequest_SyncState struct { // sync client's subscribe state to server during reconnect SyncState *SyncState `protobuf:"bytes,12,opt,name=sync_state,json=syncState,proto3,oneof"` }
type SignalRequest_TrackSetting ¶
type SignalRequest_TrackSetting struct { // Update settings of subscribed tracks TrackSetting *UpdateTrackSettings `protobuf:"bytes,7,opt,name=track_setting,json=trackSetting,proto3,oneof"` }
type SignalRequest_Trickle ¶
type SignalRequest_Trickle struct {
Trickle *TrickleRequest `protobuf:"bytes,3,opt,name=trickle,proto3,oneof"`
}
type SignalRequest_UpdateLayers ¶
type SignalRequest_UpdateLayers struct { // Set active published layers, deprecated in favor of automatic tracking // // SetSimulcastLayers simulcast = 9; // // Update published video layers UpdateLayers *UpdateVideoLayers `protobuf:"bytes,10,opt,name=update_layers,json=updateLayers,proto3,oneof"` }
type SignalRequest_Whiteboard ¶
type SignalRequest_Whiteboard struct {
Whiteboard *WhiteboardRequest `protobuf:"bytes,18,opt,name=whiteboard,proto3,oneof"`
}
type SignalResponse ¶
type SignalResponse struct { // Types that are assignable to Message: // // *SignalResponse_Join // *SignalResponse_Answer // *SignalResponse_Offer // *SignalResponse_Trickle // *SignalResponse_Update // *SignalResponse_TrackPublished // *SignalResponse_Leave // *SignalResponse_Mute // *SignalResponse_SpeakersChanged // *SignalResponse_RoomUpdate // *SignalResponse_ConnectionQuality // *SignalResponse_StreamStateUpdate // *SignalResponse_SubscribedQualityUpdate // *SignalResponse_SubscriptionPermissionUpdate // *SignalResponse_RefreshToken // *SignalResponse_PlainMessage // *SignalResponse_JoinRoom // *SignalResponse_LeaveRoom // *SignalResponse_Push // *SignalResponse_Broadcast // *SignalResponse_BroadcastRoom Message isSignalResponse_Message `protobuf_oneof:"message"` // contains filtered or unexported fields }
func (*SignalResponse) Descriptor
deprecated
func (*SignalResponse) Descriptor() ([]byte, []int)
Deprecated: Use SignalResponse.ProtoReflect.Descriptor instead.
func (*SignalResponse) GetAnswer ¶
func (x *SignalResponse) GetAnswer() *SessionDescription
func (*SignalResponse) GetBroadcast ¶
func (x *SignalResponse) GetBroadcast() *BroadcastRequest
func (*SignalResponse) GetBroadcastRoom ¶
func (x *SignalResponse) GetBroadcastRoom() *BroadcastRoomRequest
func (*SignalResponse) GetConnectionQuality ¶
func (x *SignalResponse) GetConnectionQuality() *ConnectionQualityUpdate
func (*SignalResponse) GetJoin ¶
func (x *SignalResponse) GetJoin() *JoinResponse
func (*SignalResponse) GetJoinRoom ¶
func (x *SignalResponse) GetJoinRoom() *JoinRoom
func (*SignalResponse) GetLeave ¶
func (x *SignalResponse) GetLeave() *LeaveRequest
func (*SignalResponse) GetLeaveRoom ¶
func (x *SignalResponse) GetLeaveRoom() *LeaveRoom
func (*SignalResponse) GetMessage ¶
func (m *SignalResponse) GetMessage() isSignalResponse_Message
func (*SignalResponse) GetMute ¶
func (x *SignalResponse) GetMute() *MuteTrackRequest
func (*SignalResponse) GetOffer ¶
func (x *SignalResponse) GetOffer() *SessionDescription
func (*SignalResponse) GetPlainMessage ¶
func (x *SignalResponse) GetPlainMessage() *PlainMessage
func (*SignalResponse) GetPush ¶
func (x *SignalResponse) GetPush() *PushMsgRequest
func (*SignalResponse) GetRefreshToken ¶
func (x *SignalResponse) GetRefreshToken() string
func (*SignalResponse) GetRoomUpdate ¶
func (x *SignalResponse) GetRoomUpdate() *RoomUpdate
func (*SignalResponse) GetSpeakersChanged ¶
func (x *SignalResponse) GetSpeakersChanged() *SpeakersChanged
func (*SignalResponse) GetStreamStateUpdate ¶
func (x *SignalResponse) GetStreamStateUpdate() *StreamStateUpdate
func (*SignalResponse) GetSubscribedQualityUpdate ¶
func (x *SignalResponse) GetSubscribedQualityUpdate() *SubscribedQualityUpdate
func (*SignalResponse) GetSubscriptionPermissionUpdate ¶
func (x *SignalResponse) GetSubscriptionPermissionUpdate() *SubscriptionPermissionUpdate
func (*SignalResponse) GetTrackPublished ¶
func (x *SignalResponse) GetTrackPublished() *TrackPublishedResponse
func (*SignalResponse) GetTrickle ¶
func (x *SignalResponse) GetTrickle() *TrickleRequest
func (*SignalResponse) GetUpdate ¶
func (x *SignalResponse) GetUpdate() *ParticipantUpdate
func (*SignalResponse) ProtoMessage ¶
func (*SignalResponse) ProtoMessage()
func (*SignalResponse) ProtoReflect ¶
func (x *SignalResponse) ProtoReflect() protoreflect.Message
func (*SignalResponse) Reset ¶
func (x *SignalResponse) Reset()
func (*SignalResponse) String ¶
func (x *SignalResponse) String() string
type SignalResponse_Answer ¶
type SignalResponse_Answer struct { // sent when server answers publisher Answer *SessionDescription `protobuf:"bytes,2,opt,name=answer,proto3,oneof"` }
type SignalResponse_Broadcast ¶
type SignalResponse_Broadcast struct {
Broadcast *BroadcastRequest `protobuf:"bytes,21,opt,name=broadcast,proto3,oneof"`
}
type SignalResponse_BroadcastRoom ¶
type SignalResponse_BroadcastRoom struct {
BroadcastRoom *BroadcastRoomRequest `protobuf:"bytes,22,opt,name=broadcast_room,json=broadcastRoom,proto3,oneof"`
}
type SignalResponse_ConnectionQuality ¶
type SignalResponse_ConnectionQuality struct { // when connection quality changed ConnectionQuality *ConnectionQualityUpdate `protobuf:"bytes,12,opt,name=connection_quality,json=connectionQuality,proto3,oneof"` }
type SignalResponse_Join ¶
type SignalResponse_Join struct { // sent when join is accepted Join *JoinResponse `protobuf:"bytes,1,opt,name=join,proto3,oneof"` }
type SignalResponse_JoinRoom ¶
type SignalResponse_JoinRoom struct {
JoinRoom *JoinRoom `protobuf:"bytes,18,opt,name=join_room,json=joinRoom,proto3,oneof"`
}
type SignalResponse_Leave ¶
type SignalResponse_Leave struct { // Immediately terminate session Leave *LeaveRequest `protobuf:"bytes,8,opt,name=leave,proto3,oneof"` }
type SignalResponse_LeaveRoom ¶
type SignalResponse_LeaveRoom struct {
LeaveRoom *LeaveRoom `protobuf:"bytes,19,opt,name=leave_room,json=leaveRoom,proto3,oneof"`
}
type SignalResponse_Mute ¶
type SignalResponse_Mute struct { // server initiated mute Mute *MuteTrackRequest `protobuf:"bytes,9,opt,name=mute,proto3,oneof"` }
type SignalResponse_Offer ¶
type SignalResponse_Offer struct { // sent when server is sending subscriber an offer Offer *SessionDescription `protobuf:"bytes,3,opt,name=offer,proto3,oneof"` }
type SignalResponse_PlainMessage ¶
type SignalResponse_PlainMessage struct {
PlainMessage *PlainMessage `protobuf:"bytes,17,opt,name=plain_message,json=plainMessage,proto3,oneof"`
}
type SignalResponse_Push ¶
type SignalResponse_Push struct {
Push *PushMsgRequest `protobuf:"bytes,20,opt,name=push,proto3,oneof"`
}
type SignalResponse_RefreshToken ¶
type SignalResponse_RefreshToken struct { // update the token the client was using, to prevent an active client from using an expired token RefreshToken string `protobuf:"bytes,16,opt,name=refresh_token,json=refreshToken,proto3,oneof"` }
type SignalResponse_RoomUpdate ¶
type SignalResponse_RoomUpdate struct { // sent when metadata of the room has changed RoomUpdate *RoomUpdate `protobuf:"bytes,11,opt,name=room_update,json=roomUpdate,proto3,oneof"` }
type SignalResponse_SpeakersChanged ¶
type SignalResponse_SpeakersChanged struct { // indicates changes to speaker status, including when they've gone to not speaking SpeakersChanged *SpeakersChanged `protobuf:"bytes,10,opt,name=speakers_changed,json=speakersChanged,proto3,oneof"` }
type SignalResponse_StreamStateUpdate ¶
type SignalResponse_StreamStateUpdate struct { // when streamed tracks state changed, used to notify when any of the streams were paused due to // congestion StreamStateUpdate *StreamStateUpdate `protobuf:"bytes,13,opt,name=stream_state_update,json=streamStateUpdate,proto3,oneof"` }
type SignalResponse_SubscribedQualityUpdate ¶
type SignalResponse_SubscribedQualityUpdate struct { // when max subscribe quality changed, used by dynamic broadcasting to disable unused layers SubscribedQualityUpdate *SubscribedQualityUpdate `protobuf:"bytes,14,opt,name=subscribed_quality_update,json=subscribedQualityUpdate,proto3,oneof"` }
type SignalResponse_SubscriptionPermissionUpdate ¶
type SignalResponse_SubscriptionPermissionUpdate struct { // when subscription permission changed SubscriptionPermissionUpdate *SubscriptionPermissionUpdate `protobuf:"bytes,15,opt,name=subscription_permission_update,json=subscriptionPermissionUpdate,proto3,oneof"` }
type SignalResponse_TrackPublished ¶
type SignalResponse_TrackPublished struct { // sent to the participant when their track has been published TrackPublished *TrackPublishedResponse `protobuf:"bytes,6,opt,name=track_published,json=trackPublished,proto3,oneof"` }
type SignalResponse_Trickle ¶
type SignalResponse_Trickle struct { // sent when an ICE candidate is available Trickle *TrickleRequest `protobuf:"bytes,4,opt,name=trickle,proto3,oneof"` }
type SignalResponse_Update ¶
type SignalResponse_Update struct { // sent when participants in the room has changed Update *ParticipantUpdate `protobuf:"bytes,5,opt,name=update,proto3,oneof"` }
type SignalTarget ¶
type SignalTarget int32
const ( SignalTarget_PUBLISHER SignalTarget = 0 SignalTarget_SUBSCRIBER SignalTarget = 1 )
func (SignalTarget) Descriptor ¶
func (SignalTarget) Descriptor() protoreflect.EnumDescriptor
func (SignalTarget) Enum ¶
func (x SignalTarget) Enum() *SignalTarget
func (SignalTarget) EnumDescriptor
deprecated
func (SignalTarget) EnumDescriptor() ([]byte, []int)
Deprecated: Use SignalTarget.Descriptor instead.
func (SignalTarget) Number ¶
func (x SignalTarget) Number() protoreflect.EnumNumber
func (SignalTarget) String ¶
func (x SignalTarget) String() string
func (SignalTarget) Type ¶
func (SignalTarget) Type() protoreflect.EnumType
type SimulateScenario ¶
type SimulateScenario struct { // Types that are assignable to Scenario: // // *SimulateScenario_SpeakerUpdate // *SimulateScenario_NodeFailure // *SimulateScenario_Migration // *SimulateScenario_ServerLeave Scenario isSimulateScenario_Scenario `protobuf_oneof:"scenario"` // contains filtered or unexported fields }
func (*SimulateScenario) Descriptor
deprecated
func (*SimulateScenario) Descriptor() ([]byte, []int)
Deprecated: Use SimulateScenario.ProtoReflect.Descriptor instead.
func (*SimulateScenario) GetMigration ¶
func (x *SimulateScenario) GetMigration() bool
func (*SimulateScenario) GetNodeFailure ¶
func (x *SimulateScenario) GetNodeFailure() bool
func (*SimulateScenario) GetScenario ¶
func (m *SimulateScenario) GetScenario() isSimulateScenario_Scenario
func (*SimulateScenario) GetServerLeave ¶
func (x *SimulateScenario) GetServerLeave() bool
func (*SimulateScenario) GetSpeakerUpdate ¶
func (x *SimulateScenario) GetSpeakerUpdate() int32
func (*SimulateScenario) ProtoMessage ¶
func (*SimulateScenario) ProtoMessage()
func (*SimulateScenario) ProtoReflect ¶
func (x *SimulateScenario) ProtoReflect() protoreflect.Message
func (*SimulateScenario) Reset ¶
func (x *SimulateScenario) Reset()
func (*SimulateScenario) String ¶
func (x *SimulateScenario) String() string
type SimulateScenario_Migration ¶
type SimulateScenario_Migration struct { // simulate migration Migration bool `protobuf:"varint,3,opt,name=migration,proto3,oneof"` }
type SimulateScenario_NodeFailure ¶
type SimulateScenario_NodeFailure struct { // simulate local node failure NodeFailure bool `protobuf:"varint,2,opt,name=node_failure,json=nodeFailure,proto3,oneof"` }
type SimulateScenario_ServerLeave ¶
type SimulateScenario_ServerLeave struct { // server to send leave ServerLeave bool `protobuf:"varint,4,opt,name=server_leave,json=serverLeave,proto3,oneof"` }
type SimulateScenario_SpeakerUpdate ¶
type SimulateScenario_SpeakerUpdate struct { // simulate N seconds of speaker activity SpeakerUpdate int32 `protobuf:"varint,1,opt,name=speaker_update,json=speakerUpdate,proto3,oneof"` }
type SpeakerInfo ¶
type SpeakerInfo struct { Sid string `protobuf:"bytes,1,opt,name=sid,proto3" json:"sid,omitempty"` // audio level, 0-1.0, 1 is loudest Level float32 `protobuf:"fixed32,2,opt,name=level,proto3" json:"level,omitempty"` // true if speaker is currently active Active bool `protobuf:"varint,3,opt,name=active,proto3" json:"active,omitempty"` // contains filtered or unexported fields }
func (*SpeakerInfo) Descriptor
deprecated
func (*SpeakerInfo) Descriptor() ([]byte, []int)
Deprecated: Use SpeakerInfo.ProtoReflect.Descriptor instead.
func (*SpeakerInfo) GetActive ¶
func (x *SpeakerInfo) GetActive() bool
func (*SpeakerInfo) GetLevel ¶
func (x *SpeakerInfo) GetLevel() float32
func (*SpeakerInfo) GetSid ¶
func (x *SpeakerInfo) GetSid() string
func (*SpeakerInfo) ProtoMessage ¶
func (*SpeakerInfo) ProtoMessage()
func (*SpeakerInfo) ProtoReflect ¶
func (x *SpeakerInfo) ProtoReflect() protoreflect.Message
func (*SpeakerInfo) Reset ¶
func (x *SpeakerInfo) Reset()
func (*SpeakerInfo) String ¶
func (x *SpeakerInfo) String() string
type SpeakersChanged ¶
type SpeakersChanged struct { Speakers []*SpeakerInfo `protobuf:"bytes,1,rep,name=speakers,proto3" json:"speakers,omitempty"` // contains filtered or unexported fields }
func (*SpeakersChanged) Descriptor
deprecated
func (*SpeakersChanged) Descriptor() ([]byte, []int)
Deprecated: Use SpeakersChanged.ProtoReflect.Descriptor instead.
func (*SpeakersChanged) GetSpeakers ¶
func (x *SpeakersChanged) GetSpeakers() []*SpeakerInfo
func (*SpeakersChanged) ProtoMessage ¶
func (*SpeakersChanged) ProtoMessage()
func (*SpeakersChanged) ProtoReflect ¶
func (x *SpeakersChanged) ProtoReflect() protoreflect.Message
func (*SpeakersChanged) Reset ¶
func (x *SpeakersChanged) Reset()
func (*SpeakersChanged) String ¶
func (x *SpeakersChanged) String() string
type StartRecordingRequest ¶
type StartRecordingRequest struct { // Types that are assignable to Input: // // *StartRecordingRequest_Url // *StartRecordingRequest_Template Input isStartRecordingRequest_Input `protobuf_oneof:"input"` // Types that are assignable to Output: // // *StartRecordingRequest_Rtmp // *StartRecordingRequest_Filepath Output isStartRecordingRequest_Output `protobuf_oneof:"output"` Options *RecordingOptions `protobuf:"bytes,5,opt,name=options,proto3" json:"options,omitempty"` // contains filtered or unexported fields }
func (*StartRecordingRequest) Descriptor
deprecated
func (*StartRecordingRequest) Descriptor() ([]byte, []int)
Deprecated: Use StartRecordingRequest.ProtoReflect.Descriptor instead.
func (*StartRecordingRequest) GetFilepath ¶
func (x *StartRecordingRequest) GetFilepath() string
func (*StartRecordingRequest) GetInput ¶
func (m *StartRecordingRequest) GetInput() isStartRecordingRequest_Input
func (*StartRecordingRequest) GetOptions ¶
func (x *StartRecordingRequest) GetOptions() *RecordingOptions
func (*StartRecordingRequest) GetOutput ¶
func (m *StartRecordingRequest) GetOutput() isStartRecordingRequest_Output
func (*StartRecordingRequest) GetRtmp ¶
func (x *StartRecordingRequest) GetRtmp() *RtmpOutput
func (*StartRecordingRequest) GetTemplate ¶
func (x *StartRecordingRequest) GetTemplate() *RecordingTemplate
func (*StartRecordingRequest) GetUrl ¶
func (x *StartRecordingRequest) GetUrl() string
func (*StartRecordingRequest) ProtoMessage ¶
func (*StartRecordingRequest) ProtoMessage()
func (*StartRecordingRequest) ProtoReflect ¶
func (x *StartRecordingRequest) ProtoReflect() protoreflect.Message
func (*StartRecordingRequest) Reset ¶
func (x *StartRecordingRequest) Reset()
func (*StartRecordingRequest) String ¶
func (x *StartRecordingRequest) String() string
type StartRecordingRequest_Filepath ¶
type StartRecordingRequest_Filepath struct {
Filepath string `protobuf:"bytes,4,opt,name=filepath,proto3,oneof"`
}
type StartRecordingRequest_Rtmp ¶
type StartRecordingRequest_Rtmp struct {
Rtmp *RtmpOutput `protobuf:"bytes,3,opt,name=rtmp,proto3,oneof"`
}
type StartRecordingRequest_Template ¶
type StartRecordingRequest_Template struct {
Template *RecordingTemplate `protobuf:"bytes,2,opt,name=template,proto3,oneof"`
}
type StartRecordingRequest_Url ¶
type StartRecordingRequest_Url struct {
Url string `protobuf:"bytes,1,opt,name=url,proto3,oneof"`
}
type StartRecordingResponse ¶
type StartRecordingResponse struct { RecordingId string `protobuf:"bytes,1,opt,name=recording_id,json=recordingId,proto3" json:"recording_id,omitempty"` // contains filtered or unexported fields }
func (*StartRecordingResponse) Descriptor
deprecated
func (*StartRecordingResponse) Descriptor() ([]byte, []int)
Deprecated: Use StartRecordingResponse.ProtoReflect.Descriptor instead.
func (*StartRecordingResponse) GetRecordingId ¶
func (x *StartRecordingResponse) GetRecordingId() string
func (*StartRecordingResponse) ProtoMessage ¶
func (*StartRecordingResponse) ProtoMessage()
func (*StartRecordingResponse) ProtoReflect ¶
func (x *StartRecordingResponse) ProtoReflect() protoreflect.Message
func (*StartRecordingResponse) Reset ¶
func (x *StartRecordingResponse) Reset()
func (*StartRecordingResponse) String ¶
func (x *StartRecordingResponse) String() string
type StartSession ¶
type StartSession struct { RoomName string `protobuf:"bytes,1,opt,name=room_name,json=roomName,proto3" json:"room_name,omitempty"` Identity string `protobuf:"bytes,2,opt,name=identity,proto3" json:"identity,omitempty"` ConnectionId string `protobuf:"bytes,3,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"` // if a client is reconnecting (i.e. resume instead of restart) Reconnect bool `protobuf:"varint,4,opt,name=reconnect,proto3" json:"reconnect,omitempty"` // metadata to pass to participant Metadata string `protobuf:"bytes,5,opt,name=metadata,proto3" json:"metadata,omitempty"` Permission *ParticipantPermission `protobuf:"bytes,6,opt,name=permission,proto3" json:"permission,omitempty"` AutoSubscribe bool `protobuf:"varint,9,opt,name=auto_subscribe,json=autoSubscribe,proto3" json:"auto_subscribe,omitempty"` Hidden bool `protobuf:"varint,10,opt,name=hidden,proto3" json:"hidden,omitempty"` Client *ClientInfo `protobuf:"bytes,11,opt,name=client,proto3" json:"client,omitempty"` Recorder bool `protobuf:"varint,12,opt,name=recorder,proto3" json:"recorder,omitempty"` Name string `protobuf:"bytes,13,opt,name=name,proto3" json:"name,omitempty"` // A user's ClaimGrants serialized in JSON GrantsJson string `protobuf:"bytes,14,opt,name=grants_json,json=grantsJson,proto3" json:"grants_json,omitempty"` // contains filtered or unexported fields }
func (*StartSession) Descriptor
deprecated
func (*StartSession) Descriptor() ([]byte, []int)
Deprecated: Use StartSession.ProtoReflect.Descriptor instead.
func (*StartSession) GetAutoSubscribe ¶
func (x *StartSession) GetAutoSubscribe() bool
func (*StartSession) GetClient ¶
func (x *StartSession) GetClient() *ClientInfo
func (*StartSession) GetConnectionId ¶
func (x *StartSession) GetConnectionId() string
func (*StartSession) GetGrantsJson ¶
func (x *StartSession) GetGrantsJson() string
func (*StartSession) GetHidden ¶
func (x *StartSession) GetHidden() bool
func (*StartSession) GetIdentity ¶
func (x *StartSession) GetIdentity() string
func (*StartSession) GetMetadata ¶
func (x *StartSession) GetMetadata() string
func (*StartSession) GetName ¶
func (x *StartSession) GetName() string
func (*StartSession) GetPermission ¶
func (x *StartSession) GetPermission() *ParticipantPermission
func (*StartSession) GetReconnect ¶
func (x *StartSession) GetReconnect() bool
func (*StartSession) GetRecorder ¶
func (x *StartSession) GetRecorder() bool
func (*StartSession) GetRoomName ¶
func (x *StartSession) GetRoomName() string
func (*StartSession) ProtoMessage ¶
func (*StartSession) ProtoMessage()
func (*StartSession) ProtoReflect ¶
func (x *StartSession) ProtoReflect() protoreflect.Message
func (*StartSession) Reset ¶
func (x *StartSession) Reset()
func (*StartSession) String ¶
func (x *StartSession) String() string
type StreamState ¶
type StreamState int32
const ( StreamState_ACTIVE StreamState = 0 StreamState_PAUSED StreamState = 1 )
func (StreamState) Descriptor ¶
func (StreamState) Descriptor() protoreflect.EnumDescriptor
func (StreamState) Enum ¶
func (x StreamState) Enum() *StreamState
func (StreamState) EnumDescriptor
deprecated
func (StreamState) EnumDescriptor() ([]byte, []int)
Deprecated: Use StreamState.Descriptor instead.
func (StreamState) Number ¶
func (x StreamState) Number() protoreflect.EnumNumber
func (StreamState) String ¶
func (x StreamState) String() string
func (StreamState) Type ¶
func (StreamState) Type() protoreflect.EnumType
type StreamStateInfo ¶
type StreamStateInfo struct { ParticipantSid string `protobuf:"bytes,1,opt,name=participant_sid,json=participantSid,proto3" json:"participant_sid,omitempty"` TrackSid string `protobuf:"bytes,2,opt,name=track_sid,json=trackSid,proto3" json:"track_sid,omitempty"` State StreamState `protobuf:"varint,3,opt,name=state,proto3,enum=livekitx.StreamState" json:"state,omitempty"` // contains filtered or unexported fields }
func (*StreamStateInfo) Descriptor
deprecated
func (*StreamStateInfo) Descriptor() ([]byte, []int)
Deprecated: Use StreamStateInfo.ProtoReflect.Descriptor instead.
func (*StreamStateInfo) GetParticipantSid ¶
func (x *StreamStateInfo) GetParticipantSid() string
func (*StreamStateInfo) GetState ¶
func (x *StreamStateInfo) GetState() StreamState
func (*StreamStateInfo) GetTrackSid ¶
func (x *StreamStateInfo) GetTrackSid() string
func (*StreamStateInfo) ProtoMessage ¶
func (*StreamStateInfo) ProtoMessage()
func (*StreamStateInfo) ProtoReflect ¶
func (x *StreamStateInfo) ProtoReflect() protoreflect.Message
func (*StreamStateInfo) Reset ¶
func (x *StreamStateInfo) Reset()
func (*StreamStateInfo) String ¶
func (x *StreamStateInfo) String() string
type StreamStateUpdate ¶
type StreamStateUpdate struct { StreamStates []*StreamStateInfo `protobuf:"bytes,1,rep,name=stream_states,json=streamStates,proto3" json:"stream_states,omitempty"` // contains filtered or unexported fields }
func (*StreamStateUpdate) Descriptor
deprecated
func (*StreamStateUpdate) Descriptor() ([]byte, []int)
Deprecated: Use StreamStateUpdate.ProtoReflect.Descriptor instead.
func (*StreamStateUpdate) GetStreamStates ¶
func (x *StreamStateUpdate) GetStreamStates() []*StreamStateInfo
func (*StreamStateUpdate) ProtoMessage ¶
func (*StreamStateUpdate) ProtoMessage()
func (*StreamStateUpdate) ProtoReflect ¶
func (x *StreamStateUpdate) ProtoReflect() protoreflect.Message
func (*StreamStateUpdate) Reset ¶
func (x *StreamStateUpdate) Reset()
func (*StreamStateUpdate) String ¶
func (x *StreamStateUpdate) String() string
type Subscribe ¶
type Subscribe struct { RoomName string `protobuf:"bytes,1,opt,name=room_name,json=roomName,proto3" json:"room_name,omitempty"` Identity string `protobuf:"bytes,2,opt,name=identity,proto3" json:"identity,omitempty"` NodeId string `protobuf:"bytes,3,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"` // contains filtered or unexported fields }
func (*Subscribe) Descriptor
deprecated
func (*Subscribe) GetIdentity ¶
func (*Subscribe) GetRoomName ¶
func (*Subscribe) ProtoMessage ¶
func (*Subscribe) ProtoMessage()
func (*Subscribe) ProtoReflect ¶
func (x *Subscribe) ProtoReflect() protoreflect.Message
type SubscribedQuality ¶
type SubscribedQuality struct { Quality VideoQuality `protobuf:"varint,1,opt,name=quality,proto3,enum=livekitx.VideoQuality" json:"quality,omitempty"` Enabled bool `protobuf:"varint,2,opt,name=enabled,proto3" json:"enabled,omitempty"` // contains filtered or unexported fields }
func (*SubscribedQuality) Descriptor
deprecated
func (*SubscribedQuality) Descriptor() ([]byte, []int)
Deprecated: Use SubscribedQuality.ProtoReflect.Descriptor instead.
func (*SubscribedQuality) GetEnabled ¶
func (x *SubscribedQuality) GetEnabled() bool
func (*SubscribedQuality) GetQuality ¶
func (x *SubscribedQuality) GetQuality() VideoQuality
func (*SubscribedQuality) ProtoMessage ¶
func (*SubscribedQuality) ProtoMessage()
func (*SubscribedQuality) ProtoReflect ¶
func (x *SubscribedQuality) ProtoReflect() protoreflect.Message
func (*SubscribedQuality) Reset ¶
func (x *SubscribedQuality) Reset()
func (*SubscribedQuality) String ¶
func (x *SubscribedQuality) String() string
type SubscribedQualityUpdate ¶
type SubscribedQualityUpdate struct { TrackSid string `protobuf:"bytes,1,opt,name=track_sid,json=trackSid,proto3" json:"track_sid,omitempty"` SubscribedQualities []*SubscribedQuality `protobuf:"bytes,2,rep,name=subscribed_qualities,json=subscribedQualities,proto3" json:"subscribed_qualities,omitempty"` // contains filtered or unexported fields }
func (*SubscribedQualityUpdate) Descriptor
deprecated
func (*SubscribedQualityUpdate) Descriptor() ([]byte, []int)
Deprecated: Use SubscribedQualityUpdate.ProtoReflect.Descriptor instead.
func (*SubscribedQualityUpdate) GetSubscribedQualities ¶
func (x *SubscribedQualityUpdate) GetSubscribedQualities() []*SubscribedQuality
func (*SubscribedQualityUpdate) GetTrackSid ¶
func (x *SubscribedQualityUpdate) GetTrackSid() string
func (*SubscribedQualityUpdate) ProtoMessage ¶
func (*SubscribedQualityUpdate) ProtoMessage()
func (*SubscribedQualityUpdate) ProtoReflect ¶
func (x *SubscribedQualityUpdate) ProtoReflect() protoreflect.Message
func (*SubscribedQualityUpdate) Reset ¶
func (x *SubscribedQualityUpdate) Reset()
func (*SubscribedQualityUpdate) String ¶
func (x *SubscribedQualityUpdate) String() string
type SubscriptionPermission ¶
type SubscriptionPermission struct { AllParticipants bool `protobuf:"varint,1,opt,name=all_participants,json=allParticipants,proto3" json:"all_participants,omitempty"` TrackPermissions []*TrackPermission `protobuf:"bytes,2,rep,name=track_permissions,json=trackPermissions,proto3" json:"track_permissions,omitempty"` // contains filtered or unexported fields }
func (*SubscriptionPermission) Descriptor
deprecated
func (*SubscriptionPermission) Descriptor() ([]byte, []int)
Deprecated: Use SubscriptionPermission.ProtoReflect.Descriptor instead.
func (*SubscriptionPermission) GetAllParticipants ¶
func (x *SubscriptionPermission) GetAllParticipants() bool
func (*SubscriptionPermission) GetTrackPermissions ¶
func (x *SubscriptionPermission) GetTrackPermissions() []*TrackPermission
func (*SubscriptionPermission) ProtoMessage ¶
func (*SubscriptionPermission) ProtoMessage()
func (*SubscriptionPermission) ProtoReflect ¶
func (x *SubscriptionPermission) ProtoReflect() protoreflect.Message
func (*SubscriptionPermission) Reset ¶
func (x *SubscriptionPermission) Reset()
func (*SubscriptionPermission) String ¶
func (x *SubscriptionPermission) String() string
type SubscriptionPermissionUpdate ¶
type SubscriptionPermissionUpdate struct { ParticipantSid string `protobuf:"bytes,1,opt,name=participant_sid,json=participantSid,proto3" json:"participant_sid,omitempty"` TrackSid string `protobuf:"bytes,2,opt,name=track_sid,json=trackSid,proto3" json:"track_sid,omitempty"` Allowed bool `protobuf:"varint,3,opt,name=allowed,proto3" json:"allowed,omitempty"` // contains filtered or unexported fields }
func (*SubscriptionPermissionUpdate) Descriptor
deprecated
func (*SubscriptionPermissionUpdate) Descriptor() ([]byte, []int)
Deprecated: Use SubscriptionPermissionUpdate.ProtoReflect.Descriptor instead.
func (*SubscriptionPermissionUpdate) GetAllowed ¶
func (x *SubscriptionPermissionUpdate) GetAllowed() bool
func (*SubscriptionPermissionUpdate) GetParticipantSid ¶
func (x *SubscriptionPermissionUpdate) GetParticipantSid() string
func (*SubscriptionPermissionUpdate) GetTrackSid ¶
func (x *SubscriptionPermissionUpdate) GetTrackSid() string
func (*SubscriptionPermissionUpdate) ProtoMessage ¶
func (*SubscriptionPermissionUpdate) ProtoMessage()
func (*SubscriptionPermissionUpdate) ProtoReflect ¶
func (x *SubscriptionPermissionUpdate) ProtoReflect() protoreflect.Message
func (*SubscriptionPermissionUpdate) Reset ¶
func (x *SubscriptionPermissionUpdate) Reset()
func (*SubscriptionPermissionUpdate) String ¶
func (x *SubscriptionPermissionUpdate) String() string
type SyncState ¶
type SyncState struct { Answer *SessionDescription `protobuf:"bytes,1,opt,name=answer,proto3" json:"answer,omitempty"` Subscription *UpdateSubscription `protobuf:"bytes,2,opt,name=subscription,proto3" json:"subscription,omitempty"` PublishTracks []*TrackPublishedResponse `protobuf:"bytes,3,rep,name=publish_tracks,json=publishTracks,proto3" json:"publish_tracks,omitempty"` // contains filtered or unexported fields }
func (*SyncState) Descriptor
deprecated
func (*SyncState) GetAnswer ¶
func (x *SyncState) GetAnswer() *SessionDescription
func (*SyncState) GetPublishTracks ¶
func (x *SyncState) GetPublishTracks() []*TrackPublishedResponse
func (*SyncState) GetSubscription ¶
func (x *SyncState) GetSubscription() *UpdateSubscription
func (*SyncState) ProtoMessage ¶
func (*SyncState) ProtoMessage()
func (*SyncState) ProtoReflect ¶
func (x *SyncState) ProtoReflect() protoreflect.Message
type Target ¶
type Target struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Identity string `protobuf:"bytes,2,opt,name=identity,proto3" json:"identity,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` Avatar string `protobuf:"bytes,4,opt,name=avatar,proto3" json:"avatar,omitempty"` // contains filtered or unexported fields }
func (*Target) Descriptor
deprecated
func (*Target) GetIdentity ¶
func (*Target) ProtoMessage ¶
func (*Target) ProtoMessage()
func (*Target) ProtoReflect ¶
func (x *Target) ProtoReflect() protoreflect.Message
type TextMessage ¶
type TextMessage struct { Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"` // contains filtered or unexported fields }
text message
func (*TextMessage) Descriptor
deprecated
func (*TextMessage) Descriptor() ([]byte, []int)
Deprecated: Use TextMessage.ProtoReflect.Descriptor instead.
func (*TextMessage) GetContent ¶
func (x *TextMessage) GetContent() string
func (*TextMessage) ProtoMessage ¶
func (*TextMessage) ProtoMessage()
func (*TextMessage) ProtoReflect ¶
func (x *TextMessage) ProtoReflect() protoreflect.Message
func (*TextMessage) Reset ¶
func (x *TextMessage) Reset()
func (*TextMessage) String ¶
func (x *TextMessage) String() string
type TrackInfo ¶
type TrackInfo struct { Sid string `protobuf:"bytes,1,opt,name=sid,proto3" json:"sid,omitempty"` Type TrackType `protobuf:"varint,2,opt,name=type,proto3,enum=livekitx.TrackType" json:"type,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` Muted bool `protobuf:"varint,4,opt,name=muted,proto3" json:"muted,omitempty"` // original width of video (unset for audio) // clients may receive a lower resolution version with simulcast Width uint32 `protobuf:"varint,5,opt,name=width,proto3" json:"width,omitempty"` // original height of video (unset for audio) Height uint32 `protobuf:"varint,6,opt,name=height,proto3" json:"height,omitempty"` // true if track is simulcasted Simulcast bool `protobuf:"varint,7,opt,name=simulcast,proto3" json:"simulcast,omitempty"` // true if DTX (Discontinuous Transmission) is disabled for audio DisableDtx bool `protobuf:"varint,8,opt,name=disable_dtx,json=disableDtx,proto3" json:"disable_dtx,omitempty"` // source of media Source TrackSource `protobuf:"varint,9,opt,name=source,proto3,enum=livekitx.TrackSource" json:"source,omitempty"` Layers []*VideoLayer `protobuf:"bytes,10,rep,name=layers,proto3" json:"layers,omitempty"` // mime type of codec MimeType string `protobuf:"bytes,11,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"` Mid string `protobuf:"bytes,12,opt,name=mid,proto3" json:"mid,omitempty"` // contains filtered or unexported fields }
func (*TrackInfo) Descriptor
deprecated
func (*TrackInfo) GetDisableDtx ¶
func (*TrackInfo) GetLayers ¶
func (x *TrackInfo) GetLayers() []*VideoLayer
func (*TrackInfo) GetMimeType ¶
func (*TrackInfo) GetSimulcast ¶
func (*TrackInfo) GetSource ¶
func (x *TrackInfo) GetSource() TrackSource
func (*TrackInfo) ProtoMessage ¶
func (*TrackInfo) ProtoMessage()
func (*TrackInfo) ProtoReflect ¶
func (x *TrackInfo) ProtoReflect() protoreflect.Message
type TrackPermission ¶
type TrackPermission struct { ParticipantSid string `protobuf:"bytes,1,opt,name=participant_sid,json=participantSid,proto3" json:"participant_sid,omitempty"` AllTracks bool `protobuf:"varint,2,opt,name=all_tracks,json=allTracks,proto3" json:"all_tracks,omitempty"` TrackSids []string `protobuf:"bytes,3,rep,name=track_sids,json=trackSids,proto3" json:"track_sids,omitempty"` // contains filtered or unexported fields }
func (*TrackPermission) Descriptor
deprecated
func (*TrackPermission) Descriptor() ([]byte, []int)
Deprecated: Use TrackPermission.ProtoReflect.Descriptor instead.
func (*TrackPermission) GetAllTracks ¶
func (x *TrackPermission) GetAllTracks() bool
func (*TrackPermission) GetParticipantSid ¶
func (x *TrackPermission) GetParticipantSid() string
func (*TrackPermission) GetTrackSids ¶
func (x *TrackPermission) GetTrackSids() []string
func (*TrackPermission) ProtoMessage ¶
func (*TrackPermission) ProtoMessage()
func (*TrackPermission) ProtoReflect ¶
func (x *TrackPermission) ProtoReflect() protoreflect.Message
func (*TrackPermission) Reset ¶
func (x *TrackPermission) Reset()
func (*TrackPermission) String ¶
func (x *TrackPermission) String() string
type TrackPublishedResponse ¶
type TrackPublishedResponse struct { Cid string `protobuf:"bytes,1,opt,name=cid,proto3" json:"cid,omitempty"` Track *TrackInfo `protobuf:"bytes,2,opt,name=track,proto3" json:"track,omitempty"` // contains filtered or unexported fields }
func (*TrackPublishedResponse) Descriptor
deprecated
func (*TrackPublishedResponse) Descriptor() ([]byte, []int)
Deprecated: Use TrackPublishedResponse.ProtoReflect.Descriptor instead.
func (*TrackPublishedResponse) GetCid ¶
func (x *TrackPublishedResponse) GetCid() string
func (*TrackPublishedResponse) GetTrack ¶
func (x *TrackPublishedResponse) GetTrack() *TrackInfo
func (*TrackPublishedResponse) ProtoMessage ¶
func (*TrackPublishedResponse) ProtoMessage()
func (*TrackPublishedResponse) ProtoReflect ¶
func (x *TrackPublishedResponse) ProtoReflect() protoreflect.Message
func (*TrackPublishedResponse) Reset ¶
func (x *TrackPublishedResponse) Reset()
func (*TrackPublishedResponse) String ¶
func (x *TrackPublishedResponse) String() string
type TrackSource ¶
type TrackSource int32
const ( TrackSource_UNKNOWN TrackSource = 0 TrackSource_CAMERA TrackSource = 1 TrackSource_MICROPHONE TrackSource = 2 TrackSource_SCREEN_SHARE TrackSource = 3 TrackSource_SCREEN_SHARE_AUDIO TrackSource = 4 )
func (TrackSource) Descriptor ¶
func (TrackSource) Descriptor() protoreflect.EnumDescriptor
func (TrackSource) Enum ¶
func (x TrackSource) Enum() *TrackSource
func (TrackSource) EnumDescriptor
deprecated
func (TrackSource) EnumDescriptor() ([]byte, []int)
Deprecated: Use TrackSource.Descriptor instead.
func (TrackSource) Number ¶
func (x TrackSource) Number() protoreflect.EnumNumber
func (TrackSource) String ¶
func (x TrackSource) String() string
func (TrackSource) Type ¶
func (TrackSource) Type() protoreflect.EnumType
type TrackType ¶
type TrackType int32
func (TrackType) Descriptor ¶
func (TrackType) Descriptor() protoreflect.EnumDescriptor
func (TrackType) EnumDescriptor
deprecated
func (TrackType) Number ¶
func (x TrackType) Number() protoreflect.EnumNumber
func (TrackType) Type ¶
func (TrackType) Type() protoreflect.EnumType
type TrickleRequest ¶
type TrickleRequest struct { CandidateInit string `protobuf:"bytes,1,opt,name=candidateInit,proto3" json:"candidateInit,omitempty"` Target SignalTarget `protobuf:"varint,2,opt,name=target,proto3,enum=livekitx.SignalTarget" json:"target,omitempty"` // contains filtered or unexported fields }
func (*TrickleRequest) Descriptor
deprecated
func (*TrickleRequest) Descriptor() ([]byte, []int)
Deprecated: Use TrickleRequest.ProtoReflect.Descriptor instead.
func (*TrickleRequest) GetCandidateInit ¶
func (x *TrickleRequest) GetCandidateInit() string
func (*TrickleRequest) GetTarget ¶
func (x *TrickleRequest) GetTarget() SignalTarget
func (*TrickleRequest) ProtoMessage ¶
func (*TrickleRequest) ProtoMessage()
func (*TrickleRequest) ProtoReflect ¶
func (x *TrickleRequest) ProtoReflect() protoreflect.Message
func (*TrickleRequest) Reset ¶
func (x *TrickleRequest) Reset()
func (*TrickleRequest) String ¶
func (x *TrickleRequest) String() string
type TwirpServer ¶
type TwirpServer interface { http.Handler // ServiceDescriptor returns gzipped bytes describing the .proto file that // this service was generated from. Once unzipped, the bytes can be // unmarshalled as a // google.golang.org/protobuf/types/descriptorpb.FileDescriptorProto. // // The returned integer is the index of this particular service within that // FileDescriptorProto's 'Service' slice of ServiceDescriptorProtos. This is a // low-level field, expected to be used for reflection. ServiceDescriptor() ([]byte, int) // ProtocGenTwirpVersion is the semantic version string of the version of // twirp used to generate this file. ProtocGenTwirpVersion() string // PathPrefix returns the HTTP URL path prefix for all methods handled by this // service. This can be used with an HTTP mux to route Twirp requests. // The path prefix is in the form: "/<prefix>/<package>.<Service>/" // that is, everything in a Twirp route except for the <Method> at the end. PathPrefix() string }
TwirpServer is the interface generated server structs will support: they're HTTP handlers with additional methods for accessing metadata about the service. Those accessors are a low-level API for building reflection tools. Most people can think of TwirpServers as just http.Handlers.
func NewRecordingServiceServer ¶
func NewRecordingServiceServer(svc RecordingService, opts ...interface{}) TwirpServer
NewRecordingServiceServer builds a TwirpServer that can be used as an http.Handler to handle HTTP requests that are routed to the right method in the provided svc implementation. The opts are twirp.ServerOption modifiers, for example twirp.WithServerHooks(hooks).
func NewRoomServiceServer ¶
func NewRoomServiceServer(svc RoomService, opts ...interface{}) TwirpServer
NewRoomServiceServer builds a TwirpServer that can be used as an http.Handler to handle HTTP requests that are routed to the right method in the provided svc implementation. The opts are twirp.ServerOption modifiers, for example twirp.WithServerHooks(hooks).
type UpdateParticipantRequest ¶
type UpdateParticipantRequest struct { Room string `protobuf:"bytes,1,opt,name=room,proto3" json:"room,omitempty"` Identity string `protobuf:"bytes,2,opt,name=identity,proto3" json:"identity,omitempty"` // metadata to update. skipping updates if left empty Metadata string `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"` // set to update the participant's permissions Permission *ParticipantPermission `protobuf:"bytes,4,opt,name=permission,proto3" json:"permission,omitempty"` // contains filtered or unexported fields }
func (*UpdateParticipantRequest) Descriptor
deprecated
func (*UpdateParticipantRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateParticipantRequest.ProtoReflect.Descriptor instead.
func (*UpdateParticipantRequest) GetIdentity ¶
func (x *UpdateParticipantRequest) GetIdentity() string
func (*UpdateParticipantRequest) GetMetadata ¶
func (x *UpdateParticipantRequest) GetMetadata() string
func (*UpdateParticipantRequest) GetPermission ¶
func (x *UpdateParticipantRequest) GetPermission() *ParticipantPermission
func (*UpdateParticipantRequest) GetRoom ¶
func (x *UpdateParticipantRequest) GetRoom() string
func (*UpdateParticipantRequest) ProtoMessage ¶
func (*UpdateParticipantRequest) ProtoMessage()
func (*UpdateParticipantRequest) ProtoReflect ¶
func (x *UpdateParticipantRequest) ProtoReflect() protoreflect.Message
func (*UpdateParticipantRequest) Reset ¶
func (x *UpdateParticipantRequest) Reset()
func (*UpdateParticipantRequest) String ¶
func (x *UpdateParticipantRequest) String() string
type UpdateRoomMetadataRequest ¶
type UpdateRoomMetadataRequest struct { Room string `protobuf:"bytes,1,opt,name=room,proto3" json:"room,omitempty"` // metadata to update. skipping updates if left empty Metadata string `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"` // contains filtered or unexported fields }
func (*UpdateRoomMetadataRequest) Descriptor
deprecated
func (*UpdateRoomMetadataRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateRoomMetadataRequest.ProtoReflect.Descriptor instead.
func (*UpdateRoomMetadataRequest) GetMetadata ¶
func (x *UpdateRoomMetadataRequest) GetMetadata() string
func (*UpdateRoomMetadataRequest) GetRoom ¶
func (x *UpdateRoomMetadataRequest) GetRoom() string
func (*UpdateRoomMetadataRequest) ProtoMessage ¶
func (*UpdateRoomMetadataRequest) ProtoMessage()
func (*UpdateRoomMetadataRequest) ProtoReflect ¶
func (x *UpdateRoomMetadataRequest) ProtoReflect() protoreflect.Message
func (*UpdateRoomMetadataRequest) Reset ¶
func (x *UpdateRoomMetadataRequest) Reset()
func (*UpdateRoomMetadataRequest) String ¶
func (x *UpdateRoomMetadataRequest) String() string
type UpdateSubscription ¶
type UpdateSubscription struct { TrackSids []string `protobuf:"bytes,1,rep,name=track_sids,json=trackSids,proto3" json:"track_sids,omitempty"` Subscribe bool `protobuf:"varint,2,opt,name=subscribe,proto3" json:"subscribe,omitempty"` ParticipantTracks []*ParticipantTracks `protobuf:"bytes,3,rep,name=participant_tracks,json=participantTracks,proto3" json:"participant_tracks,omitempty"` // contains filtered or unexported fields }
func (*UpdateSubscription) Descriptor
deprecated
func (*UpdateSubscription) Descriptor() ([]byte, []int)
Deprecated: Use UpdateSubscription.ProtoReflect.Descriptor instead.
func (*UpdateSubscription) GetParticipantTracks ¶
func (x *UpdateSubscription) GetParticipantTracks() []*ParticipantTracks
func (*UpdateSubscription) GetSubscribe ¶
func (x *UpdateSubscription) GetSubscribe() bool
func (*UpdateSubscription) GetTrackSids ¶
func (x *UpdateSubscription) GetTrackSids() []string
func (*UpdateSubscription) ProtoMessage ¶
func (*UpdateSubscription) ProtoMessage()
func (*UpdateSubscription) ProtoReflect ¶
func (x *UpdateSubscription) ProtoReflect() protoreflect.Message
func (*UpdateSubscription) Reset ¶
func (x *UpdateSubscription) Reset()
func (*UpdateSubscription) String ¶
func (x *UpdateSubscription) String() string
type UpdateSubscriptionsRequest ¶
type UpdateSubscriptionsRequest struct { Room string `protobuf:"bytes,1,opt,name=room,proto3" json:"room,omitempty"` Identity string `protobuf:"bytes,2,opt,name=identity,proto3" json:"identity,omitempty"` // list of sids of tracks TrackSids []string `protobuf:"bytes,3,rep,name=track_sids,json=trackSids,proto3" json:"track_sids,omitempty"` // set to true to subscribe, false to unsubscribe from tracks Subscribe bool `protobuf:"varint,4,opt,name=subscribe,proto3" json:"subscribe,omitempty"` // list of participants and their tracks ParticipantTracks []*ParticipantTracks `protobuf:"bytes,5,rep,name=participant_tracks,json=participantTracks,proto3" json:"participant_tracks,omitempty"` // contains filtered or unexported fields }
func (*UpdateSubscriptionsRequest) Descriptor
deprecated
func (*UpdateSubscriptionsRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateSubscriptionsRequest.ProtoReflect.Descriptor instead.
func (*UpdateSubscriptionsRequest) GetIdentity ¶
func (x *UpdateSubscriptionsRequest) GetIdentity() string
func (*UpdateSubscriptionsRequest) GetParticipantTracks ¶
func (x *UpdateSubscriptionsRequest) GetParticipantTracks() []*ParticipantTracks
func (*UpdateSubscriptionsRequest) GetRoom ¶
func (x *UpdateSubscriptionsRequest) GetRoom() string
func (*UpdateSubscriptionsRequest) GetSubscribe ¶
func (x *UpdateSubscriptionsRequest) GetSubscribe() bool
func (*UpdateSubscriptionsRequest) GetTrackSids ¶
func (x *UpdateSubscriptionsRequest) GetTrackSids() []string
func (*UpdateSubscriptionsRequest) ProtoMessage ¶
func (*UpdateSubscriptionsRequest) ProtoMessage()
func (*UpdateSubscriptionsRequest) ProtoReflect ¶
func (x *UpdateSubscriptionsRequest) ProtoReflect() protoreflect.Message
func (*UpdateSubscriptionsRequest) Reset ¶
func (x *UpdateSubscriptionsRequest) Reset()
func (*UpdateSubscriptionsRequest) String ¶
func (x *UpdateSubscriptionsRequest) String() string
type UpdateSubscriptionsResponse ¶
type UpdateSubscriptionsResponse struct {
// contains filtered or unexported fields
}
func (*UpdateSubscriptionsResponse) Descriptor
deprecated
func (*UpdateSubscriptionsResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateSubscriptionsResponse.ProtoReflect.Descriptor instead.
func (*UpdateSubscriptionsResponse) ProtoMessage ¶
func (*UpdateSubscriptionsResponse) ProtoMessage()
func (*UpdateSubscriptionsResponse) ProtoReflect ¶
func (x *UpdateSubscriptionsResponse) ProtoReflect() protoreflect.Message
func (*UpdateSubscriptionsResponse) Reset ¶
func (x *UpdateSubscriptionsResponse) Reset()
func (*UpdateSubscriptionsResponse) String ¶
func (x *UpdateSubscriptionsResponse) String() string
type UpdateTrackSettings ¶
type UpdateTrackSettings struct { TrackSids []string `protobuf:"bytes,1,rep,name=track_sids,json=trackSids,proto3" json:"track_sids,omitempty"` // when true, the track is placed in a paused state, with no new data returned Disabled bool `protobuf:"varint,3,opt,name=disabled,proto3" json:"disabled,omitempty"` // deprecated in favor of width & height Quality VideoQuality `protobuf:"varint,4,opt,name=quality,proto3,enum=livekitx.VideoQuality" json:"quality,omitempty"` // for video, width to receive Width uint32 `protobuf:"varint,5,opt,name=width,proto3" json:"width,omitempty"` // for video, height to receive Height uint32 `protobuf:"varint,6,opt,name=height,proto3" json:"height,omitempty"` // contains filtered or unexported fields }
func (*UpdateTrackSettings) Descriptor
deprecated
func (*UpdateTrackSettings) Descriptor() ([]byte, []int)
Deprecated: Use UpdateTrackSettings.ProtoReflect.Descriptor instead.
func (*UpdateTrackSettings) GetDisabled ¶
func (x *UpdateTrackSettings) GetDisabled() bool
func (*UpdateTrackSettings) GetHeight ¶
func (x *UpdateTrackSettings) GetHeight() uint32
func (*UpdateTrackSettings) GetQuality ¶
func (x *UpdateTrackSettings) GetQuality() VideoQuality
func (*UpdateTrackSettings) GetTrackSids ¶
func (x *UpdateTrackSettings) GetTrackSids() []string
func (*UpdateTrackSettings) GetWidth ¶
func (x *UpdateTrackSettings) GetWidth() uint32
func (*UpdateTrackSettings) ProtoMessage ¶
func (*UpdateTrackSettings) ProtoMessage()
func (*UpdateTrackSettings) ProtoReflect ¶
func (x *UpdateTrackSettings) ProtoReflect() protoreflect.Message
func (*UpdateTrackSettings) Reset ¶
func (x *UpdateTrackSettings) Reset()
func (*UpdateTrackSettings) String ¶
func (x *UpdateTrackSettings) String() string
type UpdateVideoLayers ¶
type UpdateVideoLayers struct { TrackSid string `protobuf:"bytes,1,opt,name=track_sid,json=trackSid,proto3" json:"track_sid,omitempty"` Layers []*VideoLayer `protobuf:"bytes,2,rep,name=layers,proto3" json:"layers,omitempty"` // contains filtered or unexported fields }
message to indicate published video track dimensions are changing
func (*UpdateVideoLayers) Descriptor
deprecated
func (*UpdateVideoLayers) Descriptor() ([]byte, []int)
Deprecated: Use UpdateVideoLayers.ProtoReflect.Descriptor instead.
func (*UpdateVideoLayers) GetLayers ¶
func (x *UpdateVideoLayers) GetLayers() []*VideoLayer
func (*UpdateVideoLayers) GetTrackSid ¶
func (x *UpdateVideoLayers) GetTrackSid() string
func (*UpdateVideoLayers) ProtoMessage ¶
func (*UpdateVideoLayers) ProtoMessage()
func (*UpdateVideoLayers) ProtoReflect ¶
func (x *UpdateVideoLayers) ProtoReflect() protoreflect.Message
func (*UpdateVideoLayers) Reset ¶
func (x *UpdateVideoLayers) Reset()
func (*UpdateVideoLayers) String ¶
func (x *UpdateVideoLayers) String() string
type UserPacket ¶
type UserPacket struct { // participant ID of user that sent the message ParticipantSid string `protobuf:"bytes,1,opt,name=participant_sid,json=participantSid,proto3" json:"participant_sid,omitempty"` // user defined payload Payload []byte `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"` // the ID of the participants who will receive the message (the message will be sent to all the people in the room if this variable is empty) DestinationSids []string `protobuf:"bytes,3,rep,name=destination_sids,json=destinationSids,proto3" json:"destination_sids,omitempty"` // contains filtered or unexported fields }
func (*UserPacket) Descriptor
deprecated
func (*UserPacket) Descriptor() ([]byte, []int)
Deprecated: Use UserPacket.ProtoReflect.Descriptor instead.
func (*UserPacket) GetDestinationSids ¶
func (x *UserPacket) GetDestinationSids() []string
func (*UserPacket) GetParticipantSid ¶
func (x *UserPacket) GetParticipantSid() string
func (*UserPacket) GetPayload ¶
func (x *UserPacket) GetPayload() []byte
func (*UserPacket) ProtoMessage ¶
func (*UserPacket) ProtoMessage()
func (*UserPacket) ProtoReflect ¶
func (x *UserPacket) ProtoReflect() protoreflect.Message
func (*UserPacket) Reset ¶
func (x *UserPacket) Reset()
func (*UserPacket) String ¶
func (x *UserPacket) String() string
type VideoLayer ¶
type VideoLayer struct { // for tracks with a single layer, this should be HIGH Quality VideoQuality `protobuf:"varint,1,opt,name=quality,proto3,enum=livekitx.VideoQuality" json:"quality,omitempty"` Width uint32 `protobuf:"varint,2,opt,name=width,proto3" json:"width,omitempty"` Height uint32 `protobuf:"varint,3,opt,name=height,proto3" json:"height,omitempty"` // target bitrate, server will measure actual Bitrate uint32 `protobuf:"varint,4,opt,name=bitrate,proto3" json:"bitrate,omitempty"` Ssrc uint32 `protobuf:"varint,5,opt,name=ssrc,proto3" json:"ssrc,omitempty"` // contains filtered or unexported fields }
provide information about available spatial layers
func (*VideoLayer) Descriptor
deprecated
func (*VideoLayer) Descriptor() ([]byte, []int)
Deprecated: Use VideoLayer.ProtoReflect.Descriptor instead.
func (*VideoLayer) GetBitrate ¶
func (x *VideoLayer) GetBitrate() uint32
func (*VideoLayer) GetHeight ¶
func (x *VideoLayer) GetHeight() uint32
func (*VideoLayer) GetQuality ¶
func (x *VideoLayer) GetQuality() VideoQuality
func (*VideoLayer) GetSsrc ¶
func (x *VideoLayer) GetSsrc() uint32
func (*VideoLayer) GetWidth ¶
func (x *VideoLayer) GetWidth() uint32
func (*VideoLayer) ProtoMessage ¶
func (*VideoLayer) ProtoMessage()
func (*VideoLayer) ProtoReflect ¶
func (x *VideoLayer) ProtoReflect() protoreflect.Message
func (*VideoLayer) Reset ¶
func (x *VideoLayer) Reset()
func (*VideoLayer) String ¶
func (x *VideoLayer) String() string
type VideoQuality ¶
type VideoQuality int32
const ( VideoQuality_LOW VideoQuality = 0 VideoQuality_MEDIUM VideoQuality = 1 VideoQuality_HIGH VideoQuality = 2 VideoQuality_OFF VideoQuality = 3 )
func (VideoQuality) Descriptor ¶
func (VideoQuality) Descriptor() protoreflect.EnumDescriptor
func (VideoQuality) Enum ¶
func (x VideoQuality) Enum() *VideoQuality
func (VideoQuality) EnumDescriptor
deprecated
func (VideoQuality) EnumDescriptor() ([]byte, []int)
Deprecated: Use VideoQuality.Descriptor instead.
func (VideoQuality) Number ¶
func (x VideoQuality) Number() protoreflect.EnumNumber
func (VideoQuality) String ¶
func (x VideoQuality) String() string
func (VideoQuality) Type ¶
func (VideoQuality) Type() protoreflect.EnumType
type WebhookEvent ¶
type WebhookEvent struct { // one of room_started, room_finished, participant_joined, participant_left, recording_started, recording_finished Event string `protobuf:"bytes,1,opt,name=event,proto3" json:"event,omitempty"` Room *Room `protobuf:"bytes,2,opt,name=room,proto3" json:"room,omitempty"` // set when event is participant_* Participant *ParticipantInfo `protobuf:"bytes,3,opt,name=participant,proto3" json:"participant,omitempty"` // set when event is recording_* RecordingInfo *RecordingInfo `protobuf:"bytes,5,opt,name=recording_info,json=recordingInfo,proto3" json:"recording_info,omitempty"` // unique event uuid Id string `protobuf:"bytes,6,opt,name=id,proto3" json:"id,omitempty"` // timestamp in seconds CreatedAt int64 `protobuf:"varint,7,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // contains filtered or unexported fields }
func (*WebhookEvent) Descriptor
deprecated
func (*WebhookEvent) Descriptor() ([]byte, []int)
Deprecated: Use WebhookEvent.ProtoReflect.Descriptor instead.
func (*WebhookEvent) GetCreatedAt ¶
func (x *WebhookEvent) GetCreatedAt() int64
func (*WebhookEvent) GetEvent ¶
func (x *WebhookEvent) GetEvent() string
func (*WebhookEvent) GetId ¶
func (x *WebhookEvent) GetId() string
func (*WebhookEvent) GetParticipant ¶
func (x *WebhookEvent) GetParticipant() *ParticipantInfo
func (*WebhookEvent) GetRecordingInfo ¶
func (x *WebhookEvent) GetRecordingInfo() *RecordingInfo
func (*WebhookEvent) GetRoom ¶
func (x *WebhookEvent) GetRoom() *Room
func (*WebhookEvent) ProtoMessage ¶
func (*WebhookEvent) ProtoMessage()
func (*WebhookEvent) ProtoReflect ¶
func (x *WebhookEvent) ProtoReflect() protoreflect.Message
func (*WebhookEvent) Reset ¶
func (x *WebhookEvent) Reset()
func (*WebhookEvent) String ¶
func (x *WebhookEvent) String() string
type WhiteboardReply ¶
type WhiteboardReply struct {
// contains filtered or unexported fields
}
func (*WhiteboardReply) Descriptor
deprecated
func (*WhiteboardReply) Descriptor() ([]byte, []int)
Deprecated: Use WhiteboardReply.ProtoReflect.Descriptor instead.
func (*WhiteboardReply) ProtoMessage ¶
func (*WhiteboardReply) ProtoMessage()
func (*WhiteboardReply) ProtoReflect ¶
func (x *WhiteboardReply) ProtoReflect() protoreflect.Message
func (*WhiteboardReply) Reset ¶
func (x *WhiteboardReply) Reset()
func (*WhiteboardReply) String ¶
func (x *WhiteboardReply) String() string
type WhiteboardRequest ¶
type WhiteboardRequest struct { // Types that are assignable to Message: // // *WhiteboardRequest_Text // *WhiteboardRequest_Picture Message isWhiteboardRequest_Message `protobuf_oneof:"message"` Keys []string `protobuf:"bytes,3,rep,name=keys,proto3" json:"keys,omitempty"` Room string `protobuf:"bytes,4,opt,name=room,proto3" json:"room,omitempty"` Data []byte `protobuf:"bytes,5,opt,name=data,proto3" json:"data,omitempty"` Identity string `protobuf:"bytes,6,opt,name=identity,proto3" json:"identity,omitempty"` Content string `protobuf:"bytes,7,opt,name=content,proto3" json:"content,omitempty"` From *From `protobuf:"bytes,8,opt,name=from,proto3" json:"from,omitempty"` To *Target `protobuf:"bytes,9,opt,name=to,proto3" json:"to,omitempty"` Type string `protobuf:"bytes,10,opt,name=type,proto3" json:"type,omitempty"` // contains filtered or unexported fields }
func (*WhiteboardRequest) Descriptor
deprecated
func (*WhiteboardRequest) Descriptor() ([]byte, []int)
Deprecated: Use WhiteboardRequest.ProtoReflect.Descriptor instead.
func (*WhiteboardRequest) GetContent ¶
func (x *WhiteboardRequest) GetContent() string
func (*WhiteboardRequest) GetData ¶
func (x *WhiteboardRequest) GetData() []byte
func (*WhiteboardRequest) GetFrom ¶
func (x *WhiteboardRequest) GetFrom() *From
func (*WhiteboardRequest) GetIdentity ¶
func (x *WhiteboardRequest) GetIdentity() string
func (*WhiteboardRequest) GetKeys ¶
func (x *WhiteboardRequest) GetKeys() []string
func (*WhiteboardRequest) GetMessage ¶
func (m *WhiteboardRequest) GetMessage() isWhiteboardRequest_Message
func (*WhiteboardRequest) GetPicture ¶
func (x *WhiteboardRequest) GetPicture() *PictureMessage
func (*WhiteboardRequest) GetRoom ¶
func (x *WhiteboardRequest) GetRoom() string
func (*WhiteboardRequest) GetText ¶
func (x *WhiteboardRequest) GetText() *TextMessage
func (*WhiteboardRequest) GetTo ¶
func (x *WhiteboardRequest) GetTo() *Target
func (*WhiteboardRequest) GetType ¶
func (x *WhiteboardRequest) GetType() string
func (*WhiteboardRequest) ProtoMessage ¶
func (*WhiteboardRequest) ProtoMessage()
func (*WhiteboardRequest) ProtoReflect ¶
func (x *WhiteboardRequest) ProtoReflect() protoreflect.Message
func (*WhiteboardRequest) Reset ¶
func (x *WhiteboardRequest) Reset()
func (*WhiteboardRequest) String ¶
func (x *WhiteboardRequest) String() string
type WhiteboardRequest_Picture ¶
type WhiteboardRequest_Picture struct {
Picture *PictureMessage `protobuf:"bytes,2,opt,name=picture,proto3,oneof"`
}
type WhiteboardRequest_Text ¶
type WhiteboardRequest_Text struct {
Text *TextMessage `protobuf:"bytes,1,opt,name=text,proto3,oneof"`
}