mirror of
https://gitlab.crans.org/nounous/ghostream.git
synced 2025-06-29 11:00:55 +02:00
💩 Split webrtc tracks by stream id (need to clean this, stream ID must pass between the session descriptor and the webrtc flux transmit)
This commit is contained in:
5
main.go
5
main.go
@ -104,7 +104,10 @@ func main() {
|
||||
defer authBackend.Close()
|
||||
|
||||
// WebRTC session description channels
|
||||
remoteSdpChan := make(chan webrtc.SessionDescription)
|
||||
remoteSdpChan := make(chan struct {
|
||||
StreamID string
|
||||
RemoteDescription webrtc.SessionDescription
|
||||
})
|
||||
localSdpChan := make(chan webrtc.SessionDescription)
|
||||
|
||||
// SRT channel for forwarding and webrtc
|
||||
|
Reference in New Issue
Block a user