blob: b39a8e2167f58a3035b98a104e31582723710fa0 [file] [log] [blame]
* Copyright (c) 2013 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 "webrtc/modules/video_coding/codecs/interface/video_codec_interface.h"
#include "webrtc/frame_callback.h"
namespace webrtc {
namespace internal {
class EncodedFrameCallbackAdapter : public EncodedImageCallback {
explicit EncodedFrameCallbackAdapter(EncodedFrameObserver* observer);
virtual ~EncodedFrameCallbackAdapter();
virtual int32_t Encoded(const EncodedImage& encodedImage,
const CodecSpecificInfo* codecSpecificInfo,
const RTPFragmentationHeader* fragmentation);
EncodedFrameObserver* observer_;
} // namespace internal
} // namespace webrtc