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.

Home Page:https://chatmosphere.cc/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Align how desktop stream is handled on remoteUsers and localUser

dkgrieshammer opened this issue · comments

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