[Webkit-unassigned] [Bug 178250] New: getStats track type reports do not specify mediaType
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Oct 12 19:33:48 PDT 2017
https://bugs.webkit.org/show_bug.cgi?id=178250
Bug ID: 178250
Summary: getStats track type reports do not specify mediaType
Product: WebKit
Version: Safari 11
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Minor
Priority: P2
Component: WebRTC
Assignee: webkit-unassigned at lists.webkit.org
Reporter: mikeblock at rogers.com
CC: youennf at gmail.com
Track report should specify mediaType as audio or video from RTCPeerConnection.getStats reports. Currently, implementation is generic for both types of tracks, including frame size for audio reports and audioLevel for video reports. See example reports below:
{
"id": "RTCMediaStreamTrack_remote_audio_074ae5b1-2110-46b3-8757-74e33d3ca56d_606564213",
"timestamp": "1507833135052.135",
"type": "track",
"audioLevel": "0.0007019257179479354",
"detached": "false",
"echoReturnLoss": "0",
"echoReturnLossEnhancement": "0",
"ended": "false",
"frameHeight": "0",
"frameWidth": "0",
"framesCorrupted": "0",
"framesDecoded": "0",
"framesDropped": "0",
"framesPerSecond": "0",
"framesReceived": "0",
"framesSent": "0",
"fullFramesLost": "0",
"partialFramesLost": "0",
"remoteSource": "true",
"trackIdentifier": "074ae5b1-2110-46b3-8757-74e33d3ca56d"
},
{
"id": "RTCMediaStreamTrack_remote_video_263a92f5-8de3-41bb-acf4-aadf6356aa99_4012053291",
"timestamp": "1507833135052.135",
"type": "track",
"audioLevel": "0",
"detached": "false",
"echoReturnLoss": "0",
"echoReturnLossEnhancement": "0",
"ended": "false",
"frameHeight": "480",
"frameWidth": "640",
"framesCorrupted": "0",
"framesDecoded": "1802",
"framesDropped": "62",
"framesPerSecond": "0",
"framesReceived": "1802",
"framesSent": "0",
"fullFramesLost": "0",
"partialFramesLost": "0",
"remoteSource": "true",
"trackIdentifier": "263a92f5-8de3-41bb-acf4-aadf6356aa99"
},
--
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/20171013/9f6d2cd9/attachment-0001.html>
More information about the webkit-unassigned
mailing list