MCPcopy
hub / github.com/livekit/livekit / FakeRoom

Struct FakeRoom

pkg/rtc/types/typesfakes/fake_room.go:11–94  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9)
10
11type FakeRoom struct {
12 GetLocalParticipantsStub func() []types.LocalParticipant
13 getLocalParticipantsMutex sync.RWMutex
14 getLocalParticipantsArgsForCall []struct {
15 }
16 getLocalParticipantsReturns struct {
17 result1 []types.LocalParticipant
18 }
19 getLocalParticipantsReturnsOnCall map[int]struct {
20 result1 []types.LocalParticipant
21 }
22 IDStub func() livekit.RoomID
23 iDMutex sync.RWMutex
24 iDArgsForCall []struct {
25 }
26 iDReturns struct {
27 result1 livekit.RoomID
28 }
29 iDReturnsOnCall map[int]struct {
30 result1 livekit.RoomID
31 }
32 IsDataMessageUserPacketDuplicateStub func(*livekit.UserPacket) bool
33 isDataMessageUserPacketDuplicateMutex sync.RWMutex
34 isDataMessageUserPacketDuplicateArgsForCall []struct {
35 arg1 *livekit.UserPacket
36 }
37 isDataMessageUserPacketDuplicateReturns struct {
38 result1 bool
39 }
40 isDataMessageUserPacketDuplicateReturnsOnCall map[int]struct {
41 result1 bool
42 }
43 NameStub func() livekit.RoomName
44 nameMutex sync.RWMutex
45 nameArgsForCall []struct {
46 }
47 nameReturns struct {
48 result1 livekit.RoomName
49 }
50 nameReturnsOnCall map[int]struct {
51 result1 livekit.RoomName
52 }
53 RemoveParticipantStub func(livekit.ParticipantIdentity, livekit.ParticipantID, types.ParticipantCloseReason)
54 removeParticipantMutex sync.RWMutex
55 removeParticipantArgsForCall []struct {
56 arg1 livekit.ParticipantIdentity
57 arg2 livekit.ParticipantID
58 arg3 types.ParticipantCloseReason
59 }
60 ResolveDataTrackForSubscriberStub func(types.LocalParticipant, livekit.TrackID) types.DataResolverResult
61 resolveDataTrackForSubscriberMutex sync.RWMutex
62 resolveDataTrackForSubscriberArgsForCall []struct {
63 arg1 types.LocalParticipant
64 arg2 livekit.TrackID
65 }
66 resolveDataTrackForSubscriberReturns struct {
67 result1 types.DataResolverResult
68 }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected