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
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