-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Deleting or clearing a crashed RTMP stream #175
Comments
Could you please let me know if the same problem occurs with the latest version? (0.10.7 release or master branch) |
And it is better to set bframes=0 as an option. |
Hi getroot! I can confirm similar behaviour with RTMP on v0.10.7. If a RTMP stream is interrupted by a connection drop it becomes unavailable, OME does not clear it. Hope it helps |
I kept trying to reproduce this, but couldn't. |
@getroot - can you try to crash the streaming process, maybe disconnecting a camera or killing the process? |
I kept trying to reproduce this problem by killing the encoder's process, but it doesn't reproduce. And it is difficult to crash the encoder. |
In my case I found this problem during an ISP failure. We were streaming a few streams trough RTMP, after the ISP failure we had to restart OME since all RTMP streams coming from this ISP became unavailable. |
Maybe just try to unplug the network cable on the encoder side. The encoder should never send the stop command in order to reproduce this issue. |
I was able to reproduce the problem by unplugging the LAN cable. Thanks, I'll analyze it and fix it soon! |
… disconnected in certain situations (#175)
When the network was forcibly isolated, there was a problem that the server did not recognize because the TCP keep-alive option was not turned on. This problem was resolved in c035d08. Thank you! |
Hello! I'd like to collect your experiences about the use of OvenMediaEnigne and introduce them to users. Thank you for using OvenMediaEngine. |
Describe the bug
I was testing ffmpeg -> rtmp using dshow from within my application . Below is my ffmpeg command -
The streaming went on for 5 hours, but after 5 hours I get the below error on FFMPEG, which I think means that the connection is dropped
Now I can work around the FFMPEG error and auto-restart my application to start streaming but when I try to do now I get an error thrown from OvenMediaEngine that the stream already exists.
Based on the code I could identify that the pointer for the stream name is not cleared yet, hence the above error. I can't change stream names as they are mapped to specific devices.
Expected behavior
When the ffmpeg has crashed, OME should automatically clear the stream name and make it re-available for use. Or there should be a way to remove it.
Logs
Server (please complete the following information):
Player (please complete the following information):
The text was updated successfully, but these errors were encountered: