Copy link to clipboard
Copied
Hi,
Since AIR 32.0.0.116 is a live chat, if the bufferTime is set to 0 seconds, performance will drop and the application will freeze. There is no problem if it is 0.1 *seconds. AIR 30.0.0.103 has no problems.
*AIR 33.1.1.98 has the same problem.
*I have a problem with AIR for Android. There is no problem with AIR for Desktop.
*The audio codec is speex.
*I publish and play a video in the app.
Google's Play Store requires AIR33, but it can't be improved. in trouble.
*It is very similar to the following article.
Sample code:
------------------------------------------------
nc_r = new NetConnection();
nc_r.connect(Server_url);
nc_r.addEventListener(NetStatusEvent.NET_STATUS, ncOnStatus_r);
function ncOnStatus_r(infoObject:NetStatusEvent){
if (infoObject.info.code == "NetConnection.Connect.Success"){
nsPlay = new NetStream(nc_r);
nsPlay.addEventListener(NetStatusEvent.NET_STATUS, nsPlayOnStatus);
var nsPlayClientObj:Object = new Object();
nsPlay.client = nsPlayClientObj;
nsPlay.bufferTime = 0;
nsPlay.useJitterBuffer=true;
videoresive.attachNetStream(nsPlay);
}
}