Skip to main content
Known Participant
December 4, 2012
Question

Broadcast live in rmtp and http in parallel

  • December 4, 2012
  • 1 reply
  • 2206 views

Hello

i have a web internet live cams aplication and i am using adobe media server 5

most of my users using regular pc computer with common windows web browser

but around quarter of my users using web browser on mobile devices

so i need to broadcast from the same web cam at the same time in parallel

both to pc windows web browsers and mobile web browsers.

The important point is to pc windows web browsers i need to broadcast

using only rmtp (http live streaming is not Considerble...)

and to mobile web browsers using http live streaming

So the question is what is the best way to broadcast live from the same web cam

at the same time in parallel in those to methods?

is it possible in one net conection or i must open one for each?

is it to one livepkgr apliction or each method

is to different madia server aplication?

thanks

cheinan

This topic has been closed for replies.

1 reply

Adobe Employee
December 5, 2012

See you can publish single stream to AMS and that same stream can be recorded in f4f format by livepkgr and can be avaliable for all RTMP live, HDS and HLS. The only problem in your case might come if you use case revolves around Flash Player publishing the web cam feed. FP allows only Nellymoser and Speex and right now AMS cannot transcode them and audio needs to be in AAC or MP3 format for http streaming. Can you confirm how do you plan to publish your live feed?

cheinanAuthor
Known Participant
December 5, 2012

Thanks for your reply

i am publishing the live feed from flash player but the sound is not so important (hope one day soon flash player will support it...)

the question is if i publish stream to livepkgr how can i play the stream in RTMP in flash player in viewer side? for example

this is how i publish:

var h264Settings:H264VideoStreamSettings = new H264VideoStreamSettings();

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

h264Settings.setMode(320, 240, 16);

h264Settings.setKeyFrameInterval(4);

out_netStream.videoStreamSettings = h264Settings;

out_netStream.publish("livestream?adbe-live-event=eventID", "live");

And in the flash player RTMP viewer i try:

in_netStream.play("eventID");

and its not working

What i have to write here?

in_netStream.play("???");

thanks

cheinan

Adobe Employee
December 6, 2012

For RTMP MBR please read this document to understand how it works you can refer here: http://help.adobe.com/en_US/adobemediaserver/devguide/WS5b3ccc516d4fbf351e63e3d11a0773d56e-7feaDev.2.3.html

But i don't think you have to build your own player - if you have StrobeMediaPlayback player or any other OSMF based player - you should be able to play RTMP as well HDS using same player.