add participant job type (#3443)

* add participant job type

* cleanup

* deps
This commit is contained in:
Paul Wells
2025-02-18 00:40:56 -08:00
committed by GitHub
parent b2a54729f5
commit f49103a003
8 changed files with 152 additions and 50 deletions
-1
View File
@@ -269,7 +269,6 @@ func NewRTCClient(conn *websocket.Conn, opts *Options) (*RTCClient, error) {
return c.SendIceCandidate(ic, livekit.SignalTarget_SUBSCRIBER)
})
subscriberHandler.OnTrackCalls(func(track *webrtc.TrackRemote, rtpReceiver *webrtc.RTPReceiver) {
fmt.Println("ontrack", track.Codec(), track.PayloadType())
go c.processTrack(track)
})
subscriberHandler.OnDataPacketCalls(c.handleDataMessage)