Quantcast
Channel: Adobe Community : All Content - AIR Development
Viewing all articles
Browse latest Browse all 2954

How to use H264 video codec over RTMP live encoding on Android?

$
0
0

Code  ( Flash builder 4.7, Air 3.8 on Android/Desktop )

---------------------------------------------------------------------- ------

ns_out = new NetStream(nc);

ns_out.attachCamera(cam);

ns_out.attachAudio(Microphone.getMicrophone() );

 

var h264Settings:H264VideoStreamSettings = new H264VideoStreamSettings();

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

ns_out.videoStreamSettings = h264Settings;

ns_out.publish("mp4:test", "live");

---------------------------------------------------------------------- ------

 

Video codec is H264  over RTMP on Desktop enviroment, but on Android it's SPARK!!

How to use H264 video codec over RTMP live encoding ?

I'd like to make live endcoder on Android.


Viewing all articles
Browse latest Browse all 2954

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>