publish adaptive bitrate adobe flash
Is it possible to broadcast adaptive bitrate stream from flash As3 ? or I will have to use the "Flash live media encorder".
I am using Adobe Media Server and publishing stream as following
cam = Camera.getCamera();
cam.setQuality(0,100);
cam.setMode(512, 384, 15, true);
mic = Microphone.getMicrophone();
ns = new NetStream(nc);
ns.bufferTime = 1;
ns.attachCamera(cam);
ns.attachAudio(mic);
ns.publish("streamname1", "live");
and generating another connection for andother quality.
camAnd = Camera.getCamera();
camAnd.setQuality(0,70);
camAnd.setMode(256, 192, 15, true);
But it change the quality of both the cam to lower quality.
Also I have tried h264 encording to publish multi-biterate stream.
ns_out = new NetStream( nc );
ns_out.attachCamera( cam );
var h264Settings:H264VideoStreamSettings = new H264VideoStreamSettings();
h264Settings.setProfileLevel( H264Profile.BASELINE, H264Level.LEVEL_1 );
cam.setQuality( 90000, 90 );
cam.setMode( 1280, 720, 30, true );
cam.setKeyFrameInterval( 15 );
ns_out.videoStreamSettings = h264Settings;
ns_out.publish( "1livestream?adbe_live_event=liveevent");
All the documents available on adobe are publishing multiple steams through "Flash media live encorder" but i want to publish it from my own flash as3 application.
Please let me know if there is any doucmentation/tutorial available for this.
Thanks
