MCPcopy
hub / github.com/livekit/livekit / GetPublishedTrackIDs

Method GetPublishedTrackIDs

test/client/client.go:1094–1102  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1092}
1093
1094func (c *RTCClient) GetPublishedTrackIDs() []string {
1095 c.lock.Lock()
1096 defer c.lock.Unlock()
1097 var trackIDs []string
1098 for key := range c.localTracks {
1099 trackIDs = append(trackIDs, key)
1100 }
1101 return trackIDs
1102}
1103
1104// LastAnswer return SDP of the last answer for the publisher connection
1105func (c *RTCClient) LastAnswer() *webrtc.SessionDescription {

Callers 3

TestFireTrackBySdpFunction · 0.80

Calls

no outgoing calls

Tested by 3

TestFireTrackBySdpFunction · 0.64