Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
Locked
0

HDS to HTML5 Video Object Problem

Community Beginner ,
Dec 14, 2012 Dec 14, 2012

I'm currently using FMS 4.5 to stream live webcam video via HLS to the HTML5 Video object with no problem. However, when I try streaming via HDS, it doesn't work - the video never loads. I can see the video in the sample player included with the server so I know that the fragments are being created and can be played. I just don't understand why it is not playable in the HTML5 Video object.

This works for iOS devices:

<source src="http://myserver/hls-live/myapp/myinstance/myevent/mystreamname.m3u8" >

This does not work in Chrome on my desktop:

<source src="http://myserver/hds-live/myapp/myinstance/myevent/mystreamname.f4m" >

Any help is appreciated!

6.7K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Dec 15, 2012 Dec 15, 2012

Hello, chances are, if you are on win machine, Chrome doesn’t support html5. Better try this, it has always worked for me:















Let us know if it worked.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Dec 15, 2012 Dec 15, 2012

Chrome on Windows will play a recorded clip using the HTML5 Video Object playing an MP4 (which is a recorded video made from the live stream).  It's the live stream that doesn't work. It that still a limitation of the HTML5 Video object?

Also, I'm not sure what you were trying to display in the post above. All I see is an empty box. Was something else supposed to be there?

Thanks!

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Dec 15, 2012 Dec 15, 2012

Yes, this was a snippet of code:

<!-- <object width='640' height='377' id='SampleMediaPlayback' name='SampleMediaPlayback' type='application/x-shockwave-flash' classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' > <param name='movie' value='swfs/SampleMediaPlayback.swf'/> <param name='quality' value='high'/> <param name='bgcolor' value='#000000'/> <param name='allowfullscreen' value='true'/> <param name='flashvars' value='&src=http://www.affluxis.com:8134/hds-live/livepkgr/_definst_/liveevent/livestream.f4m&autoHideControlBar=true&streamType=live&autoPlay=true&verbose=true'/> <embed src='swfs/SampleMediaPlayback.swf' width='640' height='377' id='SampleMediaPlayback' quality='high' bgcolor='#000000' name='SampleMediaPlayback' allowfullscreen='true' pluginspage='http://www.adobe.com/go/getflashplayer' flashvars='&src=http://www.affluxis.com:8134/hds-live/livepkgr/_definst_/liveevent/livestream.f4m&autoHideControlBar=true&streamType=live&autoPlay=true&verbose=true' type='application/x-shockwave-flash'> </embed> </object>

--

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Dec 15, 2012 Dec 15, 2012

Posts keep turning text to html.








Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Dec 15, 2012 Dec 15, 2012

here is a screensnap of the code.

Capture.PNG

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Dec 16, 2012 Dec 16, 2012

Yes - as I said in the original post, the stream can be seen in the Strobe player which is included in the server. However, that is a Flash based solution (I'm already delivering the live stream via my own Flash based video player). I'm trying to deliver the stream via HTTP to non-iOS clients that don't have Flash such as newer Android devices that now don't include the Flash Player.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Dec 17, 2012 Dec 17, 2012

Its a limitation from Chrome HTML5 Video tag - i don't thinkt they support HLS (HTTP Live Streaming Protocol from Apple) or HDS( HTTP Dyanamic Streaming from Adobe) in thier video tag capability. I am not sure whether they can support HDS as its more of Flash based but if they can support HLS like how Safari does - AMS would be able to stream to Chrome on non-iOS devices too.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Dec 17, 2012 Dec 17, 2012

HLS in the Chrome HTML5 Video tag does work for iOS (that is what I'm currently using).

So - if I'm NOT using a Native application, and I'm NOT using AIR, what is the preferred (or possible) method of viewing live video to non iOS devices without Flash?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Dec 17, 2012 Dec 17, 2012

I meant Chrome on Android devices and not on iOS Devices. If Video tag does not support HLS on Android devices - i suppose Native or AIR might be your only options.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Dec 17, 2012 Dec 17, 2012

I just tried Chrome on my Android phone and it still wouldn't play the HDS stream. Does that mean there aren't any ways to play an HDS stream without Flash?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Dec 17, 2012 Dec 17, 2012

If i was not clear i am sorry but i never said HDS would work on Chrome. I dont think HDS is supported by any browser directly - it needs FLASH.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Dec 18, 2012 Dec 18, 2012
LATEST

Yes I think I misunderstood.  Some of the newer Android devices seem to play the HLS stream, but still trying to figure out the best path for the desktop.  Thanks for the help!

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines