Bug 261596
| Summary: | When using RTCPeerConnection.getStats, cannot get mediaType in Safari 17 | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | shuming <ltsg0317> |
| Component: | WebRTC | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED CONFIGURATION CHANGED | ||
| Severity: | Normal | CC: | maojie0924, youennf |
| Priority: | P2 | ||
| Version: | Safari 17 | ||
| Hardware: | Unspecified | ||
| OS: | macOS 13 | ||
shuming
Steps to reproduce the problem:
1、open url : https://jsfiddle.net/ltsg0317/fr054ku9/18/
2、click start and call
3、click getStats and Observation Console
we can see before Safari 17:
outbound-rtp, mediaType audio
outbound-rtp, mediaType video
inbound-rtp, mediaType audio
inbound-rtp, mediaType video
in Safari 17:
outbound-rtp, mediaType undefined
outbound-rtp, mediaType undefined
inbound-rtp, mediaType undefined
inbound-rtp, mediaType undefined
api involved: RTCPeerConnection.getStats
macOS 版本13.4(版号22F66)
Release 171 (Safari 16.4, WebKit 18616.1.15)
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
youenn fablet
Can you use kind instead of mediaType?
See https://developer.chrome.com/blog/getstats-migration/
Mao, Jie
(In reply to youenn fablet from comment #1)
> Can you use kind instead of mediaType?
> See https://developer.chrome.com/blog/getstats-migration/
Is there any place we can get this notification