Chatmosphere / chatmosphere-app

We are a small group of friendly humans working on an open source project to make informal video calls more fun and dynamic.
https://chatmosphere.cc/
Other
161 stars 40 forks source link

Align how desktop stream is handled on remoteUsers and localUser #120

Closed dkgrieshammer closed 2 years ago

dkgrieshammer commented 2 years ago

currently there are audio, video & desktop streams in User Type - this works fine for local user but since jitsi allows only one video stream on users (which gets replaced), it would make more sense to have an audio and video stream in the IUser Object and a videoType property (string) that reflects Jitsi's videoType property. LocalUser would check if it's set (which it is not in the beginning, what ever devs where thinking there) and if it's set to desktop, then show desktop-sharing window - otherwise show camera video element.

Currently investigating this, using these deeply nested properties is a little painful