Inconsistent DOM attributes for local screen share stream #29260
Labels
Client
This issue points to a problem in the data-plane of the library.
Communication - Calling Server
Communication
customer-reported
Issues that are reported by GitHub users external to the Azure organization.
question
The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Describe the bug
Local screen share stream appended to the DOM via the typical
new VideoStreamRenderer
andrenderer.createView
methods does not receive any of the typical attributes that local non-screen share streams or remote streams (whether video or screen share) get. This includes attributes likeplaysinline
ordisablepictureinpicture
or - most importantly - thestyle="width: 100%; height: 100%; object-fit: contain;"
To Reproduce
Steps to reproduce the behavior:
Expected behavior
a view created via the VideoStreamRenderer has consistent styling and attributes (where appropriate) regardless of whether its local or remote, and regardless of its mediaStreamType.
Screenshots
Local screen share resulting from
createView
The same screen share in the same session, viewed by another user (which is seeing it as a remote stream)
Additional context
Initially observed when accessing the local screen share track via
call.localScreenSharingStream
and when accessing the remote screen share track viacall.remoteScreenSharingStream
The text was updated successfully, but these errors were encountered: