1 /* 2 * Copyright 2022 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 #include "api/frame_transformer_factory.h" 12 13 #include "modules/rtp_rtcp/source/rtp_sender_video_frame_transformer_delegate.h" 14 15 namespace webrtc { 16 CreateVideoSenderFrame()17std::unique_ptr<TransformableVideoFrameInterface> CreateVideoSenderFrame() { 18 RTC_CHECK_NOTREACHED(); 19 return nullptr; 20 } 21 CreateVideoReceiverFrame()22std::unique_ptr<TransformableVideoFrameInterface> CreateVideoReceiverFrame() { 23 RTC_CHECK_NOTREACHED(); 24 return nullptr; 25 } 26 CloneVideoFrame(TransformableVideoFrameInterface * original)27std::unique_ptr<TransformableVideoFrameInterface> CloneVideoFrame( 28 TransformableVideoFrameInterface* original) { 29 // At the moment, only making sender frames from receiver frames is supported. 30 return CloneSenderVideoFrame(original); 31 } 32 33 } // namespace webrtc 34