Skip to main content
Known Participant
June 14, 2020
Question

Since AIR 32 is a live chat, if bufferTime is set to 0 seconds, performance will drop and the applic

  • June 14, 2020
  • 0 replies
  • 127 views

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.

https://community.adobe.com/t5/air/urgent-instabilities-with-two-way-audio-on-ios-app-when-upgraded-to-air30/m-p/10028138?page=1


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);
}
}

This topic has been closed for replies.