-
Notifications
You must be signed in to change notification settings - Fork 35
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
Set Receiver Socket Timeout when No Data is Received #199
Comments
Thank you for your suggestion! Sounds like a good idea to me. |
@barlowd55 do you want to give #200 a try? 😊 |
Thanks for the feature. I tried out the timeout option, but what I can see is that the client does not disconnect. It just keeps on trying to establish a connection and the app simply disconnects the connection. My client app keeps polling trying to establish a connection but does not close the connection. Eventually the client times out with 500 error. Is there a possibility to close the client connection, maybe by sending the correct header code or by calling the socket close function. |
Commenting on the same issue, this is the error I get on console:
Not sure, but after some time, the code exists node app. |
How to fix this error? @n-thumann
or
Thanks! |
Is is possible that you're running an outdated version of IPTV-ReStream? This is a known issue (#238), but I've fixed it in https://github.com/n-thumann/IPTV-ReStream/releases/tag/v1.5.0. |
ok, it's my fault, I got the source from docker hub (still not updated to the latest version) But my ISP provide iptv through vlan, so here just format is needed, for example: rtp://@232.84.1.117:10254 is there to watch live while the multicastadressliste.json file requires media_multicast_sourceip to be filled in. Can I customize? For example, with updxy, I'm watching live like this Thank you so much and Have a nice day! |
VLANs are beyond the control of an application. Looks are you have a RTP multicast address, but without a specific source.
For the missing multicast source IP, one option would be to figure out (e.g. by inspecting the traffic with Wireshark) what the actual source IP is and use that one. |
Ok, thank you for your support. |
I use an encoder that streams on the multicast port which is consumed through your app and re-streams to customers.
There is one issue I faced. Sometimes the source on the encoder may be down. The port may be active but does not send any data.
When such an instance happens, the app goes in an infinite loop to receive the data on the port.
Is there a possibility to set a timeout on the receiver to close the connection for the client, instead of looping continuously.
The text was updated successfully, but these errors were encountered: