Foliovision › Forums › FV Player › Requests and Feedback › Live streaming possible?
-
I need to use FV WordPress to live stream a broadcast. Is this possible? If so, I need the player to be cross browser / cross device compatible. How do I accomplish this?
The available streams to me are:
Smil
Apple HTTP Live Streaming HLS
Adobe Flash HTTP Live Streaming HDS
Microsoft Smooth Streaming
RTMP
RTSP
RTMPEI have been experimenting for hours, with no luck. Any ideas?
Thanks,
Brandon
-
-
Hello Brandon,
the live streaming works. You can add live=”true” to the shortcode to make sure there is no remaining time showing up.
Could you please follow this guide? In step 4. simply add in your m3u8 HLS stream: http://foliovision.com/player/rtmp-streams
Use the video checker to report further issues: http://foliovision.com/player/faq#properties-built-checker-report-playing
Thanks,
MartinGot this error when testing cdn sun. I don’t know what it is.
Video analysis:
Analysis of http://example.com/rtsp:/video.example.com/480745868/_definst_/mp4:480745868/7-28-14-360.mp4
File not found (HTTP 404)!
unable to determine file formatHello Chan,
RTSP streams are useful for old mobile devices. It’s currently not supported by our plugin, but the support could be added.
I was able to play your video in my computer using VLC Player, but not on my old HTC Legend phone.
Can you get a mobile optimized version? It should not be wider than 480px if it should play on old HTC Android phones and so on. Otherwise it doesn’t make much sense to add this kind of video streaming.
Thanks,
MartinHi,
my streaming provider gave me the following URLs:RTMP Streaming (for JW Player up to version 6):
rtmp://msh0161.stream.seeweb.it/live//stream00.sdpApple HTTP Live Streaming (for iPhone/iPad and compatible browser) http://msh0161.stream.seeweb.it/live/flv:stream00.sdp/playlist.m3u8
Microsoft Smooth Streaming (for Microsoft/Silverlight devices)
http://msh0161.stream.seeweb.it/live/flv:stream00.sdp/ManifestFlash HTTP Streaming (for player Flash compatible)
http://msh0161.stream.seeweb.it/live/flv:stream00.sdp/manifest.f4mI’ve followed the guide (http://foliovision.com/player/rtmp-streams) and I’ve put both RTMP URL the m3u8 URL in the player settings but I still cannot stream correctly on PC desktop (flash enabled).
More precisely I’ve created a page with two players (please see http://wp-dev-ntr24-31ba64cdf656650e14f1f97f34ac243d.ntr24.tv/2016/04/27/test-live-streaming/ even if I most probably won’t be streaming when you will check) with two players: the first one has only the RTMP data flow and it is correctly streamed only on the PC and flash enabled devices. On the second player I’ve set up both the RTMP and the mu38 URL but this player is only streamed on iOS devices while on PC an error message is shown: We recommend that you also provide your RTMP video in MP4 format. RTMP is not compatible with HTML5 and won’t play on devices without Flash… .
How can I get both the URL (RTMP and m3u8) working together on only one player so that flash/not flash devices can pick the correct stream?
Hereafter the shortcode for the two players:
First player:
[fvplayer rtmp="rtmp://msh0161.stream.seeweb.it/live/" rtmp_path="stream00.sdp" autoplay="true" live="true"]
Second player:
[fvplayer src="http://msh0161.stream.seeweb.it/live/flv:stream00.sdp/playlist.m3u8" rtmp="rtmp://msh0161.stream.seeweb.it/live/" rtmp_path="stream00.sdp" autoplay="true" live="true"]Thanks in advance for any appreciated help.
GiuseppeHello Giuseppe,
your setup looks good, however the streams are not currently live, so it appears.
Your shortcode which combines HLS and RTMP should work just fine. The warning which you see comes from our video checker, so I guess it’s not detecting your m3u8 properly. Does the second player fail to play the RTMP on desktop computers with Flash?
Thanks,
MartinHello Giuseppe,
I see the problem now, the Flash engine can play the HLS stream, so it picks the HLS stream on the second video and not RTMP. But the HLS fails to play as there is no crossdomain.xml: https://foliovision.com/player/hls-stream -> step 1. (please ignore the part about doing this via Amazon S3)
We will check the order of the streams and try to prioritize RTMP stream over HLS for desktop computers with Flash.
Thanks,
MartinHi Martin,
thank you very much indeed for you prompt reply.
Well, I’ve put the crossdomain.xml file in the root directory of my domain (please see http://wp-dev-ntr24-31ba64cdf656650e14f1f97f34ac243d.ntr24.tv/crossdomain.xml) and also I’ve set the crossdomain. xml file permissions to everyone (chmod 777) but he 2nd player still cannot play the stream. Now I will leave the streaming on so that you can check.
Looking forward to hear from you then and thank you in advance,
GiuseppeHello Giuseppe,
the crossdomain.xml has to be located where the stream is hosted. That means not your website, but here: http://msh0161.stream.seeweb.it/crossdomain.xml
Are you able to put in such file? What software or service do you use for the live streams?
Thanks,
MartinHi Martin,
you were right! :)
It works like a sharm now after I’ve asked to our streaming provider to put the crossdomain.xml on their streaming server and, in order to get things working, the same file crossdomain.xml must be also hosted also on our domain root.
Thanks you very much for you help and advices!Giuseppe