Jump to content
  • 0

iOS Conference Publish from background


Yury Grinenko
 Share

Question

Hi guys

I have an issue with stream publishing in conference call from background. 
When application is not running, device is locked, and incoming call arrives, CallKit offers to join the call. User accepts call. Application starts running in the background. "Under the hood" application successfully joins the room, starts playing streams in the room (user can hear all participants, so audio session is configured and works). But there is a problem with publishing. Application sends `publish` command, receives `start`, `offer`-`answer` communication takes place, but it never receives `publish_started` command. And after about 15 seconds in the call it leaves the room. Remote participants do not receive any remote stream from this device. During this time period user may open the application (by tap on Video button) and it successfully starts publishing. I experience the same issue with conference calls on iOS simulator in foreground app state - it never starts publishing.
However, in the foreground this flow works perfect. In the logs I can see the same commands as in background, but at the end of "offer-answer" communications in foreground client receives "publish_started" command.
Also, p2p calls works perfect both in background and foreground states.

Thanks
Link to comment
Share on other sites

  • Answers 0
  • Created
  • Last Reply

Top Posters For This Question

Popular Days

Top Posters For This Question

Popular Days

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share


×
×
  • Create New...