blob: 33ba40bcf7fcd4c4e3477afa88fa709d963f130d [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 "RTCRtpReceiver.h"
12
13#include "api/crypto/framedecryptorinterface.h"
14
15NS_ASSUME_NONNULL_BEGIN
16
17/**
18 * This class extension exposes methods that work directly with injectable C++ components.
19 */
20@interface RTCRtpReceiver ()
21
22/** Sets a user defined frame decryptor that will decrypt the entire frame.
23 * This will decrypt the entire frame using the user provided decryption
24 * mechanism regardless of whether SRTP is enabled or not.
25 */
26- (void)setFrameDecryptor:(rtc::scoped_refptr<webrtc::FrameDecryptorInterface>)frameDecryptor;
27
28@end
29
30NS_ASSUME_NONNULL_END