首次提交
This commit is contained in:
41
Pods/AgoraRtcEngine_Special_iOS/AgoraReplayKitExtension.xcframework/Info.plist
generated
Normal file
41
Pods/AgoraRtcEngine_Special_iOS/AgoraReplayKitExtension.xcframework/Info.plist
generated
Normal file
@@ -0,0 +1,41 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>AvailableLibraries</key>
|
||||
<array>
|
||||
<dict>
|
||||
<key>LibraryIdentifier</key>
|
||||
<string>ios-arm64_armv7</string>
|
||||
<key>LibraryPath</key>
|
||||
<string>AgoraReplayKitExtension.framework</string>
|
||||
<key>SupportedArchitectures</key>
|
||||
<array>
|
||||
<string>arm64</string>
|
||||
<string>armv7</string>
|
||||
</array>
|
||||
<key>SupportedPlatform</key>
|
||||
<string>ios</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>LibraryIdentifier</key>
|
||||
<string>ios-arm64_x86_64-simulator</string>
|
||||
<key>LibraryPath</key>
|
||||
<string>AgoraReplayKitExtension.framework</string>
|
||||
<key>SupportedArchitectures</key>
|
||||
<array>
|
||||
<string>arm64</string>
|
||||
<string>x86_64</string>
|
||||
</array>
|
||||
<key>SupportedPlatform</key>
|
||||
<string>ios</string>
|
||||
<key>SupportedPlatformVariant</key>
|
||||
<string>simulator</string>
|
||||
</dict>
|
||||
</array>
|
||||
<key>CFBundlePackageType</key>
|
||||
<string>XFWK</string>
|
||||
<key>XCFrameworkFormatVersion</key>
|
||||
<string>1.0</string>
|
||||
</dict>
|
||||
</plist>
|
||||
Binary file not shown.
@@ -0,0 +1,44 @@
|
||||
//
|
||||
// AgoraSampleHander.h
|
||||
// BroadCastUI
|
||||
//
|
||||
// Created by Agora on 2022/1/25.
|
||||
// Copyright (c) 2022 Agora IO. All rights reserved.
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
#import <ReplayKit/ReplayKit.h>
|
||||
typedef enum {
|
||||
// Failed to connect to the app process, Please call startScreenCapture in the app process.
|
||||
AgoraReplayKitExtReasonConnectFail = 1,
|
||||
// Disconnected from the app process. Please Check the APP process exits or not.
|
||||
AgoraReplayKitExtReasonDisconnect = 2,
|
||||
// Stopped by the user or the app process.
|
||||
AgoraReplayKitExtReasonInitiativeStop = 3,
|
||||
} AgoraReplayKitExtReason;
|
||||
|
||||
@class AgoraReplayKitExt;
|
||||
|
||||
@protocol AgoraReplayKitExtDelegate <NSObject>
|
||||
|
||||
- (void)broadcastFinished:(AgoraReplayKitExt* _Nonnull)broadcast
|
||||
reason:(AgoraReplayKitExtReason)reason;
|
||||
|
||||
@end
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
API_AVAILABLE(ios(11.0))
|
||||
NS_SWIFT_NAME(AgoraReplayKitExt)
|
||||
__attribute__((visibility("default")))
|
||||
@interface AgoraReplayKitExt : NSObject
|
||||
|
||||
+ (instancetype)shareInstance;
|
||||
|
||||
- (void)start:(id<AgoraReplayKitExtDelegate>)delegate;
|
||||
- (void)stop;
|
||||
- (void)resume;
|
||||
- (void)pause;
|
||||
- (void)pushSampleBuffer:(CMSampleBufferRef)sampleBuffer
|
||||
withType:(RPSampleBufferType)sampleBufferType;
|
||||
@end
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
||||
@@ -0,0 +1,15 @@
|
||||
//
|
||||
// AgoraReplayKitExtension.h
|
||||
// AgoraScreenShare
|
||||
//
|
||||
// Created by Agora on 2022/1/25.
|
||||
// Copyright (c) 2022 Agora IO. All rights reserved.
|
||||
|
||||
#ifndef AgoraReplayKitExtension_h
|
||||
#define AgoraReplayKitExtension_h
|
||||
|
||||
#import <AgoraReplayKitExtension/AgoraReplayKitExt.h>
|
||||
#import <AgoraReplayKitExtension/AgoraReplayKitHandler.h>
|
||||
|
||||
|
||||
#endif /* AgoraReplayKitExtension_h */
|
||||
@@ -0,0 +1,14 @@
|
||||
//
|
||||
// SampleHandler.h
|
||||
// BroadCastUI
|
||||
//
|
||||
// Created by Agora on 2022/1/25.
|
||||
// Copyright (c) 2022 Agora IO. All rights reserved.
|
||||
|
||||
#import <ReplayKit/ReplayKit.h>
|
||||
|
||||
API_AVAILABLE(ios(11.0))
|
||||
__attribute__((visibility("default")))
|
||||
@interface AgoraReplayKitHandler : RPBroadcastSampleHandler
|
||||
|
||||
@end
|
||||
Binary file not shown.
@@ -0,0 +1,12 @@
|
||||
framework module AgoraReplayKitExtension {
|
||||
header "AgoraReplayKitExtension.h"
|
||||
module AgoraReplayKitExt {
|
||||
header "AgoraReplayKitExt.h"
|
||||
export *
|
||||
}
|
||||
module AgoraReplayKitHandler {
|
||||
header "AgoraReplayKitHandler.h"
|
||||
export *
|
||||
}
|
||||
export *
|
||||
}
|
||||
Binary file not shown.
@@ -0,0 +1,44 @@
|
||||
//
|
||||
// AgoraSampleHander.h
|
||||
// BroadCastUI
|
||||
//
|
||||
// Created by Agora on 2022/1/25.
|
||||
// Copyright (c) 2022 Agora IO. All rights reserved.
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
#import <ReplayKit/ReplayKit.h>
|
||||
typedef enum {
|
||||
// Failed to connect to the app process, Please call startScreenCapture in the app process.
|
||||
AgoraReplayKitExtReasonConnectFail = 1,
|
||||
// Disconnected from the app process. Please Check the APP process exits or not.
|
||||
AgoraReplayKitExtReasonDisconnect = 2,
|
||||
// Stopped by the user or the app process.
|
||||
AgoraReplayKitExtReasonInitiativeStop = 3,
|
||||
} AgoraReplayKitExtReason;
|
||||
|
||||
@class AgoraReplayKitExt;
|
||||
|
||||
@protocol AgoraReplayKitExtDelegate <NSObject>
|
||||
|
||||
- (void)broadcastFinished:(AgoraReplayKitExt* _Nonnull)broadcast
|
||||
reason:(AgoraReplayKitExtReason)reason;
|
||||
|
||||
@end
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
API_AVAILABLE(ios(11.0))
|
||||
NS_SWIFT_NAME(AgoraReplayKitExt)
|
||||
__attribute__((visibility("default")))
|
||||
@interface AgoraReplayKitExt : NSObject
|
||||
|
||||
+ (instancetype)shareInstance;
|
||||
|
||||
- (void)start:(id<AgoraReplayKitExtDelegate>)delegate;
|
||||
- (void)stop;
|
||||
- (void)resume;
|
||||
- (void)pause;
|
||||
- (void)pushSampleBuffer:(CMSampleBufferRef)sampleBuffer
|
||||
withType:(RPSampleBufferType)sampleBufferType;
|
||||
@end
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
||||
@@ -0,0 +1,15 @@
|
||||
//
|
||||
// AgoraReplayKitExtension.h
|
||||
// AgoraScreenShare
|
||||
//
|
||||
// Created by Agora on 2022/1/25.
|
||||
// Copyright (c) 2022 Agora IO. All rights reserved.
|
||||
|
||||
#ifndef AgoraReplayKitExtension_h
|
||||
#define AgoraReplayKitExtension_h
|
||||
|
||||
#import <AgoraReplayKitExtension/AgoraReplayKitExt.h>
|
||||
#import <AgoraReplayKitExtension/AgoraReplayKitHandler.h>
|
||||
|
||||
|
||||
#endif /* AgoraReplayKitExtension_h */
|
||||
@@ -0,0 +1,14 @@
|
||||
//
|
||||
// SampleHandler.h
|
||||
// BroadCastUI
|
||||
//
|
||||
// Created by Agora on 2022/1/25.
|
||||
// Copyright (c) 2022 Agora IO. All rights reserved.
|
||||
|
||||
#import <ReplayKit/ReplayKit.h>
|
||||
|
||||
API_AVAILABLE(ios(11.0))
|
||||
__attribute__((visibility("default")))
|
||||
@interface AgoraReplayKitHandler : RPBroadcastSampleHandler
|
||||
|
||||
@end
|
||||
Binary file not shown.
@@ -0,0 +1,12 @@
|
||||
framework module AgoraReplayKitExtension {
|
||||
header "AgoraReplayKitExtension.h"
|
||||
module AgoraReplayKitExt {
|
||||
header "AgoraReplayKitExt.h"
|
||||
export *
|
||||
}
|
||||
module AgoraReplayKitHandler {
|
||||
header "AgoraReplayKitHandler.h"
|
||||
export *
|
||||
}
|
||||
export *
|
||||
}
|
||||
Reference in New Issue
Block a user