WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED DUPLICATE of
bug 269961
270628
black borders appears for screen sharing
https://bugs.webkit.org/show_bug.cgi?id=270628
Summary
black borders appears for screen sharing
shuming
Reported
2024-03-07 02:08:04 PST
Steps to reproduce the problem: const stream = await navigator.mediaDevices.getDisplayMedia({ video: { width: "700", height: "400" },, audio: false, }); const screenTrack = stream.getVideoTracks()[0]; // $("localVideo") === video tag $("localVideo").srcObject = new MediaStream([screenTrack]); $("localVideo").play(); Safari version: >= 16.3.1 OS Version: 14.3.1 (23D60) demo:
https://jsfiddle.net/ltsg0317/tuvb6Lyq/1/
pic:
https://res.cloudinary.com/dhx2zug13/image/upload/v1709806033/webkit/screenshare_zdb2ou.png
Attachments
Add attachment
proposed patch, testcase, etc.
Ahmad Saleem
Comment 1
2024-03-07 20:01:40 PST
I am able to reproduce this bug using Safari 17.4 on macOS Sonoma 17.4 and it shows Black Border around Screen while Chrome Canary 124 works without any issue and don't have any black border (more of mismatch in aspect ration like playing 16:10 or 4:3 on 16:9 screen).
Ahmad Saleem
Comment 2
2024-03-07 20:02:55 PST
(In reply to Ahmad Saleem from
comment #1
)
> I am able to reproduce this bug using Safari 17.4 on macOS Sonoma 17.4 and > it shows Black Border around Screen while Chrome Canary 124 works without > any issue and don't have any black border (more of mismatch in aspect ration > like playing 16:10 or 4:3 on 16:9 screen).
Also reproducible on Safari Technology Preview 190.
Radar WebKit Bug Importer
Comment 3
2024-03-14 03:09:13 PDT
<
rdar://problem/124607137
>
youenn fablet
Comment 4
2024-03-14 03:39:28 PDT
Also might need
https://bugs.webkit.org/show_bug.cgi?id=270568
. *** This bug has been marked as a duplicate of
bug 269961
***
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug