Bug 261596 - When using RTCPeerConnection.getStats, cannot get mediaType in Safari 17
Summary: When using RTCPeerConnection.getStats, cannot get mediaType in Safari 17
Status: RESOLVED CONFIGURATION CHANGED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebRTC (show other bugs)
Version: Safari 17
Hardware: Unspecified macOS 13
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-09-15 01:10 PDT by shuming
Modified: 2023-09-19 00:40 PDT (History)
2 users (show)

See Also:


Attachments

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