question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Bug]: not able to stream due to lost packages at end of last stream

See original GitHub issue

Client version

latest

Node version

all

Operating System type

Other

Operating system version

all

Describe the bug

If packets are lost at the end of a stream the client cannot keep track of the correct sequence number. Therefore any attempt at streaming after that will fail, since the client always expects a sequence number which will ‘never’ be reached (until the sequence numbers were reset and it all starts again at zero).

You can see this in the log with the sequence number 37040 which was lost right when the stream was closed. It only is received after the stream is already closed and then it is ignored. The next stream attempt fails, since the client waits on this sequence number.

To reproduce

  1. Go to ‘…’
  2. Click on ‘…’
  3. Scroll down to ‘…’
  4. See error

Screenshots & Logfiles

squence_number_loss.log

Additional context

No response

Issue Analytics

  • State:closed
  • Created 10 months ago
  • Reactions:1
  • Comments:9 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
thierencommented, Nov 30, 2022

After testing a few days I would say this works now as expected. At least I didn’t experience any stream related hiccups anymore since I improved the network performance.

I am curious though if there is something that can be done about the errors I’ve encountered, since I properly won’t be the only user with bad connection issues. And to some it might not be that obvious that this is a network issue on their side and not directly related to this client.

1reaction
thierencommented, Nov 26, 2022

Thx!

Will test with new version and see if it happens again.

Seems like I’ll have to look into my network performance with all those lost packets, but at least it helped finding a few minor bugs. 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

[Update: Dec. 26] YouTube bugs/issues & pending ...
Here we are tracking all the bugs and problems found on YouTube and their status as well as any pending improvements that are...
Read more >
Execute Error 83: Disney+ Not Working? Here's What to Do.
Try clearing your browser's cache (if you're streaming on a web browser). Log in to your Wi-Fi router settings and check for a...
Read more >
Fix Common DIRECTV App Issues - Stream support
Learn how to resolve common problems with the DIRECTV app. Article DETAILED INFO. Did you get a service error? Or, did the app...
Read more >
Dropped Frames And General Connection Issues - OBS Studio
"Dropped frames" means that your connection to remote server isn't stable or you ... If you drop too many frames, you may be...
Read more >
Troubleshoot your YouTube live stream - Google Support
To fix it, get a new stream key in Live Control Room and update your encoder. Go to YouTube Studio. To open Live...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found