Expose codec implementation names in stats.
Used to distinguish between software/hardware encoders/decoders and other implementation differences. Useful for tracking quality regressions related to specific implementations. BUG=webrtc:4897 R=hta@webrtc.org, mflodman@webrtc.org, stefan@webrtc.org Review URL: https://codereview.webrtc.org/1406903002 . Cr-Commit-Position: refs/heads/master@{#11084}
This commit is contained in:
@ -62,6 +62,8 @@ class VCMPacketizationCallback {
|
||||
const RTPFragmentationHeader& fragmentationHeader,
|
||||
const RTPVideoHeader* rtpVideoHdr) = 0;
|
||||
|
||||
virtual void OnEncoderImplementationName(const char* implementation_name) {}
|
||||
|
||||
protected:
|
||||
virtual ~VCMPacketizationCallback() {
|
||||
}
|
||||
@ -77,6 +79,7 @@ class VCMReceiveCallback {
|
||||
}
|
||||
// Called when the current receive codec changes.
|
||||
virtual void OnIncomingPayloadType(int payload_type) {}
|
||||
virtual void OnDecoderImplementationName(const char* implementation_name) {}
|
||||
|
||||
protected:
|
||||
virtual ~VCMReceiveCallback() {
|
||||
|
Reference in New Issue
Block a user