Skip to main content
Participant
August 9, 2012
Question

Flash player to iPhone streaming

  • August 9, 2012
  • 1 reply
  • 8785 views

Hello

I was able to stream from FlashMediaEncoder to Ipad device (html5 video)

FME--->FMS---->IPAD : ok

Now I try to stream from flash player (flash11 with H264) to ipad but nothing happens.

Is it possible to stream from flashplayer (on PC, flash11) to IPAD ?

FlashPlayer11 (H264)--->FMS----->IPAD ?

Any link / clue  for that ?

regards

This topic has been closed for replies.

1 reply

August 10, 2012

Hi,

You can use Flash Player to publish H264 video that can be viewed on the iPad. Here are a few links :

http://www.realeyes.com/blog/2011/10/31/new-in-flash-player-11-encoding-live-video-to-h-264avc/

http://videostreamingexpert.blog.com/2011/11/02/how-to-publish-h-264-live-stream-using-flash-player-11/

You can check these to see if you've missed some step.

Also, as Flash Player doesn't support publishing of audio as aac, you will be able to stream audio to your iPad.

Thanks,

Apurva

yarus3Author
Participant
August 10, 2012

I have done that already.

I am streaming H264 to FMS through flahs player.

It can be viewed with another flash player.

When I open it with <video> on ipad I can view... some seconds of an older video I was streaming with Flash Media Encoder.

Infact to summerize:

When I stream with FME (H264)->FMS->IPAD: OK

When I stream with FlashPlayer11 (H264)->FMS->IPAD: KO

I have put in the flash player the SAME parameters as in FME:

nc.connect("rtmp://127.0.0.1/livepkgr");

camera = Camera.getCamera();

myWebcam.attachCamera(camera);

h264Settings = new H264VideoStreamSettings();

h264Settings.setProfileLevel(H264Profile.MAIN, H264Level.LEVEL_3_1);

h264Settings.setMode(320 , 240 , 30);

h264Settings.setKeyFrameInterval(120);

camera.setQuality(650000,0);

camera.setMode(320, 240 , 30 );

camera.setKeyFrameInterval(10);

nsOutGoing.attachCamera(camera);

nsOutGoing.videoStreamSettings = h264Settings;

nsOutGoing.publish("livestream?adbe-live-event=liveevent","live");

(I do not publish audio)

and NOTHING happen in HTML5 player it keeps on loading video or sometimes display an older video stream I published with FME.

August 10, 2012

Everytime you publish, you need to clear out the streams folder under livepkgr and the .stream file from under livepkgr/events/_definst_/liveevent. Can you try doing that then Restarting your server and trying again?

Also, what is the url that you're using within <video> tag for playback?