blob: 20ceecc188c6d07c4264176e66c83cb86181e922 [file] [log] [blame]
magjeddd407022016-12-01 00:27:27 -08001/*
2 * Copyright (c) 2016 The WebRTC project authors. All Rights Reserved.
3 *
4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree.
9 */
10
11#ifndef WEBRTC_MEDIA_ENGINE_INTERNALDECODERFACTORY_H_
12#define WEBRTC_MEDIA_ENGINE_INTERNALDECODERFACTORY_H_
13
14#include <vector>
15
16#include "webrtc/media/engine/webrtcvideodecoderfactory.h"
17
18namespace cricket {
19
20class InternalDecoderFactory : public WebRtcVideoDecoderFactory {
21 public:
22 InternalDecoderFactory();
23 virtual ~InternalDecoderFactory();
24
25 // WebRtcVideoDecoderFactory implementation.
26 webrtc::VideoDecoder* CreateVideoDecoder(
27 webrtc::VideoCodecType type) override;
28
29 void DestroyVideoDecoder(webrtc::VideoDecoder* decoder) override;
30};
31
32} // namespace cricket
33
34#endif // WEBRTC_MEDIA_ENGINE_INTERNALDECODERFACTORY_H_