Node-Media-Server icon indicating copy to clipboard operation
Node-Media-Server copied to clipboard

LiveStream recording lost content when we loss internet connection

Open syedMSohaib opened this issue 6 years ago • 8 comments

Hi, I am recording live stream but as soon as internet connection drops for few seconds or minutes and then again when we try to re send the live stream it doesn't reconnect or continue and as far as recording is concreted. when connection dops it creates the new recording mp4 and live stream is stuck

syedMSohaib avatar May 10 '19 09:05 syedMSohaib

@illuspas Sir any followup ?

syedMSohaib avatar May 13 '19 06:05 syedMSohaib

have you solve this problem ? Please!

hathemi avatar Jul 26 '19 11:07 hathemi

no what but i am doing is merging the new stream with the old one when it reconnects

syedMSohaib avatar Aug 03 '19 16:08 syedMSohaib

no what but i am doing is merging the new stream with the old one when it reconnects

@syedMSohaib Is it possible to show code of merging streams

RupamShaw avatar Jun 16 '20 10:06 RupamShaw

@RupamShaw sent check your email

syedMSohaib avatar Jun 16 '20 10:06 syedMSohaib

Hello, I know this is an old thread but can you help me out with this issue as well ? Thank you @syedMSohaib

JohnTrabusca avatar Mar 06 '21 21:03 JohnTrabusca

@syedMSohaib +1 for this issue. Can you send the code for merging when it reconnects?

rehamkhawajahere avatar Mar 23 '21 14:03 rehamkhawajahere

Hi, I have a similar problem. Some of my streams are getting partially or completely lost. I am transcoding the streams to an mp4 file using FFmpeg (tasks in app.js) after the stream ends. In some cases when I play the mp4 video, the video either starts from in-between (losing the start content) or plays blank. I suspect that it happens when the stream connection is interrupted and the stream data is overwritten when it reconnects.

@syedMSohaib Please let me know if this was your case too, and how did you fix it.

nickm89 avatar Aug 19 '21 11:08 nickm89