webrtc-stats icon indicating copy to clipboard operation
webrtc-stats copied to clipboard

RTCVideo*Stats: Video Device Errors

Open aboba opened this issue 5 years ago • 4 comments

Currently statistics relating to video tracks do not measure video device errors, such as:

o Video Camera: Count of frames dropped due to wrong format received o Video Camera: Count of frames dropped due to pipeline not ready o Video Camera: Count of frames dropped due unexpected conditions o Video Camera: Overall delay due to camera opening including retries

aboba avatar Apr 15 '19 19:04 aboba

Where is this measured? between the camera and the encoder?

vr000m avatar Apr 16 '19 18:04 vr000m

Seems out of scope to me, unless we're planning a getStats API in mediacapture. See https://github.com/w3c/webrtc-stats/issues/429#issuecomment-483694795

jan-ivar avatar Apr 16 '19 20:04 jan-ivar

Can we split these up into...

  • Device errors (mediacapture issue?).
  • Error where the RTCRtpSender / encoder / packetizer isn't getting what it expects (webrtc-stats issue).
  • Error where the RTCRtpReceiver isn't getting what it is expecting, i.e. packets discarded or decode failures (webrtc-stats).

henbos avatar Apr 17 '19 13:04 henbos

@aboba Is this something you "want" to talk about at TPAC?

henbos avatar Aug 29 '19 16:08 henbos