Video Issues on iOS (missing audio)
The following plays properly on iPhone X and Android
Video is OK but the audio is missing on: iPhone 5S, iPhone 7+, iPhone 8+ (no other iPhone tested)
Testing using ffmpeg encode settings:
mp4 | libfdk_aac | 128000 | 44100 | libx264 | 1200000 | 1024x768 |
protected function test_triggeredHandler(event:Event):void
{
vidClient = new Object();
vidClient.onMetaData = onMetaData;
nc = new NetConnection();
nc.connect(null);
ns = new NetStream(nc);
ns.addEventListener(NetStatusEvent.NET_STATUS, onNetStatus);
ns.client = vidClient;
videoTexture=Texture.fromNetStream(ns , Starling.current.contentScaleFactor , onTextureComplete)
ns.play("https://somevideo.mp4");
}
private function onTextureComplete():void
{
videoImage = new Image(videoTexture)
this.addChild(videoImage)
}
private function onMetaData():void
{
trace('on net onMetaData');
}
private function onNetStatus(event:NetStatusEvent):void
{
trace('on net status');
}
I also found a test stream that you can use to reproduce the issue described above: https://content.jwplatform.com/manifests/yp34SRmf.m3u8
Taken from here: https://developer.jwplayer.com/tools/stream-tester/?playerversion=7
