Bug 261596

Summary: When using RTCPeerConnection.getStats, cannot get mediaType in Safari 17
Product: WebKit Reporter: shuming <ltsg0317>
Component: WebRTCAssignee: Nobody <webkit-unassigned>
Status: RESOLVED CONFIGURATION CHANGED    
Severity: Normal CC: maojie0924, youennf
Priority: P2    
Version: Safari 17   
Hardware: Unspecified   
OS: macOS 13   

shuming
Reported 2023-09-15 01:10:20 PDT
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
youenn fablet
Comment 1 2023-09-15 01:16:00 PDT
Can you use kind instead of mediaType? See https://developer.chrome.com/blog/getstats-migration/
Mao, Jie
Comment 2 2023-09-19 00:40:11 PDT
(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
Note You need to log in before you can comment on or make changes to this bug.