matthme / presence

Peer-to-Peer Privacy-Preserving Video Calls leveraging Holochain
2 stars 0 forks source link

Sharing screen provides non-relevant options #10

Open stephenpurkiss opened 1 month ago

stephenpurkiss commented 1 month ago

Problem/Motivation

When sharing the screen, it provides options that aren't relevant, including icons. Apparently this might be a Mac thing, so posting screenshot here.

Steps to reproduce

Use a Mac. Use Moss. Use Presence. Choose Life, etc.

Screenshot 2024-10-03 at 21 03 32
matthme commented 1 month ago

Thanks! Haven't seen this on Linux, will try to investigate.

stephenpurkiss commented 1 month ago

I think you mean GNU/Linux

🤣

matthme commented 1 month ago

This is quite peculiar. I did try to reproduce it (except the "Choose life" part - how the heck did I end up on this planet?!? 😛) on macOS 10.15 with no avail. Moss is only showing there what it gets from the operating system and your operating system seems to return funny things. If you check the console inside of this screen selection window (Right Click > Inspect Element) it should have logged an array containing all the media sources that the OS returned. Moss is filtering out all the ones whose id do not start with screen: or window:. I'm wondering whether there's a pattern beyond that which would distinguish the funky ones from the useful ones, based on which Moss could do additional filtering? If you can see any such potential pattern let me know.

stephenpurkiss commented 1 week ago

Hmm... only just noticed this so apologies for the delay! I just had a quick look and not sure what you mean by "id" - here's an icon for example:

Image 23-10-2024 at 18 47

stephenpurkiss commented 1 week ago

...this is the sources tab but I'm not sure where to go from here to find that array

Image 23-10-2024 at 18 53