I am receiving a push through "incomingPushResultForChannelManager" of Push to talk Framework and setting a remote participant through "pushResultForActiveRemoteParticipant" or setting a remote participant using "setActiveRemoteParticipant" directly in the PTT App without receiving a push.
When the app establishes a remote participant on a channel, an Audio Session is started anew and will receive an active Audio Session.
The problem is that the time to activate this Audio Session is not short.
For this reason, there are many cases where the first part of the other party's voice passes without being played.
Also, if the app is running in the foreground, even if it doesn't acquire a new audio session, it can play the voice through the app's own audio session. However, by restarting the Audio Session, the Audio Session is changed unnecessarily and the voice playback is delayed.
Question. Can I set the Audio Session to not change when setting the remote participant's information?
If this is not possible, please advise on a solution for the case where the audio session is activated after the voice starts to be received.
Enhance voice communication with Push to Talk
RSS for tagDiscuss the WWDC22 Session Enhance voice communication with Push to Talk
Posts under wwdc2022-10117 tag
3 Posts
Sort by:
Post
Replies
Boosts
Views
Activity
Hello,
Do you recommend to use Push to Talk for Voip apps ?
I was just watching the Enhance voice communication with Push To Talk WWDC22 session video and was wondering (a few questions) --
(1) (when) will you be making the demo app available that was shown at the beginning of the video?
(2) There was some detail given regarding the new APNs push type ("pushtotalk"), but it was unclear to me if that's something I need to handle manually, or if those will be sent automatically when I do channelManager.requestBeginTransmitting?
(3) How does the audio data itself get routed around? Is that handled by the system between the requestBeginTransmitting and stopTransmitting calls? Or somehow part of the APNs payload? Or something we must handle?
Thank you!
thanks!!