[Webkit-unassigned] [Bug 240335] New: set `MediaStreamTrack enbaled = false` cause Aplication crash in iOS Safari 15.1

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu May 12 02:07:53 PDT 2022


https://bugs.webkit.org/show_bug.cgi?id=240335

            Bug ID: 240335
           Summary: set `MediaStreamTrack enbaled = false` cause
                    Aplication crash in iOS Safari 15.1
           Product: WebKit
           Version: Safari 15
          Hardware: iPhone / iPad
                OS: iOS 15
            Status: NEW
          Severity: Major
          Priority: P2
         Component: WebRTC
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: rantarn0326 at gmail.com
                CC: youennf at gmail.com

# Overview
When using WebRTC connection, MediaStreaemTrack(video) enabled option cause application crash

## steps to reproduce
device A: iOS Safari
device B: Any(ChromeM101 on Mac and iPadOS(unknown version) was tested)

1. (device A&B) visit https://yasubaba.github.io/prodSkyWay/room_videoMute/
2. (device A&B) Accept permissions for camera and microphone.
3. join Room and start WebRTC Connection.
4. (device A) click `Video Mute/Unmute` 
5 (device A) iOS Safari crashed.


The mute procedure is very simple as follows
```
document.getElementById('js-videoEnabled').addEventListener('click', () => {
  localStream.getVideoTracks().forEach( track => {
    track.enabled = !track.enabled;
  });
})
```


## Actual Results
iOS Safari always crash.

## Expected Results
No error occurs.

## Hardware
iPhone12 iOS15.1


I prepared safari crash log, but i don't know how to share with you.
I can prepare google Drive URL, but I am not sure if it is okay to keep the crash log in a publicly visible location.
If you need crash log, please tell me how to share.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220512/19cb8965/attachment.htm>


More information about the webkit-unassigned mailing list