Playing Audio

So I have successfully triggered a PTT notification, but when I try to play audio – any audio – it doesn't play. Seems to be an issue with initiating my AVAudioSession. If I do not initiate it, the sound plays (outside of the didActivateAudioSession; such as on view did load), so I know that it's not the audio playing code.

For some reason, the AVAudioSession is not allowing me to play sound. Even when I put "PlayandRecord" and when I put "mix" in the options

Hi,

Did you also add the Audio background mode? (This is required.)

Also, make sure your audio session is configured so that it MixesWithOthers.

Hi,

Can you please post the sample code of using ptt framework ? and steps on the server side followed to get ptt notification

Playing Audio
 
 
Q