kevmo314 / tinywhip

11 stars 2 forks source link

subscriber: SetRemoteDescription called with no ice-ufrag #1

Closed neilyoung closed 8 months ago

neilyoung commented 8 months ago

The publisher seemingly works and traces:

2024/03/19 11:36:56 Track (ID: 3db32925-4d0c-470b-94d7-3457e5889d91, StreamID: 7285e0d0-e5da-45e6-b593-77913c624c96) added

But regardless of what ID I use for subscription: This is the result

panic: SetRemoteDescription called with no ice-ufrag

goroutine 1 [running]:
main.main()
    /Users/decades/Documents/tmp/go/tinywhip/examples/subscriber/main.go:57 +0x214
exit status 2

Running on MacOS

neilyoung commented 8 months ago

Ah, I see, the server traces this a second after the publisher starts:

2024/03/19 11:40:46 Got track: 5c95634c-a5ca-47d5-9444-3cdb878cbd44
2024/03/19 11:40:50 Connection State has changed disconnected
2024/03/19 11:41:02 Connection State has changed failed

So already the publishing fails.

neilyoung commented 8 months ago

No, my bad. I should have used the track traced in the server.