Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

video stream break-off #330

Closed
narslan opened this issue Dec 9, 2020 · 2 comments
Closed

video stream break-off #330

narslan opened this issue Dec 9, 2020 · 2 comments

Comments

@narslan
Copy link

narslan commented Dec 9, 2020

What did you do?

An html interface with ion-sfu and ion-sdk-js had been built which broadcasts a local video stream.
Mostly the default configurations used.

What happened?

The setup for broadcasting was supposed to work fine, since I took steps for normal installation on the main page in each case ( for ion-sfu and for ion-sdk-js respectively).
However the remote video streaming stops abruptly after a while (like in one and half a minute).
What can interrupt the normal flow of a stream?
Should I use a kind of refreshing mechanism to keep the negotiation between the client and the server (ion-sfu) somehow alive?

Here is the log dump of the go build ./cmd/signal/json-rpc/main.go && ./main -c config.toml

[2020-12-09 08:30:23.059] [DEBUG] [57][publisher.go][func1] => Peer ckihg8biw001gwz27lwcjas8m got remote track id: 768930f0-8f70-475e-b025-19b3c870d883 mediaSSRC: 93922767 rid :h streamID: 31bc804d-b160-4375-beb5-5325e1a54fca             
[2020-12-09 08:30:23.059] [DEBUG] [134][interceptor.go][newBuffer] => Setting feedback goog-remb                                                                                                                                              
[2020-12-09 08:30:23.059] [DEBUG] [134][interceptor.go][newBuffer] => Setting feedback transport-cc                                                                                                                                           
[2020-12-09 08:30:23.059] [DEBUG] [134][interceptor.go][newBuffer] => Setting feedback nack                                                                                                                                                   
[2020-12-09 08:30:23.059] [DEBUG] [134][interceptor.go][newBuffer] => Setting feedback nack                                                                                                                                                   
[2020-12-09 08:30:23.059] [DEBUG] [134][interceptor.go][newBuffer] => NewBuffer BufferOptions={1000 0}                                                                                                                                        
[2020-12-09 08:31:04.876] [TRACE] [202][router.go][loopDownTrackRTCP] => sender got nack: TransportLayerNack from 1                                                                                                                           
        Media Ssrc 3734484e                                                                                                                                                                                                                   
        ID      LostPackets                                                                                                                                                                                                                   
        35765   1                                                                                                                                                                                                                             
                                                                                                                                                                                                                                              
[2020-12-09 08:31:04.911] [TRACE] [202][router.go][loopDownTrackRTCP] => sender got nack: TransportLayerNack from 1                                                                                                                           
        Media Ssrc 3734484e                                                                                                                                                                                                                   
        ID      LostPackets                                                                                                                                                                                                                   
        35768   0                                                                                                                                                                                                                             
                                                                                                                                                                                                                                              
[2020-12-09 08:31:19.830] [TRACE] [202][router.go][loopDownTrackRTCP] => sender got nack: TransportLayerNack from 1
  Media Ssrc 3734484e
        ID      LostPackets
        37284   1

[2020-12-09 08:31:34.060] [INFO] [219][peer.go][Close] => RemovePeer ckihg8biw001gwz27lwcjas8m from session test session
[2020-12-09 08:31:34.060] [DEBUG] [209][receiver.go][readRTP] => receiver 1344776136 read rtp eof
[2020-12-09 08:31:34.060] [DEBUG] [209][receiver.go][readRTP] => receiver 2577000426 read rtp eof
[2020-12-09 08:31:34.060] [DEBUG] [209][receiver.go][readRTP] => receiver 93922767 read rtp eof
[2020-12-09 08:31:34.060] [DEBUG] [66][once.go][doSlow] => Closing sender ckihg8q6o001hwz27zx4ai2g5
[2020-12-09 08:31:34.060] [DEBUG] [232][receiver.go][readRTCP] => receiver ckihg8biw001gwz27lwcjas8m readrtcp eof
[2020-12-09 08:31:34.060] [DEBUG] [209][receiver.go][readRTP] => receiver 3630805290 read rtp eof
[2020-12-09 08:31:34.060] [DEBUG] [209][receiver.go][readRTP] => receiver 1871866969 read rtp eof
[2020-12-09 08:31:34.060] [DEBUG] [166][router.go][loopDownTrackRTCP] => Sender ckihg8q6o001hwz27zx4ai2g5 closed due to: EOF
[2020-12-09 08:31:34.060] [DEBUG] [66][once.go][doSlow] => Closing sender ckihg8q6o001hwz27zx4ai2g5
[2020-12-09 08:31:34.060] [DEBUG] [232][receiver.go][readRTCP] => receiver ckihg8biw001gwz27lwcjas8m readrtcp eof
[2020-12-09 08:31:34.060] [DEBUG] [166][router.go][loopDownTrackRTCP] => Sender ckihg8q6o001hwz27zx4ai2g5 closed due to: EOF
[2020-12-09 08:31:34.060] [DEBUG] [66][once.go][doSlow] => Closing sender ckihg8q6o001hwz27zx4ai2g5
[2020-12-09 08:31:34.060] [DEBUG] [209][receiver.go][readRTP] => receiver 2458631488 read rtp eof
[2020-12-09 08:31:34.060] [DEBUG] [166][router.go][loopDownTrackRTCP] => Sender ckihg8q6o001hwz27zx4ai2g5 closed due to: EOF
[2020-12-09 08:31:34.060] [DEBUG] [72][publisher.go][func3] => ice connection state: closed
[2020-12-09 08:31:34.060] [DEBUG] [77][publisher.go][func3] => webrtc ice closed for peer: ckihg8biw001gwz27lwcjas8m
[2020-12-09 08:31:34.060] [DEBUG] [209][receiver.go][readRTP] => receiver 1344776136 read rtp eof                                                                                                                                     [0/2381]
[2020-12-09 08:31:34.060] [DEBUG] [209][receiver.go][readRTP] => receiver 2577000426 read rtp eof
[2020-12-09 08:31:34.060] [DEBUG] [209][receiver.go][readRTP] => receiver 93922767 read rtp eof
[2020-12-09 08:31:34.060] [DEBUG] [66][once.go][doSlow] => Closing sender ckihg8q6o001hwz27zx4ai2g5
[2020-12-09 08:31:34.060] [DEBUG] [232][receiver.go][readRTCP] => receiver ckihg8biw001gwz27lwcjas8m readrtcp eof
[2020-12-09 08:31:34.060] [DEBUG] [209][receiver.go][readRTP] => receiver 3630805290 read rtp eof
[2020-12-09 08:31:34.060] [DEBUG] [209][receiver.go][readRTP] => receiver 1871866969 read rtp eof
[2020-12-09 08:31:34.060] [DEBUG] [166][router.go][loopDownTrackRTCP] => Sender ckihg8q6o001hwz27zx4ai2g5 closed due to: EOF
[2020-12-09 08:31:34.060] [DEBUG] [66][once.go][doSlow] => Closing sender ckihg8q6o001hwz27zx4ai2g5
[2020-12-09 08:31:34.060] [DEBUG] [232][receiver.go][readRTCP] => receiver ckihg8biw001gwz27lwcjas8m readrtcp eof
[2020-12-09 08:31:34.060] [DEBUG] [166][router.go][loopDownTrackRTCP] => Sender ckihg8q6o001hwz27zx4ai2g5 closed due to: EOF
[2020-12-09 08:31:34.060] [DEBUG] [66][once.go][doSlow] => Closing sender ckihg8q6o001hwz27zx4ai2g5
[2020-12-09 08:31:34.060] [DEBUG] [209][receiver.go][readRTP] => receiver 2458631488 read rtp eof
[2020-12-09 08:31:34.060] [DEBUG] [166][router.go][loopDownTrackRTCP] => Sender ckihg8q6o001hwz27zx4ai2g5 closed due to: EOF
[2020-12-09 08:31:34.060] [DEBUG] [72][publisher.go][func3] => ice connection state: closed
[2020-12-09 08:31:34.060] [DEBUG] [77][publisher.go][func3] => webrtc ice closed for peer: ckihg8biw001gwz27lwcjas8m
[2020-12-09 08:31:34.060] [DEBUG] [209][receiver.go][readRTP] => receiver 3214294019 read rtp eof
[2020-12-09 08:31:34.061] [DEBUG] [66][once.go][doSlow] => Closing sender ckihg8q6o001hwz27zx4ai2g5
[2020-12-09 08:31:34.061] [DEBUG] [166][router.go][loopDownTrackRTCP] => Sender ckihg8q6o001hwz27zx4ai2g5 closed due to: EOF
[2020-12-09 08:31:34.311] [DEBUG] [103][peer.go][func1] => peer ckihg8q6o001hwz27zx4ai2g5 negotiation needed
[2020-12-09 08:31:34.311] [INFO] [112][peer.go][func1] => peer ckihg8q6o001hwz27zx4ai2g5 send offer
[2020-12-09 08:31:34.496] [INFO] [182][peer.go][SetRemoteDescription] => peer ckihg8q6o001hwz27zx4ai2g5 got answer
[2020-12-09 08:33:14.384] [INFO] [219][peer.go][Close] => RemovePeer ckihg8q6o001hwz27zx4ai2g5 from session test session
[2020-12-09 08:33:14.384] [DEBUG] [59][subscriber.go][func1] => ice connection state: closed
[2020-12-09 08:33:14.384] [DEBUG] [66][once.go][doSlow] => webrtc ice closed for peer: ckihg8q6o001hwz27zx4ai2g5
@narslan narslan changed the title video session video stream break-off Dec 9, 2020
@OrlandoCo
Copy link
Collaborator

@narslan We detect an issue with latest release, it should be fixed now in master (not tagged yet).

@OrlandoCo
Copy link
Collaborator

This should be solved by now, if you see any problem please feel free to re-open or create a new issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants