mirror of
https://github.com/mollyim/webrtc.git
synced 2025-05-12 21:30:45 +01:00

The spec for these are at https://w3c.github.io/webrtc-stats/#dom-rtcinboundrtpstreamstats-powerefficientdecoder and https://w3c.github.io/webrtc-stats/#dom-rtcinboundrtpstreamstats-powerefficientdecoder These stats are based on the is_hardware_accelerated boolean in both the DecoderInfo and EncoderInfo structs. Bug: webrtc:14483 Change-Id: I4610da3c6ae977f5853a3b3424d91d864fe72592 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/274409 Reviewed-by: Erik Språng <sprang@webrtc.org> Commit-Queue: Evan Shrubsole <eshr@webrtc.org> Reviewed-by: Henrik Boström <hbos@webrtc.org> Cr-Commit-Position: refs/heads/main@{#38441}
20 lines
747 B
C++
20 lines
747 B
C++
/*
|
|
* Copyright (c) 2018 The WebRTC project authors. All Rights Reserved.
|
|
*
|
|
* Use of this source code is governed by a BSD-style license
|
|
* that can be found in the LICENSE file in the root of the source
|
|
* tree. An additional intellectual property rights grant can be found
|
|
* in the file PATENTS. All contributing project authors may
|
|
* be found in the AUTHORS file in the root of the source tree.
|
|
*/
|
|
|
|
#include "modules/video_coding/include/video_coding_defines.h"
|
|
|
|
namespace webrtc {
|
|
|
|
void VCMReceiveCallback::OnDroppedFrames(uint32_t frames_dropped) {}
|
|
void VCMReceiveCallback::OnIncomingPayloadType(int payload_type) {}
|
|
void VCMReceiveCallback::OnDecoderInfoChanged(
|
|
const VideoDecoder::DecoderInfo&) {}
|
|
|
|
} // namespace webrtc
|