Copy link to clipboard
Copied
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
Copy link to clipboard
Copied
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?
Copy link to clipboard
Copied
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
Copy link to clipboard
Copied
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...
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.
Copy link to clipboard
Copied
I asked a very very simple question please i am begging read carefuly what
i asked look deep at the tiny semple code i wrote and try to do an effort to answer to whet i asked:
when live cam stream to livepkgr:
out_netStream.publish("livestream?adbe-live-event=eventID", "live");
do livepkgr cen broadcast this stream at the same time in parallel both in
RTMP and in HTTP live streaming? (just ansower in - yes or no).
And if yes when i try to see the RTMP stream at the browser swf viewr side
What i have to write here?
in_netStream.play("???"); (just write whet have to be insted of the - ???).
big thanks for your consideration
cheinan
Copy link to clipboard
Copied
YES
livestream for livestream
livestream1 for livestream%i
.
.
.
livestreamN for livestream%i
N is the maximum number of streams you are sending. I think you have asked this in another thread.