Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type FakeParticipant
- func (fake *FakeParticipant) AddICECandidate(arg1 webrtc.ICECandidateInit, arg2 livekit.SignalTarget) error
- func (fake *FakeParticipant) AddICECandidateArgsForCall(i int) (webrtc.ICECandidateInit, livekit.SignalTarget)
- func (fake *FakeParticipant) AddICECandidateCallCount() int
- func (fake *FakeParticipant) AddICECandidateCalls(stub func(webrtc.ICECandidateInit, livekit.SignalTarget) error)
- func (fake *FakeParticipant) AddICECandidateReturns(result1 error)
- func (fake *FakeParticipant) AddICECandidateReturnsOnCall(i int, result1 error)
- func (fake *FakeParticipant) AddSubscribedTrack(arg1 string, arg2 types.SubscribedTrack)
- func (fake *FakeParticipant) AddSubscribedTrackArgsForCall(i int) (string, types.SubscribedTrack)
- func (fake *FakeParticipant) AddSubscribedTrackCallCount() int
- func (fake *FakeParticipant) AddSubscribedTrackCalls(stub func(string, types.SubscribedTrack))
- func (fake *FakeParticipant) AddSubscriber(arg1 types.Participant) (int, error)
- func (fake *FakeParticipant) AddSubscriberArgsForCall(i int) types.Participant
- func (fake *FakeParticipant) AddSubscriberCallCount() int
- func (fake *FakeParticipant) AddSubscriberCalls(stub func(types.Participant) (int, error))
- func (fake *FakeParticipant) AddSubscriberReturns(result1 int, result2 error)
- func (fake *FakeParticipant) AddSubscriberReturnsOnCall(i int, result1 int, result2 error)
- func (fake *FakeParticipant) AddTrack(arg1 *livekit.AddTrackRequest)
- func (fake *FakeParticipant) AddTrackArgsForCall(i int) *livekit.AddTrackRequest
- func (fake *FakeParticipant) AddTrackCallCount() int
- func (fake *FakeParticipant) AddTrackCalls(stub func(*livekit.AddTrackRequest))
- func (fake *FakeParticipant) CanPublish() bool
- func (fake *FakeParticipant) CanPublishCallCount() int
- func (fake *FakeParticipant) CanPublishCalls(stub func() bool)
- func (fake *FakeParticipant) CanPublishData() bool
- func (fake *FakeParticipant) CanPublishDataCallCount() int
- func (fake *FakeParticipant) CanPublishDataCalls(stub func() bool)
- func (fake *FakeParticipant) CanPublishDataReturns(result1 bool)
- func (fake *FakeParticipant) CanPublishDataReturnsOnCall(i int, result1 bool)
- func (fake *FakeParticipant) CanPublishReturns(result1 bool)
- func (fake *FakeParticipant) CanPublishReturnsOnCall(i int, result1 bool)
- func (fake *FakeParticipant) CanSubscribe() bool
- func (fake *FakeParticipant) CanSubscribeCallCount() int
- func (fake *FakeParticipant) CanSubscribeCalls(stub func() bool)
- func (fake *FakeParticipant) CanSubscribeReturns(result1 bool)
- func (fake *FakeParticipant) CanSubscribeReturnsOnCall(i int, result1 bool)
- func (fake *FakeParticipant) Close() error
- func (fake *FakeParticipant) CloseCallCount() int
- func (fake *FakeParticipant) CloseCalls(stub func() error)
- func (fake *FakeParticipant) CloseReturns(result1 error)
- func (fake *FakeParticipant) CloseReturnsOnCall(i int, result1 error)
- func (fake *FakeParticipant) ConnectedAt() time.Time
- func (fake *FakeParticipant) ConnectedAtCallCount() int
- func (fake *FakeParticipant) ConnectedAtCalls(stub func() time.Time)
- func (fake *FakeParticipant) ConnectedAtReturns(result1 time.Time)
- func (fake *FakeParticipant) ConnectedAtReturnsOnCall(i int, result1 time.Time)
- func (fake *FakeParticipant) DebugInfo() map[string]interface{}
- func (fake *FakeParticipant) DebugInfoCallCount() int
- func (fake *FakeParticipant) DebugInfoCalls(stub func() map[string]interface{})
- func (fake *FakeParticipant) DebugInfoReturns(result1 map[string]interface{})
- func (fake *FakeParticipant) DebugInfoReturnsOnCall(i int, result1 map[string]interface{})
- func (fake *FakeParticipant) GetAudioLevel() (uint8, bool)
- func (fake *FakeParticipant) GetAudioLevelCallCount() int
- func (fake *FakeParticipant) GetAudioLevelCalls(stub func() (uint8, bool))
- func (fake *FakeParticipant) GetAudioLevelReturns(result1 uint8, result2 bool)
- func (fake *FakeParticipant) GetAudioLevelReturnsOnCall(i int, result1 uint8, result2 bool)
- func (fake *FakeParticipant) GetPublishedTracks() []types.PublishedTrack
- func (fake *FakeParticipant) GetPublishedTracksCallCount() int
- func (fake *FakeParticipant) GetPublishedTracksCalls(stub func() []types.PublishedTrack)
- func (fake *FakeParticipant) GetPublishedTracksReturns(result1 []types.PublishedTrack)
- func (fake *FakeParticipant) GetPublishedTracksReturnsOnCall(i int, result1 []types.PublishedTrack)
- func (fake *FakeParticipant) GetResponseSink() routing.MessageSink
- func (fake *FakeParticipant) GetResponseSinkCallCount() int
- func (fake *FakeParticipant) GetResponseSinkCalls(stub func() routing.MessageSink)
- func (fake *FakeParticipant) GetResponseSinkReturns(result1 routing.MessageSink)
- func (fake *FakeParticipant) GetResponseSinkReturnsOnCall(i int, result1 routing.MessageSink)
- func (fake *FakeParticipant) GetSubscribedTracks() []types.SubscribedTrack
- func (fake *FakeParticipant) GetSubscribedTracksCallCount() int
- func (fake *FakeParticipant) GetSubscribedTracksCalls(stub func() []types.SubscribedTrack)
- func (fake *FakeParticipant) GetSubscribedTracksReturns(result1 []types.SubscribedTrack)
- func (fake *FakeParticipant) GetSubscribedTracksReturnsOnCall(i int, result1 []types.SubscribedTrack)
- func (fake *FakeParticipant) HandleAnswer(arg1 webrtc.SessionDescription) error
- func (fake *FakeParticipant) HandleAnswerArgsForCall(i int) webrtc.SessionDescription
- func (fake *FakeParticipant) HandleAnswerCallCount() int
- func (fake *FakeParticipant) HandleAnswerCalls(stub func(webrtc.SessionDescription) error)
- func (fake *FakeParticipant) HandleAnswerReturns(result1 error)
- func (fake *FakeParticipant) HandleAnswerReturnsOnCall(i int, result1 error)
- func (fake *FakeParticipant) HandleOffer(arg1 webrtc.SessionDescription) (webrtc.SessionDescription, error)
- func (fake *FakeParticipant) HandleOfferArgsForCall(i int) webrtc.SessionDescription
- func (fake *FakeParticipant) HandleOfferCallCount() int
- func (fake *FakeParticipant) HandleOfferCalls(stub func(webrtc.SessionDescription) (webrtc.SessionDescription, error))
- func (fake *FakeParticipant) HandleOfferReturns(result1 webrtc.SessionDescription, result2 error)
- func (fake *FakeParticipant) HandleOfferReturnsOnCall(i int, result1 webrtc.SessionDescription, result2 error)
- func (fake *FakeParticipant) Hidden() bool
- func (fake *FakeParticipant) HiddenCallCount() int
- func (fake *FakeParticipant) HiddenCalls(stub func() bool)
- func (fake *FakeParticipant) HiddenReturns(result1 bool)
- func (fake *FakeParticipant) HiddenReturnsOnCall(i int, result1 bool)
- func (fake *FakeParticipant) ICERestart() error
- func (fake *FakeParticipant) ICERestartCallCount() int
- func (fake *FakeParticipant) ICERestartCalls(stub func() error)
- func (fake *FakeParticipant) ICERestartReturns(result1 error)
- func (fake *FakeParticipant) ICERestartReturnsOnCall(i int, result1 error)
- func (fake *FakeParticipant) ID() string
- func (fake *FakeParticipant) IDCallCount() int
- func (fake *FakeParticipant) IDCalls(stub func() string)
- func (fake *FakeParticipant) IDReturns(result1 string)
- func (fake *FakeParticipant) IDReturnsOnCall(i int, result1 string)
- func (fake *FakeParticipant) Identity() string
- func (fake *FakeParticipant) IdentityCallCount() int
- func (fake *FakeParticipant) IdentityCalls(stub func() string)
- func (fake *FakeParticipant) IdentityReturns(result1 string)
- func (fake *FakeParticipant) IdentityReturnsOnCall(i int, result1 string)
- func (fake *FakeParticipant) Invocations() map[string][][]interface{}
- func (fake *FakeParticipant) IsReady() bool
- func (fake *FakeParticipant) IsReadyCallCount() int
- func (fake *FakeParticipant) IsReadyCalls(stub func() bool)
- func (fake *FakeParticipant) IsReadyReturns(result1 bool)
- func (fake *FakeParticipant) IsReadyReturnsOnCall(i int, result1 bool)
- func (fake *FakeParticipant) Negotiate()
- func (fake *FakeParticipant) NegotiateCallCount() int
- func (fake *FakeParticipant) NegotiateCalls(stub func())
- func (fake *FakeParticipant) OnClose(arg1 func(types.Participant))
- func (fake *FakeParticipant) OnCloseArgsForCall(i int) func(types.Participant)
- func (fake *FakeParticipant) OnCloseCallCount() int
- func (fake *FakeParticipant) OnCloseCalls(stub func(func(types.Participant)))
- func (fake *FakeParticipant) OnDataPacket(arg1 func(types.Participant, *livekit.DataPacket))
- func (fake *FakeParticipant) OnDataPacketArgsForCall(i int) func(types.Participant, *livekit.DataPacket)
- func (fake *FakeParticipant) OnDataPacketCallCount() int
- func (fake *FakeParticipant) OnDataPacketCalls(stub func(func(types.Participant, *livekit.DataPacket)))
- func (fake *FakeParticipant) OnMetadataUpdate(arg1 func(types.Participant))
- func (fake *FakeParticipant) OnMetadataUpdateArgsForCall(i int) func(types.Participant)
- func (fake *FakeParticipant) OnMetadataUpdateCallCount() int
- func (fake *FakeParticipant) OnMetadataUpdateCalls(stub func(func(types.Participant)))
- func (fake *FakeParticipant) OnStateChange(arg1 func(p types.Participant, oldState livekit.ParticipantInfo_State))
- func (fake *FakeParticipant) OnStateChangeArgsForCall(i int) func(p types.Participant, oldState livekit.ParticipantInfo_State)
- func (fake *FakeParticipant) OnStateChangeCallCount() int
- func (fake *FakeParticipant) OnStateChangeCalls(stub func(func(p types.Participant, oldState livekit.ParticipantInfo_State)))
- func (fake *FakeParticipant) OnTrackPublished(arg1 func(types.Participant, types.PublishedTrack))
- func (fake *FakeParticipant) OnTrackPublishedArgsForCall(i int) func(types.Participant, types.PublishedTrack)
- func (fake *FakeParticipant) OnTrackPublishedCallCount() int
- func (fake *FakeParticipant) OnTrackPublishedCalls(stub func(func(types.Participant, types.PublishedTrack)))
- func (fake *FakeParticipant) OnTrackUpdated(arg1 func(types.Participant, types.PublishedTrack))
- func (fake *FakeParticipant) OnTrackUpdatedArgsForCall(i int) func(types.Participant, types.PublishedTrack)
- func (fake *FakeParticipant) OnTrackUpdatedCallCount() int
- func (fake *FakeParticipant) OnTrackUpdatedCalls(stub func(func(types.Participant, types.PublishedTrack)))
- func (fake *FakeParticipant) ProtocolVersion() types.ProtocolVersion
- func (fake *FakeParticipant) ProtocolVersionCallCount() int
- func (fake *FakeParticipant) ProtocolVersionCalls(stub func() types.ProtocolVersion)
- func (fake *FakeParticipant) ProtocolVersionReturns(result1 types.ProtocolVersion)
- func (fake *FakeParticipant) ProtocolVersionReturnsOnCall(i int, result1 types.ProtocolVersion)
- func (fake *FakeParticipant) RTCPChan() chan []rtcp.Packet
- func (fake *FakeParticipant) RTCPChanCallCount() int
- func (fake *FakeParticipant) RTCPChanCalls(stub func() chan []rtcp.Packet)
- func (fake *FakeParticipant) RTCPChanReturns(result1 chan []rtcp.Packet)
- func (fake *FakeParticipant) RTCPChanReturnsOnCall(i int, result1 chan []rtcp.Packet)
- func (fake *FakeParticipant) RemoveSubscribedTrack(arg1 string, arg2 types.SubscribedTrack)
- func (fake *FakeParticipant) RemoveSubscribedTrackArgsForCall(i int) (string, types.SubscribedTrack)
- func (fake *FakeParticipant) RemoveSubscribedTrackCallCount() int
- func (fake *FakeParticipant) RemoveSubscribedTrackCalls(stub func(string, types.SubscribedTrack))
- func (fake *FakeParticipant) RemoveSubscriber(arg1 string)
- func (fake *FakeParticipant) RemoveSubscriberArgsForCall(i int) string
- func (fake *FakeParticipant) RemoveSubscriberCallCount() int
- func (fake *FakeParticipant) RemoveSubscriberCalls(stub func(string))
- func (fake *FakeParticipant) SendDataPacket(arg1 *livekit.DataPacket) error
- func (fake *FakeParticipant) SendDataPacketArgsForCall(i int) *livekit.DataPacket
- func (fake *FakeParticipant) SendDataPacketCallCount() int
- func (fake *FakeParticipant) SendDataPacketCalls(stub func(*livekit.DataPacket) error)
- func (fake *FakeParticipant) SendDataPacketReturns(result1 error)
- func (fake *FakeParticipant) SendDataPacketReturnsOnCall(i int, result1 error)
- func (fake *FakeParticipant) SendJoinResponse(arg1 *livekit.Room, arg2 []types.Participant, arg3 []*livekit.ICEServer) error
- func (fake *FakeParticipant) SendJoinResponseArgsForCall(i int) (*livekit.Room, []types.Participant, []*livekit.ICEServer)
- func (fake *FakeParticipant) SendJoinResponseCallCount() int
- func (fake *FakeParticipant) SendJoinResponseCalls(stub func(*livekit.Room, []types.Participant, []*livekit.ICEServer) error)
- func (fake *FakeParticipant) SendJoinResponseReturns(result1 error)
- func (fake *FakeParticipant) SendJoinResponseReturnsOnCall(i int, result1 error)
- func (fake *FakeParticipant) SendParticipantUpdate(arg1 []*livekit.ParticipantInfo) error
- func (fake *FakeParticipant) SendParticipantUpdateArgsForCall(i int) []*livekit.ParticipantInfo
- func (fake *FakeParticipant) SendParticipantUpdateCallCount() int
- func (fake *FakeParticipant) SendParticipantUpdateCalls(stub func([]*livekit.ParticipantInfo) error)
- func (fake *FakeParticipant) SendParticipantUpdateReturns(result1 error)
- func (fake *FakeParticipant) SendParticipantUpdateReturnsOnCall(i int, result1 error)
- func (fake *FakeParticipant) SendSpeakerUpdate(arg1 []*livekit.SpeakerInfo) error
- func (fake *FakeParticipant) SendSpeakerUpdateArgsForCall(i int) []*livekit.SpeakerInfo
- func (fake *FakeParticipant) SendSpeakerUpdateCallCount() int
- func (fake *FakeParticipant) SendSpeakerUpdateCalls(stub func([]*livekit.SpeakerInfo) error)
- func (fake *FakeParticipant) SendSpeakerUpdateReturns(result1 error)
- func (fake *FakeParticipant) SendSpeakerUpdateReturnsOnCall(i int, result1 error)
- func (fake *FakeParticipant) SetMetadata(arg1 string)
- func (fake *FakeParticipant) SetMetadataArgsForCall(i int) string
- func (fake *FakeParticipant) SetMetadataCallCount() int
- func (fake *FakeParticipant) SetMetadataCalls(stub func(string))
- func (fake *FakeParticipant) SetPermission(arg1 *livekit.ParticipantPermission)
- func (fake *FakeParticipant) SetPermissionArgsForCall(i int) *livekit.ParticipantPermission
- func (fake *FakeParticipant) SetPermissionCallCount() int
- func (fake *FakeParticipant) SetPermissionCalls(stub func(*livekit.ParticipantPermission))
- func (fake *FakeParticipant) SetResponseSink(arg1 routing.MessageSink)
- func (fake *FakeParticipant) SetResponseSinkArgsForCall(i int) routing.MessageSink
- func (fake *FakeParticipant) SetResponseSinkCallCount() int
- func (fake *FakeParticipant) SetResponseSinkCalls(stub func(routing.MessageSink))
- func (fake *FakeParticipant) SetTrackMuted(arg1 string, arg2 bool, arg3 bool)
- func (fake *FakeParticipant) SetTrackMutedArgsForCall(i int) (string, bool, bool)
- func (fake *FakeParticipant) SetTrackMutedCallCount() int
- func (fake *FakeParticipant) SetTrackMutedCalls(stub func(string, bool, bool))
- func (fake *FakeParticipant) Start()
- func (fake *FakeParticipant) StartCallCount() int
- func (fake *FakeParticipant) StartCalls(stub func())
- func (fake *FakeParticipant) State() livekit.ParticipantInfo_State
- func (fake *FakeParticipant) StateCallCount() int
- func (fake *FakeParticipant) StateCalls(stub func() livekit.ParticipantInfo_State)
- func (fake *FakeParticipant) StateReturns(result1 livekit.ParticipantInfo_State)
- func (fake *FakeParticipant) StateReturnsOnCall(i int, result1 livekit.ParticipantInfo_State)
- func (fake *FakeParticipant) SubscriberMediaEngine() *webrtc.MediaEngine
- func (fake *FakeParticipant) SubscriberMediaEngineCallCount() int
- func (fake *FakeParticipant) SubscriberMediaEngineCalls(stub func() *webrtc.MediaEngine)
- func (fake *FakeParticipant) SubscriberMediaEngineReturns(result1 *webrtc.MediaEngine)
- func (fake *FakeParticipant) SubscriberMediaEngineReturnsOnCall(i int, result1 *webrtc.MediaEngine)
- func (fake *FakeParticipant) SubscriberPC() *webrtc.PeerConnection
- func (fake *FakeParticipant) SubscriberPCCallCount() int
- func (fake *FakeParticipant) SubscriberPCCalls(stub func() *webrtc.PeerConnection)
- func (fake *FakeParticipant) SubscriberPCReturns(result1 *webrtc.PeerConnection)
- func (fake *FakeParticipant) SubscriberPCReturnsOnCall(i int, result1 *webrtc.PeerConnection)
- func (fake *FakeParticipant) ToProto() *livekit.ParticipantInfo
- func (fake *FakeParticipant) ToProtoCallCount() int
- func (fake *FakeParticipant) ToProtoCalls(stub func() *livekit.ParticipantInfo)
- func (fake *FakeParticipant) ToProtoReturns(result1 *livekit.ParticipantInfo)
- func (fake *FakeParticipant) ToProtoReturnsOnCall(i int, result1 *livekit.ParticipantInfo)
- func (fake *FakeParticipant) UpdateAfterActive() bool
- func (fake *FakeParticipant) UpdateAfterActiveCallCount() int
- func (fake *FakeParticipant) UpdateAfterActiveCalls(stub func() bool)
- func (fake *FakeParticipant) UpdateAfterActiveReturns(result1 bool)
- func (fake *FakeParticipant) UpdateAfterActiveReturnsOnCall(i int, result1 bool)
- type FakePublishedTrack
- func (fake *FakePublishedTrack) AddSubscriber(arg1 types.Participant) error
- func (fake *FakePublishedTrack) AddSubscriberArgsForCall(i int) types.Participant
- func (fake *FakePublishedTrack) AddSubscriberCallCount() int
- func (fake *FakePublishedTrack) AddSubscriberCalls(stub func(types.Participant) error)
- func (fake *FakePublishedTrack) AddSubscriberReturns(result1 error)
- func (fake *FakePublishedTrack) AddSubscriberReturnsOnCall(i int, result1 error)
- func (fake *FakePublishedTrack) ID() string
- func (fake *FakePublishedTrack) IDCallCount() int
- func (fake *FakePublishedTrack) IDCalls(stub func() string)
- func (fake *FakePublishedTrack) IDReturns(result1 string)
- func (fake *FakePublishedTrack) IDReturnsOnCall(i int, result1 string)
- func (fake *FakePublishedTrack) Invocations() map[string][][]interface{}
- func (fake *FakePublishedTrack) IsMuted() bool
- func (fake *FakePublishedTrack) IsMutedCallCount() int
- func (fake *FakePublishedTrack) IsMutedCalls(stub func() bool)
- func (fake *FakePublishedTrack) IsMutedReturns(result1 bool)
- func (fake *FakePublishedTrack) IsMutedReturnsOnCall(i int, result1 bool)
- func (fake *FakePublishedTrack) IsSubscriber(arg1 string) bool
- func (fake *FakePublishedTrack) IsSubscriberArgsForCall(i int) string
- func (fake *FakePublishedTrack) IsSubscriberCallCount() int
- func (fake *FakePublishedTrack) IsSubscriberCalls(stub func(string) bool)
- func (fake *FakePublishedTrack) IsSubscriberReturns(result1 bool)
- func (fake *FakePublishedTrack) IsSubscriberReturnsOnCall(i int, result1 bool)
- func (fake *FakePublishedTrack) Kind() livekit.TrackType
- func (fake *FakePublishedTrack) KindCallCount() int
- func (fake *FakePublishedTrack) KindCalls(stub func() livekit.TrackType)
- func (fake *FakePublishedTrack) KindReturns(result1 livekit.TrackType)
- func (fake *FakePublishedTrack) KindReturnsOnCall(i int, result1 livekit.TrackType)
- func (fake *FakePublishedTrack) Name() string
- func (fake *FakePublishedTrack) NameCallCount() int
- func (fake *FakePublishedTrack) NameCalls(stub func() string)
- func (fake *FakePublishedTrack) NameReturns(result1 string)
- func (fake *FakePublishedTrack) NameReturnsOnCall(i int, result1 string)
- func (fake *FakePublishedTrack) OnClose(arg1 func())
- func (fake *FakePublishedTrack) OnCloseArgsForCall(i int) func()
- func (fake *FakePublishedTrack) OnCloseCallCount() int
- func (fake *FakePublishedTrack) OnCloseCalls(stub func(func()))
- func (fake *FakePublishedTrack) RemoveAllSubscribers()
- func (fake *FakePublishedTrack) RemoveAllSubscribersCallCount() int
- func (fake *FakePublishedTrack) RemoveAllSubscribersCalls(stub func())
- func (fake *FakePublishedTrack) RemoveSubscriber(arg1 string)
- func (fake *FakePublishedTrack) RemoveSubscriberArgsForCall(i int) string
- func (fake *FakePublishedTrack) RemoveSubscriberCallCount() int
- func (fake *FakePublishedTrack) RemoveSubscriberCalls(stub func(string))
- func (fake *FakePublishedTrack) SetMuted(arg1 bool)
- func (fake *FakePublishedTrack) SetMutedArgsForCall(i int) bool
- func (fake *FakePublishedTrack) SetMutedCallCount() int
- func (fake *FakePublishedTrack) SetMutedCalls(stub func(bool))
- func (fake *FakePublishedTrack) Start()
- func (fake *FakePublishedTrack) StartCallCount() int
- func (fake *FakePublishedTrack) StartCalls(stub func())
- func (fake *FakePublishedTrack) ToProto() *livekit.TrackInfo
- func (fake *FakePublishedTrack) ToProtoCallCount() int
- func (fake *FakePublishedTrack) ToProtoCalls(stub func() *livekit.TrackInfo)
- func (fake *FakePublishedTrack) ToProtoReturns(result1 *livekit.TrackInfo)
- func (fake *FakePublishedTrack) ToProtoReturnsOnCall(i int, result1 *livekit.TrackInfo)
- type FakeSubscribedTrack
- func (fake *FakeSubscribedTrack) DownTrack() *sfu.DownTrack
- func (fake *FakeSubscribedTrack) DownTrackCallCount() int
- func (fake *FakeSubscribedTrack) DownTrackCalls(stub func() *sfu.DownTrack)
- func (fake *FakeSubscribedTrack) DownTrackReturns(result1 *sfu.DownTrack)
- func (fake *FakeSubscribedTrack) DownTrackReturnsOnCall(i int, result1 *sfu.DownTrack)
- func (fake *FakeSubscribedTrack) ID() string
- func (fake *FakeSubscribedTrack) IDCallCount() int
- func (fake *FakeSubscribedTrack) IDCalls(stub func() string)
- func (fake *FakeSubscribedTrack) IDReturns(result1 string)
- func (fake *FakeSubscribedTrack) IDReturnsOnCall(i int, result1 string)
- func (fake *FakeSubscribedTrack) Invocations() map[string][][]interface{}
- func (fake *FakeSubscribedTrack) IsMuted() bool
- func (fake *FakeSubscribedTrack) IsMutedCallCount() int
- func (fake *FakeSubscribedTrack) IsMutedCalls(stub func() bool)
- func (fake *FakeSubscribedTrack) IsMutedReturns(result1 bool)
- func (fake *FakeSubscribedTrack) IsMutedReturnsOnCall(i int, result1 bool)
- func (fake *FakeSubscribedTrack) SetPublisherMuted(arg1 bool)
- func (fake *FakeSubscribedTrack) SetPublisherMutedArgsForCall(i int) bool
- func (fake *FakeSubscribedTrack) SetPublisherMutedCallCount() int
- func (fake *FakeSubscribedTrack) SetPublisherMutedCalls(stub func(bool))
- func (fake *FakeSubscribedTrack) UpdateSubscriberSettings(arg1 bool, arg2 livekit.VideoQuality)
- func (fake *FakeSubscribedTrack) UpdateSubscriberSettingsArgsForCall(i int) (bool, livekit.VideoQuality)
- func (fake *FakeSubscribedTrack) UpdateSubscriberSettingsCallCount() int
- func (fake *FakeSubscribedTrack) UpdateSubscriberSettingsCalls(stub func(bool, livekit.VideoQuality))
- type FakeTrackRemote
- func (fake *FakeTrackRemote) Codec() webrtc.RTPCodecParameters
- func (fake *FakeTrackRemote) CodecCallCount() int
- func (fake *FakeTrackRemote) CodecCalls(stub func() webrtc.RTPCodecParameters)
- func (fake *FakeTrackRemote) CodecReturns(result1 webrtc.RTPCodecParameters)
- func (fake *FakeTrackRemote) CodecReturnsOnCall(i int, result1 webrtc.RTPCodecParameters)
- func (fake *FakeTrackRemote) Invocations() map[string][][]interface{}
- func (fake *FakeTrackRemote) Kind() webrtc.RTPCodecType
- func (fake *FakeTrackRemote) KindCallCount() int
- func (fake *FakeTrackRemote) KindCalls(stub func() webrtc.RTPCodecType)
- func (fake *FakeTrackRemote) KindReturns(result1 webrtc.RTPCodecType)
- func (fake *FakeTrackRemote) KindReturnsOnCall(i int, result1 webrtc.RTPCodecType)
- func (fake *FakeTrackRemote) SSRC() webrtc.SSRC
- func (fake *FakeTrackRemote) SSRCCallCount() int
- func (fake *FakeTrackRemote) SSRCCalls(stub func() webrtc.SSRC)
- func (fake *FakeTrackRemote) SSRCReturns(result1 webrtc.SSRC)
- func (fake *FakeTrackRemote) SSRCReturnsOnCall(i int, result1 webrtc.SSRC)
- func (fake *FakeTrackRemote) StreamID() string
- func (fake *FakeTrackRemote) StreamIDCallCount() int
- func (fake *FakeTrackRemote) StreamIDCalls(stub func() string)
- func (fake *FakeTrackRemote) StreamIDReturns(result1 string)
- func (fake *FakeTrackRemote) StreamIDReturnsOnCall(i int, result1 string)
- type FakeWebsocketClient
- func (fake *FakeWebsocketClient) Invocations() map[string][][]interface{}
- func (fake *FakeWebsocketClient) ReadMessage() (int, []byte, error)
- func (fake *FakeWebsocketClient) ReadMessageCallCount() int
- func (fake *FakeWebsocketClient) ReadMessageCalls(stub func() (int, []byte, error))
- func (fake *FakeWebsocketClient) ReadMessageReturns(result1 int, result2 []byte, result3 error)
- func (fake *FakeWebsocketClient) ReadMessageReturnsOnCall(i int, result1 int, result2 []byte, result3 error)
- func (fake *FakeWebsocketClient) WriteControl(arg1 int, arg2 []byte, arg3 time.Time) error
- func (fake *FakeWebsocketClient) WriteControlArgsForCall(i int) (int, []byte, time.Time)
- func (fake *FakeWebsocketClient) WriteControlCallCount() int
- func (fake *FakeWebsocketClient) WriteControlCalls(stub func(int, []byte, time.Time) error)
- func (fake *FakeWebsocketClient) WriteControlReturns(result1 error)
- func (fake *FakeWebsocketClient) WriteControlReturnsOnCall(i int, result1 error)
- func (fake *FakeWebsocketClient) WriteMessage(arg1 int, arg2 []byte) error
- func (fake *FakeWebsocketClient) WriteMessageArgsForCall(i int) (int, []byte)
- func (fake *FakeWebsocketClient) WriteMessageCallCount() int
- func (fake *FakeWebsocketClient) WriteMessageCalls(stub func(int, []byte) error)
- func (fake *FakeWebsocketClient) WriteMessageReturns(result1 error)
- func (fake *FakeWebsocketClient) WriteMessageReturnsOnCall(i int, result1 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeParticipant ¶
type FakeParticipant struct { AddICECandidateStub func(webrtc.ICECandidateInit, livekit.SignalTarget) error AddSubscribedTrackStub func(string, types.SubscribedTrack) AddSubscriberStub func(types.Participant) (int, error) AddTrackStub func(*livekit.AddTrackRequest) CanPublishStub func() bool CanPublishDataStub func() bool CanSubscribeStub func() bool CloseStub func() error ConnectedAtStub func() time.Time DebugInfoStub func() map[string]interface{} GetAudioLevelStub func() (uint8, bool) GetPublishedTracksStub func() []types.PublishedTrack GetResponseSinkStub func() routing.MessageSink GetSubscribedTracksStub func() []types.SubscribedTrack HandleAnswerStub func(webrtc.SessionDescription) error HandleOfferStub func(webrtc.SessionDescription) (webrtc.SessionDescription, error) HiddenStub func() bool ICERestartStub func() error IDStub func() string IdentityStub func() string IsReadyStub func() bool NegotiateStub func() OnCloseStub func(func(types.Participant)) OnDataPacketStub func(func(types.Participant, *livekit.DataPacket)) OnMetadataUpdateStub func(func(types.Participant)) OnStateChangeStub func(func(p types.Participant, oldState livekit.ParticipantInfo_State)) OnTrackPublishedStub func(func(types.Participant, types.PublishedTrack)) OnTrackUpdatedStub func(func(types.Participant, types.PublishedTrack)) ProtocolVersionStub func() types.ProtocolVersion RTCPChanStub func() chan []rtcp.Packet RemoveSubscribedTrackStub func(string, types.SubscribedTrack) RemoveSubscriberStub func(string) SendDataPacketStub func(*livekit.DataPacket) error SendJoinResponseStub func(*livekit.Room, []types.Participant, []*livekit.ICEServer) error SendParticipantUpdateStub func([]*livekit.ParticipantInfo) error SendSpeakerUpdateStub func([]*livekit.SpeakerInfo) error SetMetadataStub func(string) SetPermissionStub func(*livekit.ParticipantPermission) SetResponseSinkStub func(routing.MessageSink) SetTrackMutedStub func(string, bool, bool) StartStub func() StateStub func() livekit.ParticipantInfo_State SubscriberMediaEngineStub func() *webrtc.MediaEngine SubscriberPCStub func() *webrtc.PeerConnection ToProtoStub func() *livekit.ParticipantInfo UpdateAfterActiveStub func() bool // contains filtered or unexported fields }
func (*FakeParticipant) AddICECandidate ¶
func (fake *FakeParticipant) AddICECandidate(arg1 webrtc.ICECandidateInit, arg2 livekit.SignalTarget) error
func (*FakeParticipant) AddICECandidateArgsForCall ¶
func (fake *FakeParticipant) AddICECandidateArgsForCall(i int) (webrtc.ICECandidateInit, livekit.SignalTarget)
func (*FakeParticipant) AddICECandidateCallCount ¶
func (fake *FakeParticipant) AddICECandidateCallCount() int
func (*FakeParticipant) AddICECandidateCalls ¶
func (fake *FakeParticipant) AddICECandidateCalls(stub func(webrtc.ICECandidateInit, livekit.SignalTarget) error)
func (*FakeParticipant) AddICECandidateReturns ¶
func (fake *FakeParticipant) AddICECandidateReturns(result1 error)
func (*FakeParticipant) AddICECandidateReturnsOnCall ¶
func (fake *FakeParticipant) AddICECandidateReturnsOnCall(i int, result1 error)
func (*FakeParticipant) AddSubscribedTrack ¶
func (fake *FakeParticipant) AddSubscribedTrack(arg1 string, arg2 types.SubscribedTrack)
func (*FakeParticipant) AddSubscribedTrackArgsForCall ¶
func (fake *FakeParticipant) AddSubscribedTrackArgsForCall(i int) (string, types.SubscribedTrack)
func (*FakeParticipant) AddSubscribedTrackCallCount ¶
func (fake *FakeParticipant) AddSubscribedTrackCallCount() int
func (*FakeParticipant) AddSubscribedTrackCalls ¶
func (fake *FakeParticipant) AddSubscribedTrackCalls(stub func(string, types.SubscribedTrack))
func (*FakeParticipant) AddSubscriber ¶
func (fake *FakeParticipant) AddSubscriber(arg1 types.Participant) (int, error)
func (*FakeParticipant) AddSubscriberArgsForCall ¶
func (fake *FakeParticipant) AddSubscriberArgsForCall(i int) types.Participant
func (*FakeParticipant) AddSubscriberCallCount ¶
func (fake *FakeParticipant) AddSubscriberCallCount() int
func (*FakeParticipant) AddSubscriberCalls ¶
func (fake *FakeParticipant) AddSubscriberCalls(stub func(types.Participant) (int, error))
func (*FakeParticipant) AddSubscriberReturns ¶
func (fake *FakeParticipant) AddSubscriberReturns(result1 int, result2 error)
func (*FakeParticipant) AddSubscriberReturnsOnCall ¶
func (fake *FakeParticipant) AddSubscriberReturnsOnCall(i int, result1 int, result2 error)
func (*FakeParticipant) AddTrack ¶
func (fake *FakeParticipant) AddTrack(arg1 *livekit.AddTrackRequest)
func (*FakeParticipant) AddTrackArgsForCall ¶
func (fake *FakeParticipant) AddTrackArgsForCall(i int) *livekit.AddTrackRequest
func (*FakeParticipant) AddTrackCallCount ¶
func (fake *FakeParticipant) AddTrackCallCount() int
func (*FakeParticipant) AddTrackCalls ¶
func (fake *FakeParticipant) AddTrackCalls(stub func(*livekit.AddTrackRequest))
func (*FakeParticipant) CanPublish ¶
func (fake *FakeParticipant) CanPublish() bool
func (*FakeParticipant) CanPublishCallCount ¶
func (fake *FakeParticipant) CanPublishCallCount() int
func (*FakeParticipant) CanPublishCalls ¶
func (fake *FakeParticipant) CanPublishCalls(stub func() bool)
func (*FakeParticipant) CanPublishData ¶ added in v0.12.2
func (fake *FakeParticipant) CanPublishData() bool
func (*FakeParticipant) CanPublishDataCallCount ¶ added in v0.12.2
func (fake *FakeParticipant) CanPublishDataCallCount() int
func (*FakeParticipant) CanPublishDataCalls ¶ added in v0.12.2
func (fake *FakeParticipant) CanPublishDataCalls(stub func() bool)
func (*FakeParticipant) CanPublishDataReturns ¶ added in v0.12.2
func (fake *FakeParticipant) CanPublishDataReturns(result1 bool)
func (*FakeParticipant) CanPublishDataReturnsOnCall ¶ added in v0.12.2
func (fake *FakeParticipant) CanPublishDataReturnsOnCall(i int, result1 bool)
func (*FakeParticipant) CanPublishReturns ¶
func (fake *FakeParticipant) CanPublishReturns(result1 bool)
func (*FakeParticipant) CanPublishReturnsOnCall ¶
func (fake *FakeParticipant) CanPublishReturnsOnCall(i int, result1 bool)
func (*FakeParticipant) CanSubscribe ¶
func (fake *FakeParticipant) CanSubscribe() bool
func (*FakeParticipant) CanSubscribeCallCount ¶
func (fake *FakeParticipant) CanSubscribeCallCount() int
func (*FakeParticipant) CanSubscribeCalls ¶
func (fake *FakeParticipant) CanSubscribeCalls(stub func() bool)
func (*FakeParticipant) CanSubscribeReturns ¶
func (fake *FakeParticipant) CanSubscribeReturns(result1 bool)
func (*FakeParticipant) CanSubscribeReturnsOnCall ¶
func (fake *FakeParticipant) CanSubscribeReturnsOnCall(i int, result1 bool)
func (*FakeParticipant) Close ¶
func (fake *FakeParticipant) Close() error
func (*FakeParticipant) CloseCallCount ¶
func (fake *FakeParticipant) CloseCallCount() int
func (*FakeParticipant) CloseCalls ¶
func (fake *FakeParticipant) CloseCalls(stub func() error)
func (*FakeParticipant) CloseReturns ¶
func (fake *FakeParticipant) CloseReturns(result1 error)
func (*FakeParticipant) CloseReturnsOnCall ¶
func (fake *FakeParticipant) CloseReturnsOnCall(i int, result1 error)
func (*FakeParticipant) ConnectedAt ¶
func (fake *FakeParticipant) ConnectedAt() time.Time
func (*FakeParticipant) ConnectedAtCallCount ¶
func (fake *FakeParticipant) ConnectedAtCallCount() int
func (*FakeParticipant) ConnectedAtCalls ¶
func (fake *FakeParticipant) ConnectedAtCalls(stub func() time.Time)
func (*FakeParticipant) ConnectedAtReturns ¶
func (fake *FakeParticipant) ConnectedAtReturns(result1 time.Time)
func (*FakeParticipant) ConnectedAtReturnsOnCall ¶
func (fake *FakeParticipant) ConnectedAtReturnsOnCall(i int, result1 time.Time)
func (*FakeParticipant) DebugInfo ¶ added in v0.10.6
func (fake *FakeParticipant) DebugInfo() map[string]interface{}
func (*FakeParticipant) DebugInfoCallCount ¶ added in v0.10.6
func (fake *FakeParticipant) DebugInfoCallCount() int
func (*FakeParticipant) DebugInfoCalls ¶ added in v0.10.6
func (fake *FakeParticipant) DebugInfoCalls(stub func() map[string]interface{})
func (*FakeParticipant) DebugInfoReturns ¶ added in v0.10.6
func (fake *FakeParticipant) DebugInfoReturns(result1 map[string]interface{})
func (*FakeParticipant) DebugInfoReturnsOnCall ¶ added in v0.10.6
func (fake *FakeParticipant) DebugInfoReturnsOnCall(i int, result1 map[string]interface{})
func (*FakeParticipant) GetAudioLevel ¶
func (fake *FakeParticipant) GetAudioLevel() (uint8, bool)
func (*FakeParticipant) GetAudioLevelCallCount ¶
func (fake *FakeParticipant) GetAudioLevelCallCount() int
func (*FakeParticipant) GetAudioLevelCalls ¶
func (fake *FakeParticipant) GetAudioLevelCalls(stub func() (uint8, bool))
func (*FakeParticipant) GetAudioLevelReturns ¶
func (fake *FakeParticipant) GetAudioLevelReturns(result1 uint8, result2 bool)
func (*FakeParticipant) GetAudioLevelReturnsOnCall ¶
func (fake *FakeParticipant) GetAudioLevelReturnsOnCall(i int, result1 uint8, result2 bool)
func (*FakeParticipant) GetPublishedTracks ¶
func (fake *FakeParticipant) GetPublishedTracks() []types.PublishedTrack
func (*FakeParticipant) GetPublishedTracksCallCount ¶
func (fake *FakeParticipant) GetPublishedTracksCallCount() int
func (*FakeParticipant) GetPublishedTracksCalls ¶
func (fake *FakeParticipant) GetPublishedTracksCalls(stub func() []types.PublishedTrack)
func (*FakeParticipant) GetPublishedTracksReturns ¶
func (fake *FakeParticipant) GetPublishedTracksReturns(result1 []types.PublishedTrack)
func (*FakeParticipant) GetPublishedTracksReturnsOnCall ¶
func (fake *FakeParticipant) GetPublishedTracksReturnsOnCall(i int, result1 []types.PublishedTrack)
func (*FakeParticipant) GetResponseSink ¶
func (fake *FakeParticipant) GetResponseSink() routing.MessageSink
func (*FakeParticipant) GetResponseSinkCallCount ¶
func (fake *FakeParticipant) GetResponseSinkCallCount() int
func (*FakeParticipant) GetResponseSinkCalls ¶
func (fake *FakeParticipant) GetResponseSinkCalls(stub func() routing.MessageSink)
func (*FakeParticipant) GetResponseSinkReturns ¶
func (fake *FakeParticipant) GetResponseSinkReturns(result1 routing.MessageSink)
func (*FakeParticipant) GetResponseSinkReturnsOnCall ¶
func (fake *FakeParticipant) GetResponseSinkReturnsOnCall(i int, result1 routing.MessageSink)
func (*FakeParticipant) GetSubscribedTracks ¶
func (fake *FakeParticipant) GetSubscribedTracks() []types.SubscribedTrack
func (*FakeParticipant) GetSubscribedTracksCallCount ¶
func (fake *FakeParticipant) GetSubscribedTracksCallCount() int
func (*FakeParticipant) GetSubscribedTracksCalls ¶
func (fake *FakeParticipant) GetSubscribedTracksCalls(stub func() []types.SubscribedTrack)
func (*FakeParticipant) GetSubscribedTracksReturns ¶
func (fake *FakeParticipant) GetSubscribedTracksReturns(result1 []types.SubscribedTrack)
func (*FakeParticipant) GetSubscribedTracksReturnsOnCall ¶
func (fake *FakeParticipant) GetSubscribedTracksReturnsOnCall(i int, result1 []types.SubscribedTrack)
func (*FakeParticipant) HandleAnswer ¶
func (fake *FakeParticipant) HandleAnswer(arg1 webrtc.SessionDescription) error
func (*FakeParticipant) HandleAnswerArgsForCall ¶
func (fake *FakeParticipant) HandleAnswerArgsForCall(i int) webrtc.SessionDescription
func (*FakeParticipant) HandleAnswerCallCount ¶
func (fake *FakeParticipant) HandleAnswerCallCount() int
func (*FakeParticipant) HandleAnswerCalls ¶
func (fake *FakeParticipant) HandleAnswerCalls(stub func(webrtc.SessionDescription) error)
func (*FakeParticipant) HandleAnswerReturns ¶
func (fake *FakeParticipant) HandleAnswerReturns(result1 error)
func (*FakeParticipant) HandleAnswerReturnsOnCall ¶
func (fake *FakeParticipant) HandleAnswerReturnsOnCall(i int, result1 error)
func (*FakeParticipant) HandleOffer ¶
func (fake *FakeParticipant) HandleOffer(arg1 webrtc.SessionDescription) (webrtc.SessionDescription, error)
func (*FakeParticipant) HandleOfferArgsForCall ¶
func (fake *FakeParticipant) HandleOfferArgsForCall(i int) webrtc.SessionDescription
func (*FakeParticipant) HandleOfferCallCount ¶
func (fake *FakeParticipant) HandleOfferCallCount() int
func (*FakeParticipant) HandleOfferCalls ¶
func (fake *FakeParticipant) HandleOfferCalls(stub func(webrtc.SessionDescription) (webrtc.SessionDescription, error))
func (*FakeParticipant) HandleOfferReturns ¶
func (fake *FakeParticipant) HandleOfferReturns(result1 webrtc.SessionDescription, result2 error)
func (*FakeParticipant) HandleOfferReturnsOnCall ¶
func (fake *FakeParticipant) HandleOfferReturnsOnCall(i int, result1 webrtc.SessionDescription, result2 error)
func (*FakeParticipant) Hidden ¶ added in v0.11.1
func (fake *FakeParticipant) Hidden() bool
func (*FakeParticipant) HiddenCallCount ¶ added in v0.11.1
func (fake *FakeParticipant) HiddenCallCount() int
func (*FakeParticipant) HiddenCalls ¶ added in v0.11.1
func (fake *FakeParticipant) HiddenCalls(stub func() bool)
func (*FakeParticipant) HiddenReturns ¶ added in v0.11.1
func (fake *FakeParticipant) HiddenReturns(result1 bool)
func (*FakeParticipant) HiddenReturnsOnCall ¶ added in v0.11.1
func (fake *FakeParticipant) HiddenReturnsOnCall(i int, result1 bool)
func (*FakeParticipant) ICERestart ¶
func (fake *FakeParticipant) ICERestart() error
func (*FakeParticipant) ICERestartCallCount ¶
func (fake *FakeParticipant) ICERestartCallCount() int
func (*FakeParticipant) ICERestartCalls ¶
func (fake *FakeParticipant) ICERestartCalls(stub func() error)
func (*FakeParticipant) ICERestartReturns ¶
func (fake *FakeParticipant) ICERestartReturns(result1 error)
func (*FakeParticipant) ICERestartReturnsOnCall ¶
func (fake *FakeParticipant) ICERestartReturnsOnCall(i int, result1 error)
func (*FakeParticipant) ID ¶
func (fake *FakeParticipant) ID() string
func (*FakeParticipant) IDCallCount ¶
func (fake *FakeParticipant) IDCallCount() int
func (*FakeParticipant) IDCalls ¶
func (fake *FakeParticipant) IDCalls(stub func() string)
func (*FakeParticipant) IDReturns ¶
func (fake *FakeParticipant) IDReturns(result1 string)
func (*FakeParticipant) IDReturnsOnCall ¶
func (fake *FakeParticipant) IDReturnsOnCall(i int, result1 string)
func (*FakeParticipant) Identity ¶
func (fake *FakeParticipant) Identity() string
func (*FakeParticipant) IdentityCallCount ¶
func (fake *FakeParticipant) IdentityCallCount() int
func (*FakeParticipant) IdentityCalls ¶
func (fake *FakeParticipant) IdentityCalls(stub func() string)
func (*FakeParticipant) IdentityReturns ¶
func (fake *FakeParticipant) IdentityReturns(result1 string)
func (*FakeParticipant) IdentityReturnsOnCall ¶
func (fake *FakeParticipant) IdentityReturnsOnCall(i int, result1 string)
func (*FakeParticipant) Invocations ¶
func (fake *FakeParticipant) Invocations() map[string][][]interface{}
func (*FakeParticipant) IsReady ¶
func (fake *FakeParticipant) IsReady() bool
func (*FakeParticipant) IsReadyCallCount ¶
func (fake *FakeParticipant) IsReadyCallCount() int
func (*FakeParticipant) IsReadyCalls ¶
func (fake *FakeParticipant) IsReadyCalls(stub func() bool)
func (*FakeParticipant) IsReadyReturns ¶
func (fake *FakeParticipant) IsReadyReturns(result1 bool)
func (*FakeParticipant) IsReadyReturnsOnCall ¶
func (fake *FakeParticipant) IsReadyReturnsOnCall(i int, result1 bool)
func (*FakeParticipant) Negotiate ¶
func (fake *FakeParticipant) Negotiate()
func (*FakeParticipant) NegotiateCallCount ¶
func (fake *FakeParticipant) NegotiateCallCount() int
func (*FakeParticipant) NegotiateCalls ¶
func (fake *FakeParticipant) NegotiateCalls(stub func())
func (*FakeParticipant) OnClose ¶
func (fake *FakeParticipant) OnClose(arg1 func(types.Participant))
func (*FakeParticipant) OnCloseArgsForCall ¶
func (fake *FakeParticipant) OnCloseArgsForCall(i int) func(types.Participant)
func (*FakeParticipant) OnCloseCallCount ¶
func (fake *FakeParticipant) OnCloseCallCount() int
func (*FakeParticipant) OnCloseCalls ¶
func (fake *FakeParticipant) OnCloseCalls(stub func(func(types.Participant)))
func (*FakeParticipant) OnDataPacket ¶
func (fake *FakeParticipant) OnDataPacket(arg1 func(types.Participant, *livekit.DataPacket))
func (*FakeParticipant) OnDataPacketArgsForCall ¶
func (fake *FakeParticipant) OnDataPacketArgsForCall(i int) func(types.Participant, *livekit.DataPacket)
func (*FakeParticipant) OnDataPacketCallCount ¶
func (fake *FakeParticipant) OnDataPacketCallCount() int
func (*FakeParticipant) OnDataPacketCalls ¶
func (fake *FakeParticipant) OnDataPacketCalls(stub func(func(types.Participant, *livekit.DataPacket)))
func (*FakeParticipant) OnMetadataUpdate ¶
func (fake *FakeParticipant) OnMetadataUpdate(arg1 func(types.Participant))
func (*FakeParticipant) OnMetadataUpdateArgsForCall ¶
func (fake *FakeParticipant) OnMetadataUpdateArgsForCall(i int) func(types.Participant)
func (*FakeParticipant) OnMetadataUpdateCallCount ¶
func (fake *FakeParticipant) OnMetadataUpdateCallCount() int
func (*FakeParticipant) OnMetadataUpdateCalls ¶
func (fake *FakeParticipant) OnMetadataUpdateCalls(stub func(func(types.Participant)))
func (*FakeParticipant) OnStateChange ¶
func (fake *FakeParticipant) OnStateChange(arg1 func(p types.Participant, oldState livekit.ParticipantInfo_State))
func (*FakeParticipant) OnStateChangeArgsForCall ¶
func (fake *FakeParticipant) OnStateChangeArgsForCall(i int) func(p types.Participant, oldState livekit.ParticipantInfo_State)
func (*FakeParticipant) OnStateChangeCallCount ¶
func (fake *FakeParticipant) OnStateChangeCallCount() int
func (*FakeParticipant) OnStateChangeCalls ¶
func (fake *FakeParticipant) OnStateChangeCalls(stub func(func(p types.Participant, oldState livekit.ParticipantInfo_State)))
func (*FakeParticipant) OnTrackPublished ¶
func (fake *FakeParticipant) OnTrackPublished(arg1 func(types.Participant, types.PublishedTrack))
func (*FakeParticipant) OnTrackPublishedArgsForCall ¶
func (fake *FakeParticipant) OnTrackPublishedArgsForCall(i int) func(types.Participant, types.PublishedTrack)
func (*FakeParticipant) OnTrackPublishedCallCount ¶
func (fake *FakeParticipant) OnTrackPublishedCallCount() int
func (*FakeParticipant) OnTrackPublishedCalls ¶
func (fake *FakeParticipant) OnTrackPublishedCalls(stub func(func(types.Participant, types.PublishedTrack)))
func (*FakeParticipant) OnTrackUpdated ¶
func (fake *FakeParticipant) OnTrackUpdated(arg1 func(types.Participant, types.PublishedTrack))
func (*FakeParticipant) OnTrackUpdatedArgsForCall ¶
func (fake *FakeParticipant) OnTrackUpdatedArgsForCall(i int) func(types.Participant, types.PublishedTrack)
func (*FakeParticipant) OnTrackUpdatedCallCount ¶
func (fake *FakeParticipant) OnTrackUpdatedCallCount() int
func (*FakeParticipant) OnTrackUpdatedCalls ¶
func (fake *FakeParticipant) OnTrackUpdatedCalls(stub func(func(types.Participant, types.PublishedTrack)))
func (*FakeParticipant) ProtocolVersion ¶
func (fake *FakeParticipant) ProtocolVersion() types.ProtocolVersion
func (*FakeParticipant) ProtocolVersionCallCount ¶
func (fake *FakeParticipant) ProtocolVersionCallCount() int
func (*FakeParticipant) ProtocolVersionCalls ¶
func (fake *FakeParticipant) ProtocolVersionCalls(stub func() types.ProtocolVersion)
func (*FakeParticipant) ProtocolVersionReturns ¶
func (fake *FakeParticipant) ProtocolVersionReturns(result1 types.ProtocolVersion)
func (*FakeParticipant) ProtocolVersionReturnsOnCall ¶
func (fake *FakeParticipant) ProtocolVersionReturnsOnCall(i int, result1 types.ProtocolVersion)
func (*FakeParticipant) RTCPChan ¶
func (fake *FakeParticipant) RTCPChan() chan []rtcp.Packet
func (*FakeParticipant) RTCPChanCallCount ¶
func (fake *FakeParticipant) RTCPChanCallCount() int
func (*FakeParticipant) RTCPChanCalls ¶
func (fake *FakeParticipant) RTCPChanCalls(stub func() chan []rtcp.Packet)
func (*FakeParticipant) RTCPChanReturns ¶
func (fake *FakeParticipant) RTCPChanReturns(result1 chan []rtcp.Packet)
func (*FakeParticipant) RTCPChanReturnsOnCall ¶
func (fake *FakeParticipant) RTCPChanReturnsOnCall(i int, result1 chan []rtcp.Packet)
func (*FakeParticipant) RemoveSubscribedTrack ¶
func (fake *FakeParticipant) RemoveSubscribedTrack(arg1 string, arg2 types.SubscribedTrack)
func (*FakeParticipant) RemoveSubscribedTrackArgsForCall ¶
func (fake *FakeParticipant) RemoveSubscribedTrackArgsForCall(i int) (string, types.SubscribedTrack)
func (*FakeParticipant) RemoveSubscribedTrackCallCount ¶
func (fake *FakeParticipant) RemoveSubscribedTrackCallCount() int
func (*FakeParticipant) RemoveSubscribedTrackCalls ¶
func (fake *FakeParticipant) RemoveSubscribedTrackCalls(stub func(string, types.SubscribedTrack))
func (*FakeParticipant) RemoveSubscriber ¶
func (fake *FakeParticipant) RemoveSubscriber(arg1 string)
func (*FakeParticipant) RemoveSubscriberArgsForCall ¶
func (fake *FakeParticipant) RemoveSubscriberArgsForCall(i int) string
func (*FakeParticipant) RemoveSubscriberCallCount ¶
func (fake *FakeParticipant) RemoveSubscriberCallCount() int
func (*FakeParticipant) RemoveSubscriberCalls ¶
func (fake *FakeParticipant) RemoveSubscriberCalls(stub func(string))
func (*FakeParticipant) SendDataPacket ¶
func (fake *FakeParticipant) SendDataPacket(arg1 *livekit.DataPacket) error
func (*FakeParticipant) SendDataPacketArgsForCall ¶
func (fake *FakeParticipant) SendDataPacketArgsForCall(i int) *livekit.DataPacket
func (*FakeParticipant) SendDataPacketCallCount ¶
func (fake *FakeParticipant) SendDataPacketCallCount() int
func (*FakeParticipant) SendDataPacketCalls ¶
func (fake *FakeParticipant) SendDataPacketCalls(stub func(*livekit.DataPacket) error)
func (*FakeParticipant) SendDataPacketReturns ¶
func (fake *FakeParticipant) SendDataPacketReturns(result1 error)
func (*FakeParticipant) SendDataPacketReturnsOnCall ¶
func (fake *FakeParticipant) SendDataPacketReturnsOnCall(i int, result1 error)
func (*FakeParticipant) SendJoinResponse ¶
func (fake *FakeParticipant) SendJoinResponse(arg1 *livekit.Room, arg2 []types.Participant, arg3 []*livekit.ICEServer) error
func (*FakeParticipant) SendJoinResponseArgsForCall ¶
func (fake *FakeParticipant) SendJoinResponseArgsForCall(i int) (*livekit.Room, []types.Participant, []*livekit.ICEServer)
func (*FakeParticipant) SendJoinResponseCallCount ¶
func (fake *FakeParticipant) SendJoinResponseCallCount() int
func (*FakeParticipant) SendJoinResponseCalls ¶
func (fake *FakeParticipant) SendJoinResponseCalls(stub func(*livekit.Room, []types.Participant, []*livekit.ICEServer) error)
func (*FakeParticipant) SendJoinResponseReturns ¶
func (fake *FakeParticipant) SendJoinResponseReturns(result1 error)
func (*FakeParticipant) SendJoinResponseReturnsOnCall ¶
func (fake *FakeParticipant) SendJoinResponseReturnsOnCall(i int, result1 error)
func (*FakeParticipant) SendParticipantUpdate ¶
func (fake *FakeParticipant) SendParticipantUpdate(arg1 []*livekit.ParticipantInfo) error
func (*FakeParticipant) SendParticipantUpdateArgsForCall ¶
func (fake *FakeParticipant) SendParticipantUpdateArgsForCall(i int) []*livekit.ParticipantInfo
func (*FakeParticipant) SendParticipantUpdateCallCount ¶
func (fake *FakeParticipant) SendParticipantUpdateCallCount() int
func (*FakeParticipant) SendParticipantUpdateCalls ¶
func (fake *FakeParticipant) SendParticipantUpdateCalls(stub func([]*livekit.ParticipantInfo) error)
func (*FakeParticipant) SendParticipantUpdateReturns ¶
func (fake *FakeParticipant) SendParticipantUpdateReturns(result1 error)
func (*FakeParticipant) SendParticipantUpdateReturnsOnCall ¶
func (fake *FakeParticipant) SendParticipantUpdateReturnsOnCall(i int, result1 error)
func (*FakeParticipant) SendSpeakerUpdate ¶ added in v0.13.0
func (fake *FakeParticipant) SendSpeakerUpdate(arg1 []*livekit.SpeakerInfo) error
func (*FakeParticipant) SendSpeakerUpdateArgsForCall ¶ added in v0.13.0
func (fake *FakeParticipant) SendSpeakerUpdateArgsForCall(i int) []*livekit.SpeakerInfo
func (*FakeParticipant) SendSpeakerUpdateCallCount ¶ added in v0.13.0
func (fake *FakeParticipant) SendSpeakerUpdateCallCount() int
func (*FakeParticipant) SendSpeakerUpdateCalls ¶ added in v0.13.0
func (fake *FakeParticipant) SendSpeakerUpdateCalls(stub func([]*livekit.SpeakerInfo) error)
func (*FakeParticipant) SendSpeakerUpdateReturns ¶ added in v0.13.0
func (fake *FakeParticipant) SendSpeakerUpdateReturns(result1 error)
func (*FakeParticipant) SendSpeakerUpdateReturnsOnCall ¶ added in v0.13.0
func (fake *FakeParticipant) SendSpeakerUpdateReturnsOnCall(i int, result1 error)
func (*FakeParticipant) SetMetadata ¶
func (fake *FakeParticipant) SetMetadata(arg1 string)
func (*FakeParticipant) SetMetadataArgsForCall ¶
func (fake *FakeParticipant) SetMetadataArgsForCall(i int) string
func (*FakeParticipant) SetMetadataCallCount ¶
func (fake *FakeParticipant) SetMetadataCallCount() int
func (*FakeParticipant) SetMetadataCalls ¶
func (fake *FakeParticipant) SetMetadataCalls(stub func(string))
func (*FakeParticipant) SetPermission ¶
func (fake *FakeParticipant) SetPermission(arg1 *livekit.ParticipantPermission)
func (*FakeParticipant) SetPermissionArgsForCall ¶
func (fake *FakeParticipant) SetPermissionArgsForCall(i int) *livekit.ParticipantPermission
func (*FakeParticipant) SetPermissionCallCount ¶
func (fake *FakeParticipant) SetPermissionCallCount() int
func (*FakeParticipant) SetPermissionCalls ¶
func (fake *FakeParticipant) SetPermissionCalls(stub func(*livekit.ParticipantPermission))
func (*FakeParticipant) SetResponseSink ¶
func (fake *FakeParticipant) SetResponseSink(arg1 routing.MessageSink)
func (*FakeParticipant) SetResponseSinkArgsForCall ¶
func (fake *FakeParticipant) SetResponseSinkArgsForCall(i int) routing.MessageSink
func (*FakeParticipant) SetResponseSinkCallCount ¶
func (fake *FakeParticipant) SetResponseSinkCallCount() int
func (*FakeParticipant) SetResponseSinkCalls ¶
func (fake *FakeParticipant) SetResponseSinkCalls(stub func(routing.MessageSink))
func (*FakeParticipant) SetTrackMuted ¶
func (fake *FakeParticipant) SetTrackMuted(arg1 string, arg2 bool, arg3 bool)
func (*FakeParticipant) SetTrackMutedArgsForCall ¶
func (fake *FakeParticipant) SetTrackMutedArgsForCall(i int) (string, bool, bool)
func (*FakeParticipant) SetTrackMutedCallCount ¶
func (fake *FakeParticipant) SetTrackMutedCallCount() int
func (*FakeParticipant) SetTrackMutedCalls ¶
func (fake *FakeParticipant) SetTrackMutedCalls(stub func(string, bool, bool))
func (*FakeParticipant) Start ¶
func (fake *FakeParticipant) Start()
func (*FakeParticipant) StartCallCount ¶
func (fake *FakeParticipant) StartCallCount() int
func (*FakeParticipant) StartCalls ¶
func (fake *FakeParticipant) StartCalls(stub func())
func (*FakeParticipant) State ¶
func (fake *FakeParticipant) State() livekit.ParticipantInfo_State
func (*FakeParticipant) StateCallCount ¶
func (fake *FakeParticipant) StateCallCount() int
func (*FakeParticipant) StateCalls ¶
func (fake *FakeParticipant) StateCalls(stub func() livekit.ParticipantInfo_State)
func (*FakeParticipant) StateReturns ¶
func (fake *FakeParticipant) StateReturns(result1 livekit.ParticipantInfo_State)
func (*FakeParticipant) StateReturnsOnCall ¶
func (fake *FakeParticipant) StateReturnsOnCall(i int, result1 livekit.ParticipantInfo_State)
func (*FakeParticipant) SubscriberMediaEngine ¶
func (fake *FakeParticipant) SubscriberMediaEngine() *webrtc.MediaEngine
func (*FakeParticipant) SubscriberMediaEngineCallCount ¶
func (fake *FakeParticipant) SubscriberMediaEngineCallCount() int
func (*FakeParticipant) SubscriberMediaEngineCalls ¶
func (fake *FakeParticipant) SubscriberMediaEngineCalls(stub func() *webrtc.MediaEngine)
func (*FakeParticipant) SubscriberMediaEngineReturns ¶
func (fake *FakeParticipant) SubscriberMediaEngineReturns(result1 *webrtc.MediaEngine)
func (*FakeParticipant) SubscriberMediaEngineReturnsOnCall ¶
func (fake *FakeParticipant) SubscriberMediaEngineReturnsOnCall(i int, result1 *webrtc.MediaEngine)
func (*FakeParticipant) SubscriberPC ¶
func (fake *FakeParticipant) SubscriberPC() *webrtc.PeerConnection
func (*FakeParticipant) SubscriberPCCallCount ¶
func (fake *FakeParticipant) SubscriberPCCallCount() int
func (*FakeParticipant) SubscriberPCCalls ¶
func (fake *FakeParticipant) SubscriberPCCalls(stub func() *webrtc.PeerConnection)
func (*FakeParticipant) SubscriberPCReturns ¶
func (fake *FakeParticipant) SubscriberPCReturns(result1 *webrtc.PeerConnection)
func (*FakeParticipant) SubscriberPCReturnsOnCall ¶
func (fake *FakeParticipant) SubscriberPCReturnsOnCall(i int, result1 *webrtc.PeerConnection)
func (*FakeParticipant) ToProto ¶
func (fake *FakeParticipant) ToProto() *livekit.ParticipantInfo
func (*FakeParticipant) ToProtoCallCount ¶
func (fake *FakeParticipant) ToProtoCallCount() int
func (*FakeParticipant) ToProtoCalls ¶
func (fake *FakeParticipant) ToProtoCalls(stub func() *livekit.ParticipantInfo)
func (*FakeParticipant) ToProtoReturns ¶
func (fake *FakeParticipant) ToProtoReturns(result1 *livekit.ParticipantInfo)
func (*FakeParticipant) ToProtoReturnsOnCall ¶
func (fake *FakeParticipant) ToProtoReturnsOnCall(i int, result1 *livekit.ParticipantInfo)
func (*FakeParticipant) UpdateAfterActive ¶ added in v0.9.13
func (fake *FakeParticipant) UpdateAfterActive() bool
func (*FakeParticipant) UpdateAfterActiveCallCount ¶ added in v0.9.13
func (fake *FakeParticipant) UpdateAfterActiveCallCount() int
func (*FakeParticipant) UpdateAfterActiveCalls ¶ added in v0.9.13
func (fake *FakeParticipant) UpdateAfterActiveCalls(stub func() bool)
func (*FakeParticipant) UpdateAfterActiveReturns ¶ added in v0.9.13
func (fake *FakeParticipant) UpdateAfterActiveReturns(result1 bool)
func (*FakeParticipant) UpdateAfterActiveReturnsOnCall ¶ added in v0.9.13
func (fake *FakeParticipant) UpdateAfterActiveReturnsOnCall(i int, result1 bool)
type FakePublishedTrack ¶
type FakePublishedTrack struct { AddSubscriberStub func(types.Participant) error IDStub func() string IsMutedStub func() bool IsSubscriberStub func(string) bool KindStub func() livekit.TrackType NameStub func() string OnCloseStub func(func()) RemoveAllSubscribersStub func() RemoveSubscriberStub func(string) SetMutedStub func(bool) StartStub func() ToProtoStub func() *livekit.TrackInfo // contains filtered or unexported fields }
func (*FakePublishedTrack) AddSubscriber ¶
func (fake *FakePublishedTrack) AddSubscriber(arg1 types.Participant) error
func (*FakePublishedTrack) AddSubscriberArgsForCall ¶
func (fake *FakePublishedTrack) AddSubscriberArgsForCall(i int) types.Participant
func (*FakePublishedTrack) AddSubscriberCallCount ¶
func (fake *FakePublishedTrack) AddSubscriberCallCount() int
func (*FakePublishedTrack) AddSubscriberCalls ¶
func (fake *FakePublishedTrack) AddSubscriberCalls(stub func(types.Participant) error)
func (*FakePublishedTrack) AddSubscriberReturns ¶
func (fake *FakePublishedTrack) AddSubscriberReturns(result1 error)
func (*FakePublishedTrack) AddSubscriberReturnsOnCall ¶
func (fake *FakePublishedTrack) AddSubscriberReturnsOnCall(i int, result1 error)
func (*FakePublishedTrack) ID ¶
func (fake *FakePublishedTrack) ID() string
func (*FakePublishedTrack) IDCallCount ¶
func (fake *FakePublishedTrack) IDCallCount() int
func (*FakePublishedTrack) IDCalls ¶
func (fake *FakePublishedTrack) IDCalls(stub func() string)
func (*FakePublishedTrack) IDReturns ¶
func (fake *FakePublishedTrack) IDReturns(result1 string)
func (*FakePublishedTrack) IDReturnsOnCall ¶
func (fake *FakePublishedTrack) IDReturnsOnCall(i int, result1 string)
func (*FakePublishedTrack) Invocations ¶
func (fake *FakePublishedTrack) Invocations() map[string][][]interface{}
func (*FakePublishedTrack) IsMuted ¶
func (fake *FakePublishedTrack) IsMuted() bool
func (*FakePublishedTrack) IsMutedCallCount ¶
func (fake *FakePublishedTrack) IsMutedCallCount() int
func (*FakePublishedTrack) IsMutedCalls ¶
func (fake *FakePublishedTrack) IsMutedCalls(stub func() bool)
func (*FakePublishedTrack) IsMutedReturns ¶
func (fake *FakePublishedTrack) IsMutedReturns(result1 bool)
func (*FakePublishedTrack) IsMutedReturnsOnCall ¶
func (fake *FakePublishedTrack) IsMutedReturnsOnCall(i int, result1 bool)
func (*FakePublishedTrack) IsSubscriber ¶ added in v0.9.2
func (fake *FakePublishedTrack) IsSubscriber(arg1 string) bool
func (*FakePublishedTrack) IsSubscriberArgsForCall ¶ added in v0.9.2
func (fake *FakePublishedTrack) IsSubscriberArgsForCall(i int) string
func (*FakePublishedTrack) IsSubscriberCallCount ¶ added in v0.9.2
func (fake *FakePublishedTrack) IsSubscriberCallCount() int
func (*FakePublishedTrack) IsSubscriberCalls ¶ added in v0.9.2
func (fake *FakePublishedTrack) IsSubscriberCalls(stub func(string) bool)
func (*FakePublishedTrack) IsSubscriberReturns ¶ added in v0.9.2
func (fake *FakePublishedTrack) IsSubscriberReturns(result1 bool)
func (*FakePublishedTrack) IsSubscriberReturnsOnCall ¶ added in v0.9.2
func (fake *FakePublishedTrack) IsSubscriberReturnsOnCall(i int, result1 bool)
func (*FakePublishedTrack) Kind ¶
func (fake *FakePublishedTrack) Kind() livekit.TrackType
func (*FakePublishedTrack) KindCallCount ¶
func (fake *FakePublishedTrack) KindCallCount() int
func (*FakePublishedTrack) KindCalls ¶
func (fake *FakePublishedTrack) KindCalls(stub func() livekit.TrackType)
func (*FakePublishedTrack) KindReturns ¶
func (fake *FakePublishedTrack) KindReturns(result1 livekit.TrackType)
func (*FakePublishedTrack) KindReturnsOnCall ¶
func (fake *FakePublishedTrack) KindReturnsOnCall(i int, result1 livekit.TrackType)
func (*FakePublishedTrack) Name ¶
func (fake *FakePublishedTrack) Name() string
func (*FakePublishedTrack) NameCallCount ¶
func (fake *FakePublishedTrack) NameCallCount() int
func (*FakePublishedTrack) NameCalls ¶
func (fake *FakePublishedTrack) NameCalls(stub func() string)
func (*FakePublishedTrack) NameReturns ¶
func (fake *FakePublishedTrack) NameReturns(result1 string)
func (*FakePublishedTrack) NameReturnsOnCall ¶
func (fake *FakePublishedTrack) NameReturnsOnCall(i int, result1 string)
func (*FakePublishedTrack) OnClose ¶
func (fake *FakePublishedTrack) OnClose(arg1 func())
func (*FakePublishedTrack) OnCloseArgsForCall ¶
func (fake *FakePublishedTrack) OnCloseArgsForCall(i int) func()
func (*FakePublishedTrack) OnCloseCallCount ¶
func (fake *FakePublishedTrack) OnCloseCallCount() int
func (*FakePublishedTrack) OnCloseCalls ¶
func (fake *FakePublishedTrack) OnCloseCalls(stub func(func()))
func (*FakePublishedTrack) RemoveAllSubscribers ¶
func (fake *FakePublishedTrack) RemoveAllSubscribers()
func (*FakePublishedTrack) RemoveAllSubscribersCallCount ¶
func (fake *FakePublishedTrack) RemoveAllSubscribersCallCount() int
func (*FakePublishedTrack) RemoveAllSubscribersCalls ¶
func (fake *FakePublishedTrack) RemoveAllSubscribersCalls(stub func())
func (*FakePublishedTrack) RemoveSubscriber ¶
func (fake *FakePublishedTrack) RemoveSubscriber(arg1 string)
func (*FakePublishedTrack) RemoveSubscriberArgsForCall ¶
func (fake *FakePublishedTrack) RemoveSubscriberArgsForCall(i int) string
func (*FakePublishedTrack) RemoveSubscriberCallCount ¶
func (fake *FakePublishedTrack) RemoveSubscriberCallCount() int
func (*FakePublishedTrack) RemoveSubscriberCalls ¶
func (fake *FakePublishedTrack) RemoveSubscriberCalls(stub func(string))
func (*FakePublishedTrack) SetMuted ¶
func (fake *FakePublishedTrack) SetMuted(arg1 bool)
func (*FakePublishedTrack) SetMutedArgsForCall ¶
func (fake *FakePublishedTrack) SetMutedArgsForCall(i int) bool
func (*FakePublishedTrack) SetMutedCallCount ¶
func (fake *FakePublishedTrack) SetMutedCallCount() int
func (*FakePublishedTrack) SetMutedCalls ¶
func (fake *FakePublishedTrack) SetMutedCalls(stub func(bool))
func (*FakePublishedTrack) Start ¶
func (fake *FakePublishedTrack) Start()
func (*FakePublishedTrack) StartCallCount ¶
func (fake *FakePublishedTrack) StartCallCount() int
func (*FakePublishedTrack) StartCalls ¶
func (fake *FakePublishedTrack) StartCalls(stub func())
func (*FakePublishedTrack) ToProto ¶ added in v0.9.13
func (fake *FakePublishedTrack) ToProto() *livekit.TrackInfo
func (*FakePublishedTrack) ToProtoCallCount ¶ added in v0.9.13
func (fake *FakePublishedTrack) ToProtoCallCount() int
func (*FakePublishedTrack) ToProtoCalls ¶ added in v0.9.13
func (fake *FakePublishedTrack) ToProtoCalls(stub func() *livekit.TrackInfo)
func (*FakePublishedTrack) ToProtoReturns ¶ added in v0.9.13
func (fake *FakePublishedTrack) ToProtoReturns(result1 *livekit.TrackInfo)
func (*FakePublishedTrack) ToProtoReturnsOnCall ¶ added in v0.9.13
func (fake *FakePublishedTrack) ToProtoReturnsOnCall(i int, result1 *livekit.TrackInfo)
type FakeSubscribedTrack ¶
type FakeSubscribedTrack struct { DownTrackStub func() *sfu.DownTrack IDStub func() string IsMutedStub func() bool SetPublisherMutedStub func(bool) UpdateSubscriberSettingsStub func(bool, livekit.VideoQuality) // contains filtered or unexported fields }
func (*FakeSubscribedTrack) DownTrack ¶
func (fake *FakeSubscribedTrack) DownTrack() *sfu.DownTrack
func (*FakeSubscribedTrack) DownTrackCallCount ¶
func (fake *FakeSubscribedTrack) DownTrackCallCount() int
func (*FakeSubscribedTrack) DownTrackCalls ¶
func (fake *FakeSubscribedTrack) DownTrackCalls(stub func() *sfu.DownTrack)
func (*FakeSubscribedTrack) DownTrackReturns ¶
func (fake *FakeSubscribedTrack) DownTrackReturns(result1 *sfu.DownTrack)
func (*FakeSubscribedTrack) DownTrackReturnsOnCall ¶
func (fake *FakeSubscribedTrack) DownTrackReturnsOnCall(i int, result1 *sfu.DownTrack)
func (*FakeSubscribedTrack) ID ¶
func (fake *FakeSubscribedTrack) ID() string
func (*FakeSubscribedTrack) IDCallCount ¶
func (fake *FakeSubscribedTrack) IDCallCount() int
func (*FakeSubscribedTrack) IDCalls ¶
func (fake *FakeSubscribedTrack) IDCalls(stub func() string)
func (*FakeSubscribedTrack) IDReturns ¶
func (fake *FakeSubscribedTrack) IDReturns(result1 string)
func (*FakeSubscribedTrack) IDReturnsOnCall ¶
func (fake *FakeSubscribedTrack) IDReturnsOnCall(i int, result1 string)
func (*FakeSubscribedTrack) Invocations ¶
func (fake *FakeSubscribedTrack) Invocations() map[string][][]interface{}
func (*FakeSubscribedTrack) IsMuted ¶
func (fake *FakeSubscribedTrack) IsMuted() bool
func (*FakeSubscribedTrack) IsMutedCallCount ¶
func (fake *FakeSubscribedTrack) IsMutedCallCount() int
func (*FakeSubscribedTrack) IsMutedCalls ¶
func (fake *FakeSubscribedTrack) IsMutedCalls(stub func() bool)
func (*FakeSubscribedTrack) IsMutedReturns ¶
func (fake *FakeSubscribedTrack) IsMutedReturns(result1 bool)
func (*FakeSubscribedTrack) IsMutedReturnsOnCall ¶
func (fake *FakeSubscribedTrack) IsMutedReturnsOnCall(i int, result1 bool)
func (*FakeSubscribedTrack) SetPublisherMuted ¶
func (fake *FakeSubscribedTrack) SetPublisherMuted(arg1 bool)
func (*FakeSubscribedTrack) SetPublisherMutedArgsForCall ¶
func (fake *FakeSubscribedTrack) SetPublisherMutedArgsForCall(i int) bool
func (*FakeSubscribedTrack) SetPublisherMutedCallCount ¶
func (fake *FakeSubscribedTrack) SetPublisherMutedCallCount() int
func (*FakeSubscribedTrack) SetPublisherMutedCalls ¶
func (fake *FakeSubscribedTrack) SetPublisherMutedCalls(stub func(bool))
func (*FakeSubscribedTrack) UpdateSubscriberSettings ¶ added in v0.9.14
func (fake *FakeSubscribedTrack) UpdateSubscriberSettings(arg1 bool, arg2 livekit.VideoQuality)
func (*FakeSubscribedTrack) UpdateSubscriberSettingsArgsForCall ¶ added in v0.9.14
func (fake *FakeSubscribedTrack) UpdateSubscriberSettingsArgsForCall(i int) (bool, livekit.VideoQuality)
func (*FakeSubscribedTrack) UpdateSubscriberSettingsCallCount ¶ added in v0.9.14
func (fake *FakeSubscribedTrack) UpdateSubscriberSettingsCallCount() int
func (*FakeSubscribedTrack) UpdateSubscriberSettingsCalls ¶ added in v0.9.14
func (fake *FakeSubscribedTrack) UpdateSubscriberSettingsCalls(stub func(bool, livekit.VideoQuality))
type FakeTrackRemote ¶
type FakeTrackRemote struct { CodecStub func() webrtc.RTPCodecParameters KindStub func() webrtc.RTPCodecType SSRCStub func() webrtc.SSRC StreamIDStub func() string // contains filtered or unexported fields }
func (*FakeTrackRemote) Codec ¶
func (fake *FakeTrackRemote) Codec() webrtc.RTPCodecParameters
func (*FakeTrackRemote) CodecCallCount ¶
func (fake *FakeTrackRemote) CodecCallCount() int
func (*FakeTrackRemote) CodecCalls ¶
func (fake *FakeTrackRemote) CodecCalls(stub func() webrtc.RTPCodecParameters)
func (*FakeTrackRemote) CodecReturns ¶
func (fake *FakeTrackRemote) CodecReturns(result1 webrtc.RTPCodecParameters)
func (*FakeTrackRemote) CodecReturnsOnCall ¶
func (fake *FakeTrackRemote) CodecReturnsOnCall(i int, result1 webrtc.RTPCodecParameters)
func (*FakeTrackRemote) Invocations ¶
func (fake *FakeTrackRemote) Invocations() map[string][][]interface{}
func (*FakeTrackRemote) Kind ¶
func (fake *FakeTrackRemote) Kind() webrtc.RTPCodecType
func (*FakeTrackRemote) KindCallCount ¶
func (fake *FakeTrackRemote) KindCallCount() int
func (*FakeTrackRemote) KindCalls ¶
func (fake *FakeTrackRemote) KindCalls(stub func() webrtc.RTPCodecType)
func (*FakeTrackRemote) KindReturns ¶
func (fake *FakeTrackRemote) KindReturns(result1 webrtc.RTPCodecType)
func (*FakeTrackRemote) KindReturnsOnCall ¶
func (fake *FakeTrackRemote) KindReturnsOnCall(i int, result1 webrtc.RTPCodecType)
func (*FakeTrackRemote) SSRC ¶
func (fake *FakeTrackRemote) SSRC() webrtc.SSRC
func (*FakeTrackRemote) SSRCCallCount ¶
func (fake *FakeTrackRemote) SSRCCallCount() int
func (*FakeTrackRemote) SSRCCalls ¶
func (fake *FakeTrackRemote) SSRCCalls(stub func() webrtc.SSRC)
func (*FakeTrackRemote) SSRCReturns ¶
func (fake *FakeTrackRemote) SSRCReturns(result1 webrtc.SSRC)
func (*FakeTrackRemote) SSRCReturnsOnCall ¶
func (fake *FakeTrackRemote) SSRCReturnsOnCall(i int, result1 webrtc.SSRC)
func (*FakeTrackRemote) StreamID ¶
func (fake *FakeTrackRemote) StreamID() string
func (*FakeTrackRemote) StreamIDCallCount ¶
func (fake *FakeTrackRemote) StreamIDCallCount() int
func (*FakeTrackRemote) StreamIDCalls ¶
func (fake *FakeTrackRemote) StreamIDCalls(stub func() string)
func (*FakeTrackRemote) StreamIDReturns ¶
func (fake *FakeTrackRemote) StreamIDReturns(result1 string)
func (*FakeTrackRemote) StreamIDReturnsOnCall ¶
func (fake *FakeTrackRemote) StreamIDReturnsOnCall(i int, result1 string)
type FakeWebsocketClient ¶
type FakeWebsocketClient struct { ReadMessageStub func() (int, []byte, error) WriteControlStub func(int, []byte, time.Time) error WriteMessageStub func(int, []byte) error // contains filtered or unexported fields }
func (*FakeWebsocketClient) Invocations ¶
func (fake *FakeWebsocketClient) Invocations() map[string][][]interface{}
func (*FakeWebsocketClient) ReadMessage ¶
func (fake *FakeWebsocketClient) ReadMessage() (int, []byte, error)
func (*FakeWebsocketClient) ReadMessageCallCount ¶
func (fake *FakeWebsocketClient) ReadMessageCallCount() int
func (*FakeWebsocketClient) ReadMessageCalls ¶
func (fake *FakeWebsocketClient) ReadMessageCalls(stub func() (int, []byte, error))
func (*FakeWebsocketClient) ReadMessageReturns ¶
func (fake *FakeWebsocketClient) ReadMessageReturns(result1 int, result2 []byte, result3 error)
func (*FakeWebsocketClient) ReadMessageReturnsOnCall ¶
func (fake *FakeWebsocketClient) ReadMessageReturnsOnCall(i int, result1 int, result2 []byte, result3 error)
func (*FakeWebsocketClient) WriteControl ¶
func (*FakeWebsocketClient) WriteControlArgsForCall ¶
func (*FakeWebsocketClient) WriteControlCallCount ¶
func (fake *FakeWebsocketClient) WriteControlCallCount() int
func (*FakeWebsocketClient) WriteControlCalls ¶
func (*FakeWebsocketClient) WriteControlReturns ¶
func (fake *FakeWebsocketClient) WriteControlReturns(result1 error)
func (*FakeWebsocketClient) WriteControlReturnsOnCall ¶
func (fake *FakeWebsocketClient) WriteControlReturnsOnCall(i int, result1 error)
func (*FakeWebsocketClient) WriteMessage ¶
func (fake *FakeWebsocketClient) WriteMessage(arg1 int, arg2 []byte) error
func (*FakeWebsocketClient) WriteMessageArgsForCall ¶
func (fake *FakeWebsocketClient) WriteMessageArgsForCall(i int) (int, []byte)
func (*FakeWebsocketClient) WriteMessageCallCount ¶
func (fake *FakeWebsocketClient) WriteMessageCallCount() int
func (*FakeWebsocketClient) WriteMessageCalls ¶
func (fake *FakeWebsocketClient) WriteMessageCalls(stub func(int, []byte) error)
func (*FakeWebsocketClient) WriteMessageReturns ¶
func (fake *FakeWebsocketClient) WriteMessageReturns(result1 error)
func (*FakeWebsocketClient) WriteMessageReturnsOnCall ¶
func (fake *FakeWebsocketClient) WriteMessageReturnsOnCall(i int, result1 error)
Click to show internal directories.
Click to hide internal directories.