mirror of
https://github.com/mollyim/webrtc.git
synced 2025-05-13 13:50:40 +01:00

while suboptimal, these implementions are complete and allow to swap code from using RtpDepacketizer interface to VideoRtpDepacketizer Bug: webrtc:11152 Change-Id: Ie7823feeb5b0563b74754255aaedfada9d446ac5 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/161380 Reviewed-by: Philip Eliasson <philipel@webrtc.org> Commit-Queue: Danil Chapovalov <danilchap@webrtc.org> Cr-Commit-Position: refs/heads/master@{#30031}
26 lines
871 B
C++
26 lines
871 B
C++
/*
|
|
* Copyright (c) 2019 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 MODULES_RTP_RTCP_SOURCE_CREATE_VIDEO_RTP_DEPACKETIZER_H_
|
|
#define MODULES_RTP_RTCP_SOURCE_CREATE_VIDEO_RTP_DEPACKETIZER_H_
|
|
|
|
#include <memory>
|
|
|
|
#include "api/video/video_codec_type.h"
|
|
#include "modules/rtp_rtcp/source/video_rtp_depacketizer.h"
|
|
|
|
namespace webrtc {
|
|
|
|
std::unique_ptr<VideoRtpDepacketizer> CreateVideoRtpDepacketizer(
|
|
VideoCodecType codec);
|
|
|
|
} // namespace webrtc
|
|
|
|
#endif // MODULES_RTP_RTCP_SOURCE_CREATE_VIDEO_RTP_DEPACKETIZER_H_
|