Pratik Bansode Posted November 27, 2020 Share Posted November 27, 2020 Use Case- - Start conference call - Put the device in the background mode - disabled my view to the remote users and then exit from the meeting - when I enter in foreground the app is going on but all remote view/users are fridged and I am not showing in the meeting nor in the conference call. -- Background mode enabled - background fetch, audio,Airplay and picture in picture. Thanks, Pratik. Link to comment Share on other sites More sharing options...
0 Tahir Posted December 2, 2020 Share Posted December 2, 2020 Hi, Sorry for the late reply, Our iOS app disconnects if it goes to the background mode, if you don't close this; override func viewWillDisappear(_ animated: Bool) { self.client.stop() } It may not disconnect, however, it needs work on the lifecycle if you do that. If you can state your expectation from the app as how it should work for you, we can think of something. Thanks Tahir Link to comment Share on other sites More sharing options...
0 Pratik Bansode Posted December 2, 2020 Author Share Posted December 2, 2020 Hi,i already did that below is my code in viewwilldisappear. open override func viewWillDisappear(_ animated: Bool) { self.publisherClient?.stop() for client in playerClients { client.playerClient.stop(); conferenceClient.leaveRoom() } } Link to comment Share on other sites More sharing options...
0 Pratik Bansode Posted December 4, 2020 Author Share Posted December 4, 2020 Hi, I have one more issue related to deallocating the AntMedia object which is initialized during initiate the video and audio call. can you please suggest me which method I need to use for deallocating the AntMedia object when local use disconnect the call. Thanks, Pratik. Link to comment Share on other sites More sharing options...
0 Tahir Posted December 7, 2020 Share Posted December 7, 2020 Hello, when I enter in foreground the app is going on but all remote view/users are fridged and I am not showing in the meeting nor in the conference call. This is normal since you leaved the room in the code snippet. Frankly I am having hard time to understand your expectation from the program. Can you use the below format to explain your expected behaviour and steps to produce it. Stop method deallocates the object, isn't it? ### Steps to reproduce 1. 2. 3. ### Expected behavior __Put as much detail here as possible__ ### Actual behavior Link to comment Share on other sites More sharing options...
0 Pratik Bansode Posted December 22, 2020 Author Share Posted December 22, 2020 hello this issue is resolved. Thanks. Pratik Link to comment Share on other sites More sharing options...
Question
Pratik Bansode
Use Case-
Link to comment
Share on other sites
Top Posters For This Question
4
2
Popular Days
Dec 2
2
Dec 22
1
Nov 27
1
Dec 4
1
Top Posters For This Question
Pratik Bansode 4 posts
Tahir 2 posts
Popular Days
Dec 2 2020
2 posts
Dec 22 2020
1 post
Nov 27 2020
1 post
Dec 4 2020
1 post
5 answers to this question
Recommended Posts