#import <Foundation/Foundation.h>

@class RTCRtpReceiver;
@class RTCRtpSender;

NS_ASSUME_NONNULL_BEGIN

/// Objective-C bridge for attaching native WebRTC frame encryptor/decryptor.
@interface WebRTCFrameCryptorBridge : NSObject

+ (BOOL)attachSender:(RTCRtpSender *)sender sharedKey:(NSData *)sharedKey;
+ (BOOL)attachReceiver:(RTCRtpReceiver *)receiver sharedKey:(NSData *)sharedKey;
+ (void)detachSender:(RTCRtpSender *)sender;
+ (void)detachReceiver:(RTCRtpReceiver *)receiver;

@end

NS_ASSUME_NONNULL_END
