Files
platform-external-webrtc/webrtc/media/engine/internalencoderfactory.h
magjed c1a8974ebd WebRtcVideoEncoderFactory cleanup
Remove some deprecated functions.

BUG=webrtc:6402

Review-Url: https://codereview.webrtc.org/2859223003
Cr-Commit-Position: refs/heads/master@{#18116}
2017-05-12 07:24:40 +00:00

38 lines
1.2 KiB
C++

/*
* Copyright (c) 2016 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.
*/
#ifndef WEBRTC_MEDIA_ENGINE_INTERNALENCODERFACTORY_H_
#define WEBRTC_MEDIA_ENGINE_INTERNALENCODERFACTORY_H_
#include <vector>
#include "webrtc/media/engine/webrtcvideoencoderfactory.h"
namespace cricket {
class InternalEncoderFactory : public WebRtcVideoEncoderFactory {
public:
InternalEncoderFactory();
virtual ~InternalEncoderFactory();
// WebRtcVideoEncoderFactory implementation.
webrtc::VideoEncoder* CreateVideoEncoder(
const cricket::VideoCodec& codec) override;
const std::vector<cricket::VideoCodec>& supported_codecs() const override;
void DestroyVideoEncoder(webrtc::VideoEncoder* encoder) override;
private:
std::vector<cricket::VideoCodec> supported_codecs_;
};
} // namespace cricket
#endif // WEBRTC_MEDIA_ENGINE_INTERNALENCODERFACTORY_H_