screen sharing stops in background

Hi,

I need to have help implementing screen sharing service within my application.

Within my application users can create video call sessions, and they can switch to screen share. So far it works well.

However when user A puts the app in background to show his home page or any other app to his friend (User B), screen sharing stops and gives a black screen to user B instead.

Please advise how I could resolve it.


Cheers,

screen sharing stops in background
 
 
Q