Expand my Community achievements bar.

Audio is not working in IOS Devices

Avatar

Level 1

Hi,

We have developed a small application using Adobe LiveCycle Collaboration API in AIR 2.6. we are facing an issue with audio in IOS devices ( Not able to hear ) but working fine in desktop.

Any help would be greatly apperciated.

Thanks
Siva Kumar
7 Replies

Avatar

Former Community Member

Hi Siva,

Are other features of LCCS working on the device?

nigel

Avatar

Former Community Member

Hi Siva,

In your method where you start publishing the audio, could you try this :

protected function startPublish():void

{

myAudioPublisher.codec = SoundCodec.NELLYMOSER;

myAudioPublisher.publish();

}

nigel

Avatar

Level 3

I am able to publish with no problem from an iOS (iPhone4) device, simply by using audioPub.publish().

But, my problem is I cannot get published audio from other clients to play on an the iOS device.  The ios app publishes fine to other swf and Air clients, but, there appears to be no sound coming to the device, I'm using this code:


if ( p_evt.currentTarget.label == "Start My Audio" ) {

if (!audioPub.isPublishing) {
audioPub.publish();
audioSub.subscribe();
}

p_evt.currentTarget.label = "Stop My Audio" ;
} else if (p_evt.currentTarget.label == "Stop My Audio" ){
audioPub.stop();
audioSub.close();
p_evt.currentTarget.label = "Start My Audio" ;
}

<fx:Declarations>
<rtc:AudioPublisher id="audioPub" connectSession="{this.connectSession}" useEchoSuppression="true" />
<rtc:AudioSubscriber id="audioSub" connectSession="{this.connectSession}" />
</fx:Declarations>

I am able to receive video to the iOS device with no problem (a beautiful thing!) in the same apps.

Any ideas why the sound isn't being recieved/pushed to the ios speakers?  I know it's being received by the service (other client's hear it).  I'm using the latest 4.5 prerelease build (i6 drop 2), using lccsFlash.swc from 10.1 api,

Thanks,
David

Avatar

Former Community Member

Hi David,

Did you try the suggestion in my last post?

nigel

Avatar

Level 3

Nigel:

Changed the publisher to add code, no change, still no sound on the iPhone.  From the iPhone to the subscriber sounds great.

  <rtc:AudioPublisher id="audioPub" height="0" connectSession="{this.connectSession}" codec="{SoundCodec.NELLYMOSER}" useEchoSuppression="true" />

David

Avatar

Former Community Member

Just to make sure - you changed the codec on the publisher outside the

phone, not the one on the phone, correct? The report I'm hearing is that the

packager had some intermittent bugs decoding Speex, so if the publisher

sending to the iPhone is using Speex (which is the default), you may hit

issues.

thanks

nigel

Avatar

Level 3

I added the codec change on the publisher (non-iOS) side.