Skip to main content
Known Participant
February 1, 2013
Question

Stream to any device

  • February 1, 2013
  • 2 replies
  • 6100 views

Hi,

I'm trying to understand the whole proccess for making a stream from FMLE to AMS 5 that can be viewed by all devices PC - android - ios but i cannot make it work properly.

1) My encoder settings are the following

2) Then if I use JW player plugin for wordpress where for streamer i use  rtmp://mikelproductions.no-ip.org/livepkgr

and for file I use    livestream?adbe-live-event=liveevent

and for HML5 File I use http://www.mikelproductions.no-ip.org/hds-live/livepkgr/_definst_/liveevent/livestream.m3u8

With this configuration I can play the stream on android and pc but not on iOS devices! I get the error 'Undefined is not an object'

What do i make wrong? I think something with HTML5 file

Please help!

Thanks in advance!

    This topic has been closed for replies.

    2 replies

    Inspiring
    February 1, 2013

    <script type="text/javascript">

    jwplayer('hdshlsplayer').setup({

        'id': 'playerID',

        'width': '912',

        'height': '513',

        'file': 'http://live.example.com/ospnlive.f4m',

        'provider':'hds',

              'image':'/images/protected.poster.jpg',

        'modes': [

            {type: 'html5',

                        config: {

               'file': 'http://live.example.com/ospnlive.m3u8',

                           'image':'/images/protected.poster.jpg',

               'provider': 'video'

              }

              },

            {type: 'flash', src: '/jwplayer/player.swf'}

           ]

      });

    </script>

    This is the JW5 code i used for HDS streaming with jwplayer5.

    Known Participant
    February 1, 2013

    Thanks for the answer, but on my server there is no hds/hls-live folder creatsd.and is it right that the m3u8 and f4m files are created on the fly and are not being writen on the disk, because i can not find them...

    And the ios devices need the. F4m files to play??and what are the. M3u8 files??

    Thanks and sorry for the noob questions..

    Known Participant
    February 1, 2013

    I am having the same problem, Android devices, Apple (iPhone/iPad) devices, cannot view either.

    Here is my code from the Drupal server in the (source) how can I edit this to allow ALL clients to connect/view the VOD and LIVE streams?

    <p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" height="377" id="videoPlayer" name="videoPlayer" type="application/x-shockwave-flash" width="640"><param name="movie" value="http://myserver.mydomain.com/swfs/videoPlayer.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#000000" /><param name="allowfullscreen" value="true" /><param name="flashvars" value="&videoWidth=0&videoHeight=0&dsControl=manual&dsSensitivity=100&DS_Status=true&streamType=vod&autoStart=false&serverURL=rtmp://myserver.mydomain.com/vod/media/mp4:fhs_video_file_2011.f4v" /><embed allowfullscreen="true" bgcolor="#000000" flashvars="&videoWidth=0&videoHeight=0&dsControl=manual&dsSensitivity=100&DS_Status=true&streamType=vod&autoStart=false&serverURL=rtmp://myserver.mydomain.com/vod/media/mp4:fhs_video_file_2011.f4v" height="377" id="videoPlayer" name="videoPlayer" pluginspage="http://www.adobe.com/go/getflashplayer" quality="high" src="http://myse.com/swfs/videoPlayer.swf" type="application/x-shockwave-flash" width="640"></embed></object></p>

    Inspiring
    February 1, 2013

    You need to use the hls-live service..   hds-live == .f4m file. Which in new jwplayers are discontinued.

    http://www.mikelproductions.no-ip.org/hls-live/livepkgr/_definst_/liveevent/liveevent.m3u8

    You also need to revist www.longtailvideo.com  They have no released jw6 for wordpress at this time, which supports HLS Live Streaming.  they have scratched the HDS streaming from their scope.  If you are embedding the old jwplayer5 into wordpress, you need to add the provider: 'hds' in your jwplayer setup code. and then use

    http://www.mikelproductions.no-ip.org/hds-live/livepkgr/_definst_/liveevent/liveevent.f4m

    This may not work, as longtail said they were discontinuing support for the HDS provider in early January.

    Premimum ediditons of jwplayer will be needed to use the Apple HLS streaming from AMS 5.0

    Hope this helps.