//
//  RTCXDataChannelClient.h
//  RTCXMedia
//
//  Created by Apple on 2025/9/17.
//

#import <Foundation/Foundation.h>
#import <RTCXMedia/RTCXDataChannelProtocol.h>
#import <RTCXMedia/RTCXDataChannelDelegate.h>
#import <RTCXMedia/RTCXDataChannelModel.h>
NS_ASSUME_NONNULL_BEGIN

@interface RTCXDataChannelClient : NSObject<RTCXDataChannelProtocol>
@property (nonatomic, strong) RTCXDataChannelReq *req;
@property (nonatomic, assign) BOOL isConnected;//DataChannel是否已连接
@property (nonatomic, weak) id<RTCXDataChannelDelegate>delegate;
/**
 初始化RTCXDataChannelClient实例对象
 
 @param req 请求参数
 */
- (instancetype)initWithDataChannelReq:(RTCXDataChannelReq *)req;

@end

NS_ASSUME_NONNULL_END
