View Full Version : reconnection issue MAG254
logicom
07-25-2015, 12:08 PM
Hi,
I have MAG254 and I am using ffmpeg as encoder and vlc as http server. MAG works great in LAN, and it opens and shows stream correctly.
Once I put it on internet and try to open the stream from another location, it works well, but it happens that it looses the connection with the server, due to the short network congestion or connection drop
(I have been able to recreate the proble manually by unplugging the network cable) , and I am wondering is there a way to force reconnection once network is back?
Otherwise I have to reboot it and it continues to play.
Regards.
tallman
07-25-2015, 02:45 PM
reboot is the only way i know
logicom
07-25-2015, 04:49 PM
reboot is the only way i know
Could anyone recommend android set top box with reconnect feature ?
Or any affordable decoder with network failure resilience ?
Regards.
logicom
08-06-2015, 08:54 PM
If I make the stalker portal is it going to behave differently in the meaner that the box would reconnect automatically ?
Is there anything like IPTV pro aplication for android boxes which does auto recconect and that can be landed on mag 254 ?
Is there a way to put a deamon which would reboot the unit on network outage (with some timeout) ?
Any idea please
xbmcbg
08-07-2015, 01:19 PM
Hi,
I have MAG254 and I am using ffmpeg as encoder and vlc as http server. MAG works great in LAN, and it opens and shows stream correctly.
Once I put it on internet and try to open the stream from another location, it works well, but it happens that it looses the connection with the server, due to the short network congestion or connection drop
(I have been able to recreate the proble manually by unplugging the network cable) , and I am wondering is there a way to force reconnection once network is back?
Otherwise I have to reboot it and it continues to play.
Regards.
FFmpeg can basically stream through one of two ways: It either streams to a some "other server", which re-streams for it, or it can stream via UDP/TCP directly to some destination receiver, or alternatively directly to a multicast destination.
Servers which can receive from FFmpeg (to restream) include ffserver (linux only, though with cygwin it might work on windows), or Wowza Media Server, or Flash Media Server or various others. Even VLC can pick up the stream from ffmpeg, then redistribute it, acting as a server. Since FFmpeg is at times more efficient than VLC at doing the raw encoding, this can be a useful option compared to doing both transcoding and streaming in VLC. Nginx also has an rtmp redistribution plugin, as does apache etc. and there is probably more out there for apache, etc.. You can also live stream to online redistribution servers like own3d.tv or justin.tv (for instance streaming your desktop). Also any rtmp server will most likely work to receive streams from FFmpeg (these typically require you to setup a running instance on a server).
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.