New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Screen Share and render shared screen [iOS] #27
Comments
There is no special handling required to render screen share on iOS. You will get a HMSVideoTrack just like for regualr video, and the track |
This does not look screen share specific to me. Seems like this is due to improper configuration of UIDiffableDataSource cant tell more without looking at the code. |
@gzerad I'm using
|
UIDiffableDataSource needs all the elements to be unique, if you are using HMSPeer instead of HMSViewModel you need to make sure that single HMSPeer can't be added twice. The default behavior of HMSDataSource is to create a HMSViewModel for each video track that HMSPeer is currently publishing. So if you just loop over and extract HMSPeer you will get that peer two times in case peer is sharing both video and screen tracks. |
Also I have noticed that you are trying to manually mute some users. Using "roles" might work better for you, see this guide for reference. |
@gzerad Regarding filter, I am doing some filtering based on firebase data which we set for different purpose and based on that I am filtering data. I first tried to do that using |
@gzerad How to render a screen share cell in to mobile? |
@BhavinBhadani a screen share is akin to any other video track. Set it to an instance of HMSVideoView. A screen share track comes in as an You can get this either from the Ensure to set |
@gzerad When we rotate spectators, the video view hangs and sometimes displays a black screen when rotating from landscape to portrait. Do you know how to resolve it? |
I am trying to figure out how can I display screen shared by web app to my device as I don't find anything into doc and it just crashed in iOS app when it shared from web app?. The other question is when can we expect screen share feature from iOS side as well?
The text was updated successfully, but these errors were encountered: