blob: f1d951f1c52948ab10a468fca82e5e36ee3ab657 [file] [log] [blame]
Benjamin Wrightddf1a3e2018-10-02 10:20:58 -07001/*
2 * Copyright 2018 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#import "RTCRtpSender.h"
12
13#include "api/crypto/frameencryptorinterface.h"
14
15NS_ASSUME_NONNULL_BEGIN
16
17/**
18 * This class extension exposes methods that work directly with injectable C++ components.
19 */
20@interface RTCRtpSender ()
21
22/** Sets a defined frame encryptor that will encrypt the entire frame
23 * before it is sent across the network. This will encrypt the entire frame
24 * using the user provided encryption mechanism regardless of whether SRTP is
25 * enabled or not.
26 */
27- (void)setFrameEncryptor:(rtc::scoped_refptr<webrtc::FrameEncryptorInterface>)frameEncryptor;
28
29@end
30
31NS_ASSUME_NONNULL_END