diff --git a/WebRTC.xcframework/Info.plist b/AntMedia_WebRTC.xcframework/Info.plist
similarity index 78%
rename from WebRTC.xcframework/Info.plist
rename to AntMedia_WebRTC.xcframework/Info.plist
index 6294a8a4..fbe44fe2 100644
--- a/WebRTC.xcframework/Info.plist
+++ b/AntMedia_WebRTC.xcframework/Info.plist
@@ -5,31 +5,35 @@
AvailableLibraries
+ BinaryPath
+ AntMedia_WebRTC.Framework/AntMedia_WebRTC
LibraryIdentifier
- ios-arm64
+ ios-arm64_x86_64-simulator
LibraryPath
- WebRTC.framework
+ AntMedia_WebRTC.framework
SupportedArchitectures
arm64
+ x86_64
SupportedPlatform
ios
+ SupportedPlatformVariant
+ simulator
+ BinaryPath
+ AntMedia_WebRTC.framework/AntMedia_WebRTC
LibraryIdentifier
- ios-arm64_x86_64-simulator
+ ios-arm64
LibraryPath
- WebRTC.framework
+ AntMedia_WebRTC.framework
SupportedArchitectures
arm64
- x86_64
SupportedPlatform
ios
- SupportedPlatformVariant
- simulator
CFBundlePackageType
diff --git a/AntMedia_WebRTC.xcframework/ios-arm64/AntMedia_WebRTC.framework/AntMedia_WebRTC b/AntMedia_WebRTC.xcframework/ios-arm64/AntMedia_WebRTC.framework/AntMedia_WebRTC
new file mode 100755
index 00000000..3576846d
Binary files /dev/null and b/AntMedia_WebRTC.xcframework/ios-arm64/AntMedia_WebRTC.framework/AntMedia_WebRTC differ
diff --git a/AntMedia_WebRTC.xcframework/ios-arm64/AntMedia_WebRTC.framework/Headers/AntMedia_WebRTC.h b/AntMedia_WebRTC.xcframework/ios-arm64/AntMedia_WebRTC.framework/Headers/AntMedia_WebRTC.h
new file mode 100644
index 00000000..10ab34e5
--- /dev/null
+++ b/AntMedia_WebRTC.xcframework/ios-arm64/AntMedia_WebRTC.framework/Headers/AntMedia_WebRTC.h
@@ -0,0 +1,103 @@
+/*
+ * Copyright 2025 The WebRTC project authors. All Rights Reserved.
+ *
+ * Use of this source code is governed by a BSD-style license
+ * that can be found in the LICENSE file in the root of the source
+ * tree. An additional intellectual property rights grant can be found
+ * in the file PATENTS. All contributing project authors may
+ * be found in the AUTHORS file in the root of the source tree.
+ */
+
+#import
+#import
+#import
+#import
+#import
+#import
+#import
+#import
+#import
+#import
+#import
+#import
+#import
+#import
+#import
+#import
+#import
+#import
+#import
+#import
+#import
+#import
+#import
+#import
+#import
+#import
+#import
+#import
+#import
+#import
+#import
+#import
+#import
+#import
+#import
+#import
+#import
+#import
+#import
+#import
+#import
+#import
+#import
+#import
+#import
+#import
+#import
+#import
+#import
+#import
+#import
+#import
+#import
+#import
+#import
+#import
+#import
+#import
+#import
+#import
+#import
+#import
+#import
+#import
+#import
+#import
+#import
+#import
+#import
+#import
+#import
+#import
+#import
+#import
+#import
+#import
+#import
+#import
+#import
+#import
+#import
+#import
+#import
+#import
+#import
+#import
+#import
+#import
+#import
+#import
+#import
+#import
+#import
diff --git a/WebRTC.xcframework/ios-arm64/WebRTC.framework/Headers/RTCAudioDevice.h b/AntMedia_WebRTC.xcframework/ios-arm64/AntMedia_WebRTC.framework/Headers/RTCAudioDevice.h
similarity index 69%
rename from WebRTC.xcframework/ios-arm64/WebRTC.framework/Headers/RTCAudioDevice.h
rename to AntMedia_WebRTC.xcframework/ios-arm64/AntMedia_WebRTC.framework/Headers/RTCAudioDevice.h
index 09d79c8a..1e486f67 100644
--- a/WebRTC.xcframework/ios-arm64/WebRTC.framework/Headers/RTCAudioDevice.h
+++ b/AntMedia_WebRTC.xcframework/ios-arm64/AntMedia_WebRTC.framework/Headers/RTCAudioDevice.h
@@ -11,7 +11,7 @@
#import
#import
-#import
+#import
NS_ASSUME_NONNULL_BEGIN
@@ -37,7 +37,8 @@ typedef OSStatus (^RTC_OBJC_TYPE(RTCAudioDeviceDeliverRecordedDataBlock))(
UInt32 frameCount,
const AudioBufferList *_Nullable inputData,
void *_Nullable renderContext,
- NS_NOESCAPE RTC_OBJC_TYPE(RTCAudioDeviceRenderRecordedDataBlock) _Nullable renderBlock);
+ NS_NOESCAPE RTC_OBJC_TYPE(
+ RTCAudioDeviceRenderRecordedDataBlock) _Nullable renderBlock);
/**
* Delegate object provided by native ADM during RTCAudioDevice initialization.
@@ -47,18 +48,21 @@ typedef OSStatus (^RTC_OBJC_TYPE(RTCAudioDeviceDeliverRecordedDataBlock))(
RTC_OBJC_EXPORT @protocol RTC_OBJC_TYPE
(RTCAudioDeviceDelegate)
/**
- * Implementation of RTCAudioSource should call this block to feed recorded PCM (16-bit integer)
- * into native ADM. Stereo data is expected to be interleaved starting with the left channel.
- * Either `inputData` with pre-filled audio data must be provided during block
- * call or `renderBlock` must be provided which must fill provided audio buffer with recorded
+ * Implementation of RTCAudioSource should call this block to feed recorded
+ * PCM (16-bit integer) into native ADM. Stereo data is expected to be
+ * interleaved starting with the left channel. Either `inputData` with
+ * pre-filled audio data must be provided during block call or `renderBlock`
+ * must be provided which must fill provided audio buffer with recorded
* samples.
*
- * NOTE: Implementation of RTCAudioDevice is expected to call the block on the same thread until
- * `notifyAudioInterrupted` is called. When `notifyAudioInterrupted` is called implementation
- * can call the block on a different thread.
+ * NOTE: Implementation of RTCAudioDevice is expected to call the block on
+ * the same thread until `notifyAudioInterrupted` is called. When
+ * `notifyAudioInterrupted` is called implementation can call the block on a
+ * different thread.
*/
@property(readonly, nonnull)
- RTC_OBJC_TYPE(RTCAudioDeviceDeliverRecordedDataBlock) deliverRecordedData;
+ RTC_OBJC_TYPE(RTCAudioDeviceDeliverRecordedDataBlock)
+ deliverRecordedData;
/**
* Provides input sample rate preference as it preferred by native ADM.
@@ -81,30 +85,37 @@ RTC_OBJC_EXPORT @protocol RTC_OBJC_TYPE
@property(readonly) NSTimeInterval preferredOutputIOBufferDuration;
/**
- * Implementation of RTCAudioDevice should call this block to request PCM (16-bit integer)
- * from native ADM to play. Stereo data is interleaved starting with the left channel.
+ * Implementation of RTCAudioDevice should call this block to request PCM
+ * (16-bit integer) from native ADM to play. Stereo data is interleaved starting
+ * with the left channel.
*
- * NOTE: Implementation of RTCAudioDevice is expected to invoke of this block on the
- * same thread until `notifyAudioInterrupted` is called. When `notifyAudioInterrupted` is called
- * implementation can call the block from a different thread.
+ * NOTE: Implementation of RTCAudioDevice is expected to invoke of this block on
+ * the same thread until `notifyAudioInterrupted` is called. When
+ * `notifyAudioInterrupted` is called implementation can call the block from a
+ * different thread.
*/
-@property(readonly, nonnull) RTC_OBJC_TYPE(RTCAudioDeviceGetPlayoutDataBlock) getPlayoutData;
+@property(readonly, nonnull) RTC_OBJC_TYPE(RTCAudioDeviceGetPlayoutDataBlock)
+ getPlayoutData;
/**
- * Notifies native ADM that some of the audio input parameters of RTCAudioDevice like
- * samle rate and/or IO buffer duration and/or IO latency had possibly changed.
- * Native ADM will adjust its audio input buffer to match current parameters of audio device.
+ * Notifies native ADM that some of the audio input parameters of RTCAudioDevice
+ * like samle rate and/or IO buffer duration and/or IO latency had possibly
+ * changed. Native ADM will adjust its audio input buffer to match current
+ * parameters of audio device.
*
- * NOTE: Must be called within block executed via `dispatchAsync` or `dispatchSync`.
+ * NOTE: Must be called within block executed via `dispatchAsync` or
+ * `dispatchSync`.
*/
- (void)notifyAudioInputParametersChange;
/**
- * Notifies native ADM that some of the audio output parameters of RTCAudioDevice like
- * samle rate and/or IO buffer duration and/or IO latency had possibly changed.
- * Native ADM will adjust its audio output buffer to match current parameters of audio device.
+ * Notifies native ADM that some of the audio output parameters of
+ * RTCAudioDevice like samle rate and/or IO buffer duration and/or IO latency
+ * had possibly changed. Native ADM will adjust its audio output buffer to match
+ * current parameters of audio device.
*
- * NOTE: Must be called within block executed via `dispatchAsync` or `dispatchSync`.
+ * NOTE: Must be called within block executed via `dispatchAsync` or
+ * `dispatchSync`.
*/
- (void)notifyAudioOutputParametersChange;
@@ -112,15 +123,17 @@ RTC_OBJC_EXPORT @protocol RTC_OBJC_TYPE
* Notifies native ADM that audio input is interrupted and further audio playout
* and recording might happen on a different thread.
*
- * NOTE: Must be called within block executed via `dispatchAsync` or `dispatchSync`.
+ * NOTE: Must be called within block executed via `dispatchAsync` or
+ * `dispatchSync`.
*/
- (void)notifyAudioInputInterrupted;
/**
- * Notifies native ADM that audio output is interrupted and further audio playout
- * and recording might happen on a different thread.
+ * Notifies native ADM that audio output is interrupted and further audio
+ * playout and recording might happen on a different thread.
*
- * NOTE: Must be called within block executed via `dispatchAsync` or `dispatchSync`.
+ * NOTE: Must be called within block executed via `dispatchAsync` or
+ * `dispatchSync`.
*/
- (void)notifyAudioOutputInterrupted;
@@ -133,8 +146,8 @@ RTC_OBJC_EXPORT @protocol RTC_OBJC_TYPE
* `notifyAudioOutputInterrupted` on native ADM thread.
* Also could be used by `RTCAudioDevice` implementation to tie
* mutations of underlying audio objects (AVAudioEngine, AudioUnit, etc)
- * to the native ADM thread. Could be useful to handle events like audio route change, which
- * could lead to audio parameters change.
+ * to the native ADM thread. Could be useful to handle events like audio route
+ * change, which could lead to audio parameters change.
*/
- (void)dispatchAsync:(dispatch_block_t)block;
@@ -146,42 +159,48 @@ RTC_OBJC_EXPORT @protocol RTC_OBJC_TYPE
* `notifyAudioOutputParametersChange`, `notifyAudioInputInterrupted`,
* `notifyAudioOutputInterrupted` on native ADM thread and make sure
* aforementioned is completed before `dispatchSync` returns. Could be useful
- * when implementation of `RTCAudioDevice` tie mutation to underlying audio objects (AVAudioEngine,
- * AudioUnit, etc) to own thread to satisfy requirement that native ADM audio parameters
- * must be kept in sync with current audio parameters before audio is actually played or recorded.
+ * when implementation of `RTCAudioDevice` tie mutation to underlying audio
+ * objects (AVAudioEngine, AudioUnit, etc) to own thread to satisfy requirement
+ * that native ADM audio parameters must be kept in sync with current audio
+ * parameters before audio is actually played or recorded.
*/
- (void)dispatchSync:(dispatch_block_t)block;
@end
/**
- * Protocol to abstract platform specific ways to implement playback and recording.
+ * Protocol to abstract platform specific ways to implement playback and
+ * recording.
*
- * NOTE: All the members of protocol are called by native ADM from the same thread
- * between calls to `initializeWithDelegate` and `terminate`.
- * NOTE: Implementation is fully responsible for configuring application's AVAudioSession.
- * An example implementation of RTCAudioDevice: https://github.com/mstyura/RTCAudioDevice
- * TODO(yura.yaroshevich): Implement custom RTCAudioDevice for AppRTCMobile demo app.
+ * NOTE: All the members of protocol are called by native ADM from the same
+ * thread between calls to `initializeWithDelegate` and `terminate`. NOTE:
+ * Implementation is fully responsible for configuring application's
+ * AVAudioSession. An example implementation of RTCAudioDevice:
+ * https://github.com/mstyura/RTCAudioDevice
+ * TODO(yura.yaroshevich): Implement custom RTCAudioDevice for AppRTCMobile demo
+ * app.
*/
RTC_OBJC_EXPORT @protocol RTC_OBJC_TYPE
(RTCAudioDevice)
/**
- * Indicates current sample rate of audio recording. Changes to this property
- * must be notified back to native ADM via `-[RTCAudioDeviceDelegate
- * notifyAudioParametersChange]`.
+ * Indicates current sample rate of audio recording. Changes to this
+ * property must be notified back to native ADM via
+ * `-[RTCAudioDeviceDelegate notifyAudioParametersChange]`.
*/
@property(readonly) double deviceInputSampleRate;
/**
* Indicates current size of record buffer. Changes to this property
- * must be notified back to native ADM via `-[RTCAudioDeviceDelegate notifyAudioParametersChange]`.
+ * must be notified back to native ADM via `-[RTCAudioDeviceDelegate
+ * notifyAudioParametersChange]`.
*/
@property(readonly) NSTimeInterval inputIOBufferDuration;
/**
* Indicates current number of recorded audio channels. Changes to this property
- * must be notified back to native ADM via `-[RTCAudioDeviceDelegate notifyAudioParametersChange]`.
+ * must be notified back to native ADM via `-[RTCAudioDeviceDelegate
+ * notifyAudioParametersChange]`.
*/
@property(readonly) NSInteger inputNumberOfChannels;
@@ -192,19 +211,22 @@ RTC_OBJC_EXPORT @protocol RTC_OBJC_TYPE
/**
* Indicates current sample rate of audio playback. Changes to this property
- * must be notified back to native ADM via `-[RTCAudioDeviceDelegate notifyAudioParametersChange]`.
+ * must be notified back to native ADM via `-[RTCAudioDeviceDelegate
+ * notifyAudioParametersChange]`.
*/
@property(readonly) double deviceOutputSampleRate;
/**
* Indicates current size of playback buffer. Changes to this property
- * must be notified back to native ADM via `-[RTCAudioDeviceDelegate notifyAudioParametersChange]`.
+ * must be notified back to native ADM via `-[RTCAudioDeviceDelegate
+ * notifyAudioParametersChange]`.
*/
@property(readonly) NSTimeInterval outputIOBufferDuration;
/**
* Indicates current number of playback audio channels. Changes to this property
- * must be notified back to WebRTC via `[RTCAudioDeviceDelegate notifyAudioParametersChange]`.
+ * must be notified back to WebRTC via `[RTCAudioDeviceDelegate
+ * notifyAudioParametersChange]`.
*/
@property(readonly) NSInteger outputNumberOfChannels;
@@ -214,36 +236,40 @@ RTC_OBJC_EXPORT @protocol RTC_OBJC_TYPE
@property(readonly) NSTimeInterval outputLatency;
/**
- * Indicates if invocation of `initializeWithDelegate` required before usage of RTCAudioDevice.
- * YES indicates that `initializeWithDelegate` was called earlier without subsequent call to
- * `terminate`. NO indicates that either `initializeWithDelegate` not called or `terminate` called.
+ * Indicates if invocation of `initializeWithDelegate` required before usage of
+ * RTCAudioDevice. YES indicates that `initializeWithDelegate` was called
+ * earlier without subsequent call to `terminate`. NO indicates that either
+ * `initializeWithDelegate` not called or `terminate` called.
*/
@property(readonly) BOOL isInitialized;
/**
* Initializes RTCAudioDevice with RTCAudioDeviceDelegate.
- * Implementation must return YES if RTCAudioDevice initialized successfully and NO otherwise.
+ * Implementation must return YES if RTCAudioDevice initialized successfully and
+ * NO otherwise.
*/
-- (BOOL)initializeWithDelegate:(id)delegate;
+- (BOOL)initializeWithDelegate:
+ (id)delegate;
/**
- * De-initializes RTCAudioDevice. Implementation should forget about `delegate` provided in
- * `initializeWithDelegate`.
+ * De-initializes RTCAudioDevice. Implementation should forget about `delegate`
+ * provided in `initializeWithDelegate`.
*/
- (BOOL)terminateDevice;
/**
- * Property to indicate if `initializePlayout` call required before invocation of `startPlayout`.
- * YES indicates that `initializePlayout` was successfully invoked earlier or not necessary,
- * NO indicates that `initializePlayout` invocation required.
+ * Property to indicate if `initializePlayout` call required before invocation
+ * of `startPlayout`. YES indicates that `initializePlayout` was successfully
+ * invoked earlier or not necessary, NO indicates that `initializePlayout`
+ * invocation required.
*/
@property(readonly) BOOL isPlayoutInitialized;
/**
* Prepares RTCAudioDevice to play audio.
* Called by native ADM before invocation of `startPlayout`.
- * Implementation is expected to return YES in case of successful playout initialization and NO
- * otherwise.
+ * Implementation is expected to return YES in case of successful playout
+ * initialization and NO otherwise.
*/
- (BOOL)initializePlayout;
@@ -268,18 +294,19 @@ RTC_OBJC_EXPORT @protocol RTC_OBJC_TYPE
- (BOOL)stopPlayout;
/**
- * Property to indicate if `initializeRecording` call required before usage of `startRecording`.
- * YES indicates that `initializeRecording` was successfully invoked earlier or not necessary,
- * NO indicates that `initializeRecording` invocation required.
+ * Property to indicate if `initializeRecording` call required before usage of
+ * `startRecording`. YES indicates that `initializeRecording` was successfully
+ * invoked earlier or not necessary, NO indicates that `initializeRecording`
+ * invocation required.
*/
@property(readonly) BOOL isRecordingInitialized;
/**
* Prepares RTCAudioDevice to record audio.
* Called by native ADM before invocation of `startRecording`.
- * Implementation may use this method to prepare resources required to record audio.
- * Implementation is expected to return YES in case of successful record initialization and NO
- * otherwise.
+ * Implementation may use this method to prepare resources required to record
+ * audio. Implementation is expected to return YES in case of successful record
+ * initialization and NO otherwise.
*/
- (BOOL)initializeRecording;
diff --git a/WebRTC.xcframework/ios-arm64_x86_64-simulator/WebRTC.framework/Headers/RTCAudioDeviceModule.h b/AntMedia_WebRTC.xcframework/ios-arm64/AntMedia_WebRTC.framework/Headers/RTCAudioDeviceModule.h
similarity index 89%
rename from WebRTC.xcframework/ios-arm64_x86_64-simulator/WebRTC.framework/Headers/RTCAudioDeviceModule.h
rename to AntMedia_WebRTC.xcframework/ios-arm64/AntMedia_WebRTC.framework/Headers/RTCAudioDeviceModule.h
index 97b37213..83efc43a 100644
--- a/WebRTC.xcframework/ios-arm64_x86_64-simulator/WebRTC.framework/Headers/RTCAudioDeviceModule.h
+++ b/AntMedia_WebRTC.xcframework/ios-arm64/AntMedia_WebRTC.framework/Headers/RTCAudioDeviceModule.h
@@ -2,7 +2,7 @@
#import
#import
-#import
+#import
NS_ASSUME_NONNULL_BEGIN
diff --git a/WebRTC.xcframework/ios-arm64_x86_64-simulator/WebRTC.framework/Headers/RTCAudioSession.h b/AntMedia_WebRTC.xcframework/ios-arm64/AntMedia_WebRTC.framework/Headers/RTCAudioSession.h
similarity index 80%
rename from WebRTC.xcframework/ios-arm64_x86_64-simulator/WebRTC.framework/Headers/RTCAudioSession.h
rename to AntMedia_WebRTC.xcframework/ios-arm64/AntMedia_WebRTC.framework/Headers/RTCAudioSession.h
index 0ca137d2..45f59a2a 100644
--- a/WebRTC.xcframework/ios-arm64_x86_64-simulator/WebRTC.framework/Headers/RTCAudioSession.h
+++ b/AntMedia_WebRTC.xcframework/ios-arm64/AntMedia_WebRTC.framework/Headers/RTCAudioSession.h
@@ -11,7 +11,7 @@
#import
#import
-#import
+#import
NS_ASSUME_NONNULL_BEGIN
@@ -35,7 +35,8 @@ RTC_OBJC_EXPORT
/** Called on a system notification thread when AVAudioSession starts an
* interruption event.
*/
-- (void)audioSessionDidBeginInterruption:(RTC_OBJC_TYPE(RTCAudioSession) *)session;
+- (void)audioSessionDidBeginInterruption:
+ (RTC_OBJC_TYPE(RTCAudioSession) *)session;
/** Called on a system notification thread when AVAudioSession ends an
* interruption event.
@@ -48,12 +49,14 @@ RTC_OBJC_EXPORT
*/
- (void)audioSessionDidChangeRoute:(RTC_OBJC_TYPE(RTCAudioSession) *)session
reason:(AVAudioSessionRouteChangeReason)reason
- previousRoute:(AVAudioSessionRouteDescription *)previousRoute;
+ previousRoute:
+ (AVAudioSessionRouteDescription *)previousRoute;
/** Called on a system notification thread when AVAudioSession media server
* terminates.
*/
-- (void)audioSessionMediaServerTerminated:(RTC_OBJC_TYPE(RTCAudioSession) *)session;
+- (void)audioSessionMediaServerTerminated:
+ (RTC_OBJC_TYPE(RTCAudioSession) *)session;
/** Called on a system notification thread when AVAudioSession media server
* restarts.
@@ -68,12 +71,14 @@ RTC_OBJC_EXPORT
/** Called on a WebRTC thread when the audio device is notified to begin
* playback or recording.
*/
-- (void)audioSessionDidStartPlayOrRecord:(RTC_OBJC_TYPE(RTCAudioSession) *)session;
+- (void)audioSessionDidStartPlayOrRecord:
+ (RTC_OBJC_TYPE(RTCAudioSession) *)session;
/** Called on a WebRTC thread when the audio device is notified to stop
* playback or recording.
*/
-- (void)audioSessionDidStopPlayOrRecord:(RTC_OBJC_TYPE(RTCAudioSession) *)session;
+- (void)audioSessionDidStopPlayOrRecord:
+ (RTC_OBJC_TYPE(RTCAudioSession) *)session;
/** Called when the AVAudioSession output volume value changes. */
- (void)audioSession:(RTC_OBJC_TYPE(RTCAudioSession) *)audioSession
@@ -87,11 +92,13 @@ RTC_OBJC_EXPORT
/** Called when the audio session is about to change the active state.
*/
-- (void)audioSession:(RTC_OBJC_TYPE(RTCAudioSession) *)audioSession willSetActive:(BOOL)active;
+- (void)audioSession:(RTC_OBJC_TYPE(RTCAudioSession) *)audioSession
+ willSetActive:(BOOL)active;
/** Called after the audio session sucessfully changed the active state.
*/
-- (void)audioSession:(RTC_OBJC_TYPE(RTCAudioSession) *)audioSession didSetActive:(BOOL)active;
+- (void)audioSession:(RTC_OBJC_TYPE(RTCAudioSession) *)audioSession
+ didSetActive:(BOOL)active;
/** Called after the audio session failed to change the active state.
*/
@@ -105,8 +112,9 @@ RTC_OBJC_EXPORT
@end
/** This is a protocol used to inform RTCAudioSession when the audio session
- * activation state has changed outside of RTCAudioSession. The current known use
- * case of this is when CallKit activates the audio session for the application
+ * activation state has changed outside of RTCAudioSession. The current known
+ * use case of this is when CallKit activates the audio session for the
+ * application
*/
RTC_OBJC_EXPORT
@protocol RTC_OBJC_TYPE
@@ -173,10 +181,14 @@ RTC_OBJC_EXPORT
@property(readonly) float inputGain;
@property(readonly) BOOL inputGainSettable;
@property(readonly) BOOL inputAvailable;
-@property(readonly, nullable) NSArray *inputDataSources;
-@property(readonly, nullable) AVAudioSessionDataSourceDescription *inputDataSource;
-@property(readonly, nullable) NSArray *outputDataSources;
-@property(readonly, nullable) AVAudioSessionDataSourceDescription *outputDataSource;
+@property(readonly, nullable)
+ NSArray *inputDataSources;
+@property(readonly, nullable)
+ AVAudioSessionDataSourceDescription *inputDataSource;
+@property(readonly, nullable)
+ NSArray *outputDataSources;
+@property(readonly, nullable)
+ AVAudioSessionDataSourceDescription *outputDataSource;
@property(readonly) double sampleRate;
@property(readonly) double preferredSampleRate;
@property(readonly) NSInteger inputNumberOfChannels;
@@ -188,10 +200,11 @@ RTC_OBJC_EXPORT
@property(readonly) NSTimeInterval preferredIOBufferDuration;
/**
- When YES, calls to -setConfiguration:error: and -setConfiguration:active:error: ignore errors in
- configuring the audio session's "preferred" attributes (e.g. preferredInputNumberOfChannels).
- Typically, configurations to preferred attributes are optimizations, and ignoring this type of
- configuration error allows code flow to continue along the happy path when these optimization are
+ When YES, calls to -setConfiguration:error: and -setConfiguration:active:error:
+ ignore errors in configuring the audio session's "preferred" attributes (e.g.
+ preferredInputNumberOfChannels). Typically, configurations to preferred
+ attributes are optimizations, and ignoring this type of configuration error
+ allows code flow to continue along the happy path when these optimization are
not available. The default value of this property is NO.
*/
@property(nonatomic) BOOL ignoresPreferredAttributeConfigurationErrors;
@@ -225,17 +238,26 @@ RTC_OBJC_EXPORT
// AVAudioSession. `lockForConfiguration` must be called before using them
// otherwise they will fail with kRTCAudioSessionErrorLockRequired.
-- (BOOL)setCategory:(NSString *)category
+- (BOOL)setCategory:(AVAudioSessionCategory)category
+ mode:(AVAudioSessionMode)mode
+ options:(AVAudioSessionCategoryOptions)options
+ error:(NSError **)outError;
+- (BOOL)setCategory:(AVAudioSessionCategory)category
withOptions:(AVAudioSessionCategoryOptions)options
error:(NSError **)outError;
-- (BOOL)setMode:(NSString *)mode error:(NSError **)outError;
+- (BOOL)setMode:(AVAudioSessionMode)mode error:(NSError **)outError;
- (BOOL)setInputGain:(float)gain error:(NSError **)outError;
- (BOOL)setPreferredSampleRate:(double)sampleRate error:(NSError **)outError;
-- (BOOL)setPreferredIOBufferDuration:(NSTimeInterval)duration error:(NSError **)outError;
-- (BOOL)setPreferredInputNumberOfChannels:(NSInteger)count error:(NSError **)outError;
-- (BOOL)setPreferredOutputNumberOfChannels:(NSInteger)count error:(NSError **)outError;
-- (BOOL)overrideOutputAudioPort:(AVAudioSessionPortOverride)portOverride error:(NSError **)outError;
-- (BOOL)setPreferredInput:(AVAudioSessionPortDescription *)inPort error:(NSError **)outError;
+- (BOOL)setPreferredIOBufferDuration:(NSTimeInterval)duration
+ error:(NSError **)outError;
+- (BOOL)setPreferredInputNumberOfChannels:(NSInteger)count
+ error:(NSError **)outError;
+- (BOOL)setPreferredOutputNumberOfChannels:(NSInteger)count
+ error:(NSError **)outError;
+- (BOOL)overrideOutputAudioPort:(AVAudioSessionPortOverride)portOverride
+ error:(NSError **)outError;
+- (BOOL)setPreferredInput:(AVAudioSessionPortDescription *)inPort
+ error:(NSError **)outError;
- (BOOL)setInputDataSource:(AVAudioSessionDataSourceDescription *)dataSource
error:(NSError **)outError;
- (BOOL)setOutputDataSource:(AVAudioSessionDataSourceDescription *)dataSource
@@ -250,13 +272,15 @@ RTC_OBJC_EXPORT
* returned.
* `lockForConfiguration` must be called first.
*/
- - (BOOL)setConfiguration : (RTC_OBJC_TYPE(RTCAudioSessionConfiguration) *)configuration error
+ - (BOOL)setConfiguration
+ : (RTC_OBJC_TYPE(RTCAudioSessionConfiguration) *)configuration error
: (NSError **)outError;
/** Convenience method that calls both setConfiguration and setActive.
* `lockForConfiguration` must be called first.
*/
-- (BOOL)setConfiguration:(RTC_OBJC_TYPE(RTCAudioSessionConfiguration) *)configuration
+- (BOOL)setConfiguration:
+ (RTC_OBJC_TYPE(RTCAudioSessionConfiguration) *)configuration
active:(BOOL)active
error:(NSError **)outError;
diff --git a/WebRTC.xcframework/ios-arm64/WebRTC.framework/Headers/RTCAudioSessionConfiguration.h b/AntMedia_WebRTC.xcframework/ios-arm64/AntMedia_WebRTC.framework/Headers/RTCAudioSessionConfiguration.h
similarity index 86%
rename from WebRTC.xcframework/ios-arm64/WebRTC.framework/Headers/RTCAudioSessionConfiguration.h
rename to AntMedia_WebRTC.xcframework/ios-arm64/AntMedia_WebRTC.framework/Headers/RTCAudioSessionConfiguration.h
index be799203..96ddfa9e 100644
--- a/WebRTC.xcframework/ios-arm64/WebRTC.framework/Headers/RTCAudioSessionConfiguration.h
+++ b/AntMedia_WebRTC.xcframework/ios-arm64/AntMedia_WebRTC.framework/Headers/RTCAudioSessionConfiguration.h
@@ -11,15 +11,13 @@
#import
#import
-#import
+#import
NS_ASSUME_NONNULL_BEGIN
RTC_EXTERN const int kRTCAudioSessionPreferredNumberOfChannels;
RTC_EXTERN const double kRTCAudioSessionHighPerformanceSampleRate;
-RTC_EXTERN const double kRTCAudioSessionLowComplexitySampleRate;
RTC_EXTERN const double kRTCAudioSessionHighPerformanceIOBufferDuration;
-RTC_EXTERN const double kRTCAudioSessionLowComplexityIOBufferDuration;
// Struct to hold configuration values.
RTC_OBJC_EXPORT
@@ -41,7 +39,8 @@ RTC_OBJC_EXPORT
/** Returns the configuration that WebRTC needs. */
+ (instancetype)webRTCConfiguration;
/** Provide a way to override the default configuration. */
-+ (void)setWebRTCConfiguration:(RTC_OBJC_TYPE(RTCAudioSessionConfiguration) *)configuration;
++ (void)setWebRTCConfiguration:
+ (RTC_OBJC_TYPE(RTCAudioSessionConfiguration) *)configuration;
@end
diff --git a/WebRTC.xcframework/ios-arm64_x86_64-simulator/WebRTC.framework/Headers/RTCAudioSource.h b/AntMedia_WebRTC.xcframework/ios-arm64/AntMedia_WebRTC.framework/Headers/RTCAudioSource.h
similarity index 92%
rename from WebRTC.xcframework/ios-arm64_x86_64-simulator/WebRTC.framework/Headers/RTCAudioSource.h
rename to AntMedia_WebRTC.xcframework/ios-arm64/AntMedia_WebRTC.framework/Headers/RTCAudioSource.h
index f0c469f8..4c38bc09 100644
--- a/WebRTC.xcframework/ios-arm64_x86_64-simulator/WebRTC.framework/Headers/RTCAudioSource.h
+++ b/AntMedia_WebRTC.xcframework/ios-arm64/AntMedia_WebRTC.framework/Headers/RTCAudioSource.h
@@ -10,8 +10,8 @@
#import
-#import
-#import
+#import
+#import
NS_ASSUME_NONNULL_BEGIN
diff --git a/WebRTC.xcframework/ios-arm64/WebRTC.framework/Headers/RTCAudioTrack.h b/AntMedia_WebRTC.xcframework/ios-arm64/AntMedia_WebRTC.framework/Headers/RTCAudioTrack.h
similarity index 89%
rename from WebRTC.xcframework/ios-arm64/WebRTC.framework/Headers/RTCAudioTrack.h
rename to AntMedia_WebRTC.xcframework/ios-arm64/AntMedia_WebRTC.framework/Headers/RTCAudioTrack.h
index 0c73d7d8..7625dfad 100644
--- a/WebRTC.xcframework/ios-arm64/WebRTC.framework/Headers/RTCAudioTrack.h
+++ b/AntMedia_WebRTC.xcframework/ios-arm64/AntMedia_WebRTC.framework/Headers/RTCAudioTrack.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#import
-#import
+#import
+#import
NS_ASSUME_NONNULL_BEGIN
diff --git a/WebRTC.xcframework/ios-arm64/WebRTC.framework/Headers/RTCCVPixelBuffer.h b/AntMedia_WebRTC.xcframework/ios-arm64/AntMedia_WebRTC.framework/Headers/RTCCVPixelBuffer.h
similarity index 88%
rename from WebRTC.xcframework/ios-arm64/WebRTC.framework/Headers/RTCCVPixelBuffer.h
rename to AntMedia_WebRTC.xcframework/ios-arm64/AntMedia_WebRTC.framework/Headers/RTCCVPixelBuffer.h
index b9cd6991..10b19f33 100644
--- a/WebRTC.xcframework/ios-arm64/WebRTC.framework/Headers/RTCCVPixelBuffer.h
+++ b/AntMedia_WebRTC.xcframework/ios-arm64/AntMedia_WebRTC.framework/Headers/RTCCVPixelBuffer.h
@@ -10,8 +10,8 @@
#import
-#import
-#import
+#import
+#import
NS_ASSUME_NONNULL_BEGIN
@@ -40,9 +40,9 @@ RTC_OBJC_EXPORT
- (BOOL)requiresScalingToWidth:(int)width height:(int)height;
- (int)bufferSizeForCroppingAndScalingToWidth:(int)width height:(int)height;
-/** The minimum size of the `tmpBuffer` must be the number of bytes returned from the
- * bufferSizeForCroppingAndScalingToWidth:height: method.
- * If that size is 0, the `tmpBuffer` may be nil.
+/** The minimum size of the `tmpBuffer` must be the number of bytes returned
+ * from the bufferSizeForCroppingAndScalingToWidth:height: method. If that size
+ * is 0, the `tmpBuffer` may be nil.
*/
- (BOOL)cropAndScaleTo:(CVPixelBufferRef)outputPixelBuffer
withTempBuffer:(nullable uint8_t *)tmpBuffer;
diff --git a/WebRTC.xcframework/ios-arm64/WebRTC.framework/Headers/RTCCallbackLogger.h b/AntMedia_WebRTC.xcframework/ios-arm64/AntMedia_WebRTC.framework/Headers/RTCCallbackLogger.h
similarity index 80%
rename from WebRTC.xcframework/ios-arm64/WebRTC.framework/Headers/RTCCallbackLogger.h
rename to AntMedia_WebRTC.xcframework/ios-arm64/AntMedia_WebRTC.framework/Headers/RTCCallbackLogger.h
index 8def162e..57e2d375 100644
--- a/WebRTC.xcframework/ios-arm64/WebRTC.framework/Headers/RTCCallbackLogger.h
+++ b/AntMedia_WebRTC.xcframework/ios-arm64/AntMedia_WebRTC.framework/Headers/RTCCallbackLogger.h
@@ -10,14 +10,14 @@
#import
-#import
-#import
+#import
+#import
NS_ASSUME_NONNULL_BEGIN
typedef void (^RTCCallbackLoggerMessageHandler)(NSString *message);
-typedef void (^RTCCallbackLoggerMessageAndSeverityHandler)(NSString *message,
- RTCLoggingSeverity severity);
+typedef void (^RTCCallbackLoggerMessageAndSeverityHandler)(
+ NSString *message, RTCLoggingSeverity severity);
// This class intercepts WebRTC logs and forwards them to a registered block.
// This class is not threadsafe.
@@ -32,7 +32,7 @@ RTC_OBJC_EXPORT
// to implement dispatching to some other queue.
- (void)start:(nullable RTCCallbackLoggerMessageHandler)handler;
- (void)startWithMessageAndSeverityHandler:
- (nullable RTCCallbackLoggerMessageAndSeverityHandler)handler;
+ (nullable RTCCallbackLoggerMessageAndSeverityHandler)handler;
- (void)stop;
diff --git a/WebRTC.xcframework/ios-arm64/WebRTC.framework/Headers/RTCCameraPreviewView.h b/AntMedia_WebRTC.xcframework/ios-arm64/AntMedia_WebRTC.framework/Headers/RTCCameraPreviewView.h
similarity index 96%
rename from WebRTC.xcframework/ios-arm64/WebRTC.framework/Headers/RTCCameraPreviewView.h
rename to AntMedia_WebRTC.xcframework/ios-arm64/AntMedia_WebRTC.framework/Headers/RTCCameraPreviewView.h
index 710f2e79..e78cbdd3 100644
--- a/WebRTC.xcframework/ios-arm64/WebRTC.framework/Headers/RTCCameraPreviewView.h
+++ b/AntMedia_WebRTC.xcframework/ios-arm64/AntMedia_WebRTC.framework/Headers/RTCCameraPreviewView.h
@@ -11,7 +11,7 @@
#import
#import
-#import
+#import
@class AVCaptureSession;
diff --git a/WebRTC.xcframework/ios-arm64_x86_64-simulator/WebRTC.framework/Headers/RTCCameraVideoCapturer.h b/AntMedia_WebRTC.xcframework/ios-arm64/AntMedia_WebRTC.framework/Headers/RTCCameraVideoCapturer.h
similarity index 76%
rename from WebRTC.xcframework/ios-arm64_x86_64-simulator/WebRTC.framework/Headers/RTCCameraVideoCapturer.h
rename to AntMedia_WebRTC.xcframework/ios-arm64/AntMedia_WebRTC.framework/Headers/RTCCameraVideoCapturer.h
index 5edc75d0..08b5c92c 100644
--- a/WebRTC.xcframework/ios-arm64_x86_64-simulator/WebRTC.framework/Headers/RTCCameraVideoCapturer.h
+++ b/AntMedia_WebRTC.xcframework/ios-arm64/AntMedia_WebRTC.framework/Headers/RTCCameraVideoCapturer.h
@@ -11,15 +11,15 @@
#import
#import
-#import
-#import
+#import
+#import
NS_ASSUME_NONNULL_BEGIN
-RTC_OBJC_EXPORT
// Camera capture that implements RTCVideoCapturer. Delivers frames to a
// RTCVideoCapturerDelegate (usually RTCVideoSource).
NS_EXTENSION_UNAVAILABLE_IOS("Camera not available in app extensions.")
+RTC_OBJC_EXPORT
@interface RTC_OBJC_TYPE (RTCCameraVideoCapturer) : RTC_OBJC_TYPE(RTCVideoCapturer)
// Capture session that is used for capturing. Valid from initialization to dealloc.
@@ -28,21 +28,25 @@ NS_EXTENSION_UNAVAILABLE_IOS("Camera not available in app extensions.")
// Returns list of available capture devices that support video capture.
+ (NSArray *)captureDevices;
// Returns list of formats that are supported by this class for this device.
-+ (NSArray *)supportedFormatsForDevice:(AVCaptureDevice *)device;
++ (NSArray *)supportedFormatsForDevice:
+ (AVCaptureDevice *)device;
// Returns the most efficient supported output pixel format for this capturer.
- (FourCharCode)preferredOutputPixelFormat;
-// Starts the capture session asynchronously and notifies callback on completion.
-// The device will capture video in the format given in the `format` parameter. If the pixel format
-// in `format` is supported by the WebRTC pipeline, the same pixel format will be used for the
-// output. Otherwise, the format returned by `preferredOutputPixelFormat` will be used.
+// Starts the capture session asynchronously and notifies callback on
+// completion. The device will capture video in the format given in the `format`
+// parameter. If the pixel format in `format` is supported by the WebRTC
+// pipeline, the same pixel format will be used for the output. Otherwise, the
+// format returned by `preferredOutputPixelFormat` will be used.
- (void)startCaptureWithDevice:(AVCaptureDevice *)device
format:(AVCaptureDeviceFormat *)format
fps:(NSInteger)fps
- completionHandler:(nullable void (^)(NSError *_Nullable))completionHandler;
+ completionHandler:
+ (nullable void (^)(NSError *_Nullable))completionHandler;
// Stops the capture session asynchronously and notifies callback on completion.
-- (void)stopCaptureWithCompletionHandler:(nullable void (^)(void))completionHandler;
+- (void)stopCaptureWithCompletionHandler:
+ (nullable void (^)(void))completionHandler;
// Starts the capture session asynchronously.
- (void)startCaptureWithDevice:(AVCaptureDevice *)device
diff --git a/WebRTC.xcframework/ios-arm64_x86_64-simulator/WebRTC.framework/Headers/RTCCertificate.h b/AntMedia_WebRTC.xcframework/ios-arm64/AntMedia_WebRTC.framework/Headers/RTCCertificate.h
similarity index 86%
rename from WebRTC.xcframework/ios-arm64_x86_64-simulator/WebRTC.framework/Headers/RTCCertificate.h
rename to AntMedia_WebRTC.xcframework/ios-arm64/AntMedia_WebRTC.framework/Headers/RTCCertificate.h
index 31047e4a..8cec8c71 100644
--- a/WebRTC.xcframework/ios-arm64_x86_64-simulator/WebRTC.framework/Headers/RTCCertificate.h
+++ b/AntMedia_WebRTC.xcframework/ios-arm64/AntMedia_WebRTC.framework/Headers/RTCCertificate.h
@@ -10,7 +10,7 @@
#import
-#import
+#import
NS_ASSUME_NONNULL_BEGIN
@@ -24,10 +24,12 @@ RTC_OBJC_EXPORT
@property(nonatomic, readonly, copy) NSString *certificate;
/**
- * Initialize an RTCCertificate with PEM strings for private_key and certificate.
+ * Initialize an RTCCertificate with PEM strings for private_key and
+ * certificate.
*/
- (instancetype)initWithPrivateKey:(NSString *)private_key
- certificate:(NSString *)certificate NS_DESIGNATED_INITIALIZER;
+ certificate:(NSString *)certificate
+ NS_DESIGNATED_INITIALIZER;
- (instancetype)init NS_UNAVAILABLE;
@@ -37,7 +39,8 @@ RTC_OBJC_EXPORT
* provided.
* - name: "ECDSA" or "RSASSA-PKCS1-v1_5"
*/
-+ (nullable RTC_OBJC_TYPE(RTCCertificate) *)generateCertificateWithParams:(NSDictionary *)params;
++ (nullable RTC_OBJC_TYPE(RTCCertificate) *)generateCertificateWithParams:
+ (NSDictionary *)params;
@end
diff --git a/WebRTC.xcframework/ios-arm64_x86_64-simulator/WebRTC.framework/Headers/RTCCodecSpecificInfo.h b/AntMedia_WebRTC.xcframework/ios-arm64/AntMedia_WebRTC.framework/Headers/RTCCodecSpecificInfo.h
similarity index 94%
rename from WebRTC.xcframework/ios-arm64_x86_64-simulator/WebRTC.framework/Headers/RTCCodecSpecificInfo.h
rename to AntMedia_WebRTC.xcframework/ios-arm64/AntMedia_WebRTC.framework/Headers/RTCCodecSpecificInfo.h
index 39f7c183..83266b43 100644
--- a/WebRTC.xcframework/ios-arm64_x86_64-simulator/WebRTC.framework/Headers/RTCCodecSpecificInfo.h
+++ b/AntMedia_WebRTC.xcframework/ios-arm64/AntMedia_WebRTC.framework/Headers/RTCCodecSpecificInfo.h
@@ -10,7 +10,7 @@
#import
-#import
+#import
NS_ASSUME_NONNULL_BEGIN
diff --git a/WebRTC.xcframework/ios-arm64_x86_64-simulator/WebRTC.framework/Headers/RTCCodecSpecificInfoH264.h b/AntMedia_WebRTC.xcframework/ios-arm64/AntMedia_WebRTC.framework/Headers/RTCCodecSpecificInfoH264.h
similarity index 72%
rename from WebRTC.xcframework/ios-arm64_x86_64-simulator/WebRTC.framework/Headers/RTCCodecSpecificInfoH264.h
rename to AntMedia_WebRTC.xcframework/ios-arm64/AntMedia_WebRTC.framework/Headers/RTCCodecSpecificInfoH264.h
index 25d309c0..5c890253 100644
--- a/WebRTC.xcframework/ios-arm64_x86_64-simulator/WebRTC.framework/Headers/RTCCodecSpecificInfoH264.h
+++ b/AntMedia_WebRTC.xcframework/ios-arm64/AntMedia_WebRTC.framework/Headers/RTCCodecSpecificInfoH264.h
@@ -10,13 +10,14 @@
#import
-#import
-#import
+#import
+#import
/** Class for H264 specific config. */
typedef NS_ENUM(NSUInteger, RTCH264PacketizationMode) {
- RTCH264PacketizationModeNonInterleaved = 0, // Mode 1 - STAP-A, FU-A is allowed
- RTCH264PacketizationModeSingleNalUnit // Mode 0 - only single NALU allowed
+ RTCH264PacketizationModeNonInterleaved =
+ 0, // Mode 1 - STAP-A, FU-A is allowed
+ RTCH264PacketizationModeSingleNalUnit // Mode 0 - only single NALU allowed
};
RTC_OBJC_EXPORT
diff --git a/WebRTC.xcframework/ios-arm64/WebRTC.framework/Headers/RTCConfiguration.h b/AntMedia_WebRTC.xcframework/ios-arm64/AntMedia_WebRTC.framework/Headers/RTCConfiguration.h
similarity index 92%
rename from WebRTC.xcframework/ios-arm64/WebRTC.framework/Headers/RTCConfiguration.h
rename to AntMedia_WebRTC.xcframework/ios-arm64/AntMedia_WebRTC.framework/Headers/RTCConfiguration.h
index fb82f830..08aabc43 100644
--- a/WebRTC.xcframework/ios-arm64/WebRTC.framework/Headers/RTCConfiguration.h
+++ b/AntMedia_WebRTC.xcframework/ios-arm64/AntMedia_WebRTC.framework/Headers/RTCConfiguration.h
@@ -10,9 +10,9 @@
#import
-#import
-#import
-#import
+#import
+#import
+#import
@class RTC_OBJC_TYPE(RTCIceServer);
@@ -35,7 +35,10 @@ typedef NS_ENUM(NSInteger, RTCBundlePolicy) {
};
/** Represents the rtcp mux policy. */
-typedef NS_ENUM(NSInteger, RTCRtcpMuxPolicy) { RTCRtcpMuxPolicyNegotiate, RTCRtcpMuxPolicyRequire };
+typedef NS_ENUM(NSInteger, RTCRtcpMuxPolicy) {
+ RTCRtcpMuxPolicyNegotiate,
+ RTCRtcpMuxPolicyRequire
+};
/** Represents the tcp candidate policy. */
typedef NS_ENUM(NSInteger, RTCTcpCandidatePolicy) {
@@ -95,12 +98,8 @@ RTC_OBJC_EXPORT
@property(nonatomic, assign) RTCRtcpMuxPolicy rtcpMuxPolicy;
@property(nonatomic, assign) RTCTcpCandidatePolicy tcpCandidatePolicy;
@property(nonatomic, assign) RTCCandidateNetworkPolicy candidateNetworkPolicy;
-@property(nonatomic, assign) RTCContinualGatheringPolicy continualGatheringPolicy;
-
-/** If set to YES, don't gather IPv6 ICE candidates.
- * Default is NO.
- */
-@property(nonatomic, assign) BOOL disableIPV6;
+@property(nonatomic, assign)
+ RTCContinualGatheringPolicy continualGatheringPolicy;
/** If set to YES, don't gather IPv6 ICE candidates on Wi-Fi.
* Only intended to be used on specific devices. Certain phones disable IPv6
@@ -155,7 +154,8 @@ RTC_OBJC_EXPORT
* transport type and as a result not observed by PeerConnectionDelegateAdapter,
* will be surfaced to the delegate.
*/
-@property(nonatomic, assign) BOOL shouldSurfaceIceCandidatesOnIceTransportTypeChanged;
+@property(nonatomic, assign)
+ BOOL shouldSurfaceIceCandidatesOnIceTransportTypeChanged;
/** If set to non-nil, controls the minimal interval between consecutive ICE
* check packets.
@@ -189,12 +189,6 @@ RTC_OBJC_EXPORT
*/
@property(nonatomic, assign) BOOL activeResetSrtpParams;
-/** If the remote side support mid-stream codec switches then allow encoder
- * switching to be performed.
- */
-
-@property(nonatomic, assign) BOOL allowCodecSwitching;
-
/**
* Defines advanced optional cryptographic settings related to SRTP and
* frame encryption for native WebRTC. Setting this will overwrite any
@@ -236,7 +230,8 @@ RTC_OBJC_EXPORT
* when ICE is strongly connected, and it overrides the
* default value of this interval in the ICE implementation;
*/
-@property(nonatomic, copy, nullable) NSNumber *iceCheckIntervalStrongConnectivity;
+@property(nonatomic, copy, nullable)
+ NSNumber *iceCheckIntervalStrongConnectivity;
/**
* Defines the counterpart for ALL pairs when ICE is
diff --git a/WebRTC.xcframework/ios-arm64/WebRTC.framework/Headers/RTCCryptoOptions.h b/AntMedia_WebRTC.xcframework/ios-arm64/AntMedia_WebRTC.framework/Headers/RTCCryptoOptions.h
similarity index 82%
rename from WebRTC.xcframework/ios-arm64/WebRTC.framework/Headers/RTCCryptoOptions.h
rename to AntMedia_WebRTC.xcframework/ios-arm64/AntMedia_WebRTC.framework/Headers/RTCCryptoOptions.h
index 6e2e7972..558732bf 100644
--- a/WebRTC.xcframework/ios-arm64/WebRTC.framework/Headers/RTCCryptoOptions.h
+++ b/AntMedia_WebRTC.xcframework/ios-arm64/AntMedia_WebRTC.framework/Headers/RTCCryptoOptions.h
@@ -10,7 +10,7 @@
#import
-#import
+#import
NS_ASSUME_NONNULL_BEGIN
@@ -50,10 +50,13 @@ RTC_OBJC_EXPORT
* Initializes CryptoOptions with all possible options set explicitly. This
* is done when converting from a native RTCConfiguration.crypto_options.
*/
-- (instancetype)initWithSrtpEnableGcmCryptoSuites:(BOOL)srtpEnableGcmCryptoSuites
- srtpEnableAes128Sha1_32CryptoCipher:(BOOL)srtpEnableAes128Sha1_32CryptoCipher
- srtpEnableEncryptedRtpHeaderExtensions:(BOOL)srtpEnableEncryptedRtpHeaderExtensions
- sframeRequireFrameEncryption:(BOOL)sframeRequireFrameEncryption
+- (instancetype)
+ initWithSrtpEnableGcmCryptoSuites:(BOOL)srtpEnableGcmCryptoSuites
+ srtpEnableAes128Sha1_32CryptoCipher:
+ (BOOL)srtpEnableAes128Sha1_32CryptoCipher
+ srtpEnableEncryptedRtpHeaderExtensions:
+ (BOOL)srtpEnableEncryptedRtpHeaderExtensions
+ sframeRequireFrameEncryption:(BOOL)sframeRequireFrameEncryption
NS_DESIGNATED_INITIALIZER;
- (instancetype)init NS_UNAVAILABLE;
diff --git a/WebRTC.xcframework/ios-arm64_x86_64-simulator/WebRTC.framework/Headers/RTCDataChannel.h b/AntMedia_WebRTC.xcframework/ios-arm64/AntMedia_WebRTC.framework/Headers/RTCDataChannel.h
similarity index 94%
rename from WebRTC.xcframework/ios-arm64_x86_64-simulator/WebRTC.framework/Headers/RTCDataChannel.h
rename to AntMedia_WebRTC.xcframework/ios-arm64/AntMedia_WebRTC.framework/Headers/RTCDataChannel.h
index 80b8ad81..3218121d 100644
--- a/WebRTC.xcframework/ios-arm64_x86_64-simulator/WebRTC.framework/Headers/RTCDataChannel.h
+++ b/AntMedia_WebRTC.xcframework/ios-arm64/AntMedia_WebRTC.framework/Headers/RTCDataChannel.h
@@ -11,7 +11,7 @@
#import
#import
-#import
+#import
NS_ASSUME_NONNULL_BEGIN
@@ -40,7 +40,8 @@ RTC_OBJC_EXPORT
(RTCDataChannelDelegate)
/** The data channel state changed. */
- - (void)dataChannelDidChangeState : (RTC_OBJC_TYPE(RTCDataChannel) *)dataChannel;
+ - (void)dataChannelDidChangeState
+ : (RTC_OBJC_TYPE(RTCDataChannel) *)dataChannel;
/** The data channel successfully received a data buffer. */
- (void)dataChannel:(RTC_OBJC_TYPE(RTCDataChannel) *)dataChannel
@@ -77,7 +78,8 @@ RTC_OBJC_EXPORT
@property(nonatomic, readonly) BOOL isOrdered;
/** Deprecated. Use maxPacketLifeTime. */
-@property(nonatomic, readonly) NSUInteger maxRetransmitTime DEPRECATED_ATTRIBUTE;
+@property(nonatomic, readonly)
+ NSUInteger maxRetransmitTime DEPRECATED_ATTRIBUTE;
/**
* The length of the time window (in milliseconds) during which transmissions
diff --git a/WebRTC.xcframework/ios-arm64_x86_64-simulator/WebRTC.framework/Headers/RTCDataChannelConfiguration.h b/AntMedia_WebRTC.xcframework/ios-arm64/AntMedia_WebRTC.framework/Headers/RTCDataChannelConfiguration.h
similarity index 97%
rename from WebRTC.xcframework/ios-arm64_x86_64-simulator/WebRTC.framework/Headers/RTCDataChannelConfiguration.h
rename to AntMedia_WebRTC.xcframework/ios-arm64/AntMedia_WebRTC.framework/Headers/RTCDataChannelConfiguration.h
index b1d8d770..bb8e597f 100644
--- a/WebRTC.xcframework/ios-arm64_x86_64-simulator/WebRTC.framework/Headers/RTCDataChannelConfiguration.h
+++ b/AntMedia_WebRTC.xcframework/ios-arm64/AntMedia_WebRTC.framework/Headers/RTCDataChannelConfiguration.h
@@ -11,7 +11,7 @@
#import
#import
-#import
+#import
NS_ASSUME_NONNULL_BEGIN
diff --git a/WebRTC.xcframework/ios-arm64/WebRTC.framework/Headers/RTCDefaultVideoDecoderFactory.h b/AntMedia_WebRTC.xcframework/ios-arm64/AntMedia_WebRTC.framework/Headers/RTCDefaultVideoDecoderFactory.h
similarity index 76%
rename from WebRTC.xcframework/ios-arm64/WebRTC.framework/Headers/RTCDefaultVideoDecoderFactory.h
rename to AntMedia_WebRTC.xcframework/ios-arm64/AntMedia_WebRTC.framework/Headers/RTCDefaultVideoDecoderFactory.h
index 5d10e47b..6be40af8 100644
--- a/WebRTC.xcframework/ios-arm64/WebRTC.framework/Headers/RTCDefaultVideoDecoderFactory.h
+++ b/AntMedia_WebRTC.xcframework/ios-arm64/AntMedia_WebRTC.framework/Headers/RTCDefaultVideoDecoderFactory.h
@@ -10,14 +10,14 @@
#import
-#import
-#import
+#import
+#import
NS_ASSUME_NONNULL_BEGIN
-/** This decoder factory include support for all codecs bundled with WebRTC. If using custom
- * codecs, create custom implementations of RTCVideoEncoderFactory and
- * RTCVideoDecoderFactory.
+/** This decoder factory include support for all codecs bundled with WebRTC. If
+ * using custom codecs, create custom implementations of RTCVideoEncoderFactory
+ * and RTCVideoDecoderFactory.
*/
RTC_OBJC_EXPORT
@interface RTC_OBJC_TYPE (RTCDefaultVideoDecoderFactory) : NSObject
diff --git a/WebRTC.xcframework/ios-arm64/WebRTC.framework/Headers/RTCDefaultVideoEncoderFactory.h b/AntMedia_WebRTC.xcframework/ios-arm64/AntMedia_WebRTC.framework/Headers/RTCDefaultVideoEncoderFactory.h
similarity index 79%
rename from WebRTC.xcframework/ios-arm64/WebRTC.framework/Headers/RTCDefaultVideoEncoderFactory.h
rename to AntMedia_WebRTC.xcframework/ios-arm64/AntMedia_WebRTC.framework/Headers/RTCDefaultVideoEncoderFactory.h
index cef7adc4..5e966c8f 100644
--- a/WebRTC.xcframework/ios-arm64/WebRTC.framework/Headers/RTCDefaultVideoEncoderFactory.h
+++ b/AntMedia_WebRTC.xcframework/ios-arm64/AntMedia_WebRTC.framework/Headers/RTCDefaultVideoEncoderFactory.h
@@ -10,14 +10,14 @@
#import
-#import
-#import
+#import
+#import
NS_ASSUME_NONNULL_BEGIN
-/** This encoder factory include support for all codecs bundled with WebRTC. If using custom
- * codecs, create custom implementations of RTCVideoEncoderFactory and
- * RTCVideoDecoderFactory.
+/** This encoder factory include support for all codecs bundled with WebRTC. If
+ * using custom codecs, create custom implementations of RTCVideoEncoderFactory
+ * and RTCVideoDecoderFactory.
*/
RTC_OBJC_EXPORT
@interface RTC_OBJC_TYPE (RTCDefaultVideoEncoderFactory) : NSObject
diff --git a/WebRTC.xcframework/ios-arm64/WebRTC.framework/Headers/RTCDispatcher.h b/AntMedia_WebRTC.xcframework/ios-arm64/AntMedia_WebRTC.framework/Headers/RTCDispatcher.h
similarity index 94%
rename from WebRTC.xcframework/ios-arm64/WebRTC.framework/Headers/RTCDispatcher.h
rename to AntMedia_WebRTC.xcframework/ios-arm64/AntMedia_WebRTC.framework/Headers/RTCDispatcher.h
index 9a14c39a..d969b469 100644
--- a/WebRTC.xcframework/ios-arm64/WebRTC.framework/Headers/RTCDispatcher.h
+++ b/AntMedia_WebRTC.xcframework/ios-arm64/AntMedia_WebRTC.framework/Headers/RTCDispatcher.h
@@ -10,7 +10,7 @@
#import
-#import
+#import
typedef NS_ENUM(NSInteger, RTCDispatcherQueueType) {
// Main dispatcher queue.
@@ -36,7 +36,8 @@ RTC_OBJC_EXPORT
* @param dispatchType The queue type to dispatch on.
* @param block The block to dispatch asynchronously.
*/
-+ (void)dispatchAsyncOnType:(RTCDispatcherQueueType)dispatchType block:(dispatch_block_t)block;
++ (void)dispatchAsyncOnType:(RTCDispatcherQueueType)dispatchType
+ block:(dispatch_block_t)block;
/** Returns YES if run on queue for the dispatchType otherwise NO.
* Useful for asserting that a method is run on a correct queue.
diff --git a/WebRTC.xcframework/ios-arm64_x86_64-simulator/WebRTC.framework/Headers/RTCDtmfSender.h b/AntMedia_WebRTC.xcframework/ios-arm64/AntMedia_WebRTC.framework/Headers/RTCDtmfSender.h
similarity index 85%
rename from WebRTC.xcframework/ios-arm64_x86_64-simulator/WebRTC.framework/Headers/RTCDtmfSender.h
rename to AntMedia_WebRTC.xcframework/ios-arm64/AntMedia_WebRTC.framework/Headers/RTCDtmfSender.h
index 8c8b1d3f..ebae48d6 100644
--- a/WebRTC.xcframework/ios-arm64_x86_64-simulator/WebRTC.framework/Headers/RTCDtmfSender.h
+++ b/AntMedia_WebRTC.xcframework/ios-arm64/AntMedia_WebRTC.framework/Headers/RTCDtmfSender.h
@@ -10,7 +10,7 @@
#import
-#import
+#import
NS_ASSUME_NONNULL_BEGIN
@@ -20,8 +20,9 @@ RTC_OBJC_EXPORT
/**
* Returns true if this RTCDtmfSender is capable of sending DTMF. Otherwise
- * returns false. To be able to send DTMF, the associated RTCRtpSender must be
- * able to send packets, and a "telephone-event" codec must be negotiated.
+ * returns false. To be able to send DTMF, the associated RTCRtpSender must
+ * be able to send packets, and a "telephone-event" codec must be
+ * negotiated.
*/
@property(nonatomic, readonly) BOOL canInsertDtmf;
@@ -54,15 +55,16 @@ RTC_OBJC_EXPORT
- (nonnull NSString *)remainingTones;
/**
- * The current tone duration value. This value will be the value last set via the
- * insertDtmf method, or the default value of 100 ms if insertDtmf was never called.
+ * The current tone duration value. This value will be the value last set via
+ * the insertDtmf method, or the default value of 100 ms if insertDtmf was never
+ * called.
*/
- (NSTimeInterval)duration;
/**
- * The current value of the between-tone gap. This value will be the value last set
- * via the insertDtmf() method, or the default value of 50 ms if insertDtmf() was never
- * called.
+ * The current value of the between-tone gap. This value will be the value last
+ * set via the insertDtmf() method, or the default value of 50 ms if
+ * insertDtmf() was never called.
*/
- (NSTimeInterval)interToneGap;
diff --git a/WebRTC.xcframework/ios-arm64_x86_64-simulator/WebRTC.framework/Headers/RTCEAGLVideoView.h b/AntMedia_WebRTC.xcframework/ios-arm64/AntMedia_WebRTC.framework/Headers/RTCEAGLVideoView.h
similarity index 91%
rename from WebRTC.xcframework/ios-arm64_x86_64-simulator/WebRTC.framework/Headers/RTCEAGLVideoView.h
rename to AntMedia_WebRTC.xcframework/ios-arm64/AntMedia_WebRTC.framework/Headers/RTCEAGLVideoView.h
index 4e720d37..38019b49 100644
--- a/WebRTC.xcframework/ios-arm64_x86_64-simulator/WebRTC.framework/Headers/RTCEAGLVideoView.h
+++ b/AntMedia_WebRTC.xcframework/ios-arm64/AntMedia_WebRTC.framework/Headers/RTCEAGLVideoView.h
@@ -11,9 +11,9 @@
#import
#import
-#import
-#import
-#import
+#import
+#import
+#import
NS_ASSUME_NONNULL_BEGIN
@@ -23,8 +23,8 @@ NS_ASSUME_NONNULL_BEGIN
* RTCEAGLVideoView is an RTCVideoRenderer which renders video frames
* in its bounds using OpenGLES 2.0 or OpenGLES 3.0.
*/
-RTC_OBJC_EXPORT
NS_EXTENSION_UNAVAILABLE_IOS("Rendering not available in app extensions.")
+RTC_OBJC_EXPORT
@interface RTC_OBJC_TYPE (RTCEAGLVideoView) : UIView
@property(nonatomic, weak) id delegate;
diff --git a/WebRTC.xcframework/ios-arm64_x86_64-simulator/WebRTC.framework/Headers/RTCEncodedImage.h b/AntMedia_WebRTC.xcframework/ios-arm64/AntMedia_WebRTC.framework/Headers/RTCEncodedImage.h
similarity index 95%
rename from WebRTC.xcframework/ios-arm64_x86_64-simulator/WebRTC.framework/Headers/RTCEncodedImage.h
rename to AntMedia_WebRTC.xcframework/ios-arm64/AntMedia_WebRTC.framework/Headers/RTCEncodedImage.h
index a025b584..1cc3aad9 100644
--- a/WebRTC.xcframework/ios-arm64_x86_64-simulator/WebRTC.framework/Headers/RTCEncodedImage.h
+++ b/AntMedia_WebRTC.xcframework/ios-arm64/AntMedia_WebRTC.framework/Headers/RTCEncodedImage.h
@@ -10,8 +10,8 @@
#import
-#import
-#import
+#import
+#import
NS_ASSUME_NONNULL_BEGIN
diff --git a/WebRTC.xcframework/ios-arm64_x86_64-simulator/WebRTC.framework/Headers/RTCFieldTrials.h b/AntMedia_WebRTC.xcframework/ios-arm64/AntMedia_WebRTC.framework/Headers/RTCFieldTrials.h
similarity index 56%
rename from WebRTC.xcframework/ios-arm64_x86_64-simulator/WebRTC.framework/Headers/RTCFieldTrials.h
rename to AntMedia_WebRTC.xcframework/ios-arm64/AntMedia_WebRTC.framework/Headers/RTCFieldTrials.h
index 0ddce0fd..5d675bc8 100644
--- a/WebRTC.xcframework/ios-arm64_x86_64-simulator/WebRTC.framework/Headers/RTCFieldTrials.h
+++ b/AntMedia_WebRTC.xcframework/ios-arm64/AntMedia_WebRTC.framework/Headers/RTCFieldTrials.h
@@ -10,23 +10,23 @@
#import
-#import
+#import
-/** The only valid value for the following if set is kRTCFieldTrialEnabledValue. */
-RTC_EXTERN NSString * const kRTCFieldTrialAudioForceNoTWCCKey;
-RTC_EXTERN NSString * const kRTCFieldTrialAudioForceABWENoTWCCKey;
-RTC_EXTERN NSString * const kRTCFieldTrialSendSideBweWithOverheadKey;
-RTC_EXTERN NSString * const kRTCFieldTrialFlexFec03AdvertisedKey;
-RTC_EXTERN NSString * const kRTCFieldTrialFlexFec03Key;
-RTC_EXTERN NSString * const kRTCFieldTrialH264HighProfileKey;
-RTC_EXTERN NSString * const kRTCFieldTrialMinimizeResamplingOnMobileKey;
+/** The only valid value for the following if set is kRTCFieldTrialEnabledValue.
+ */
+RTC_EXTERN NSString *const kRTCFieldTrialAudioForceABWENoTWCCKey;
+RTC_EXTERN NSString *const kRTCFieldTrialFlexFec03AdvertisedKey;
+RTC_EXTERN NSString *const kRTCFieldTrialFlexFec03Key;
+RTC_EXTERN NSString *const kRTCFieldTrialH264HighProfileKey;
+RTC_EXTERN NSString *const kRTCFieldTrialMinimizeResamplingOnMobileKey;
RTC_EXTERN NSString *const kRTCFieldTrialUseNWPathMonitor;
/** The valid value for field trials above. */
-RTC_EXTERN NSString * const kRTCFieldTrialEnabledValue;
+RTC_EXTERN NSString *const kRTCFieldTrialEnabledValue;
/** Initialize field trials using a dictionary mapping field trial keys to their
* values. See above for valid keys and values. Must be called before any other
* call into WebRTC. See: webrtc/system_wrappers/include/field_trial.h
*/
-RTC_EXTERN void RTCInitFieldTrialDictionary(NSDictionary *fieldTrials);
+RTC_EXTERN void RTCInitFieldTrialDictionary(
+ NSDictionary *fieldTrials);
diff --git a/WebRTC.xcframework/ios-arm64/WebRTC.framework/Headers/RTCFileLogger.h b/AntMedia_WebRTC.xcframework/ios-arm64/AntMedia_WebRTC.framework/Headers/RTCFileLogger.h
similarity index 92%
rename from WebRTC.xcframework/ios-arm64/WebRTC.framework/Headers/RTCFileLogger.h
rename to AntMedia_WebRTC.xcframework/ios-arm64/AntMedia_WebRTC.framework/Headers/RTCFileLogger.h
index 84924c58..47345b17 100644
--- a/WebRTC.xcframework/ios-arm64/WebRTC.framework/Headers/RTCFileLogger.h
+++ b/AntMedia_WebRTC.xcframework/ios-arm64/AntMedia_WebRTC.framework/Headers/RTCFileLogger.h
@@ -10,7 +10,7 @@
#import
-#import
+#import
typedef NS_ENUM(NSUInteger, RTCFileLoggerSeverity) {
RTCFileLoggerSeverityVerbose,
@@ -52,11 +52,13 @@ RTC_OBJC_EXPORT
- (instancetype)init;
// Create file logger with default rotation type.
-- (instancetype)initWithDirPath:(NSString *)dirPath maxFileSize:(NSUInteger)maxFileSize;
+- (instancetype)initWithDirPath:(NSString *)dirPath
+ maxFileSize:(NSUInteger)maxFileSize;
- (instancetype)initWithDirPath:(NSString *)dirPath
maxFileSize:(NSUInteger)maxFileSize
- rotationType:(RTCFileLoggerRotationType)rotationType NS_DESIGNATED_INITIALIZER;
+ rotationType:(RTCFileLoggerRotationType)rotationType
+ NS_DESIGNATED_INITIALIZER;
// Starts writing WebRTC logs to disk if not already started. Overwrites any
// existing file(s).
diff --git a/WebRTC.xcframework/ios-arm64_x86_64-simulator/WebRTC.framework/Headers/RTCFileVideoCapturer.h b/AntMedia_WebRTC.xcframework/ios-arm64/AntMedia_WebRTC.framework/Headers/RTCFileVideoCapturer.h
similarity index 96%
rename from WebRTC.xcframework/ios-arm64_x86_64-simulator/WebRTC.framework/Headers/RTCFileVideoCapturer.h
rename to AntMedia_WebRTC.xcframework/ios-arm64/AntMedia_WebRTC.framework/Headers/RTCFileVideoCapturer.h
index 38f65f81..b5a97f80 100644
--- a/WebRTC.xcframework/ios-arm64_x86_64-simulator/WebRTC.framework/Headers/RTCFileVideoCapturer.h
+++ b/AntMedia_WebRTC.xcframework/ios-arm64/AntMedia_WebRTC.framework/Headers/RTCFileVideoCapturer.h
@@ -10,7 +10,7 @@
#import
-#import
+#import
NS_ASSUME_NONNULL_BEGIN
diff --git a/WebRTC.xcframework/ios-arm64_x86_64-simulator/WebRTC.framework/Headers/RTCH264ProfileLevelId.h b/AntMedia_WebRTC.xcframework/ios-arm64/AntMedia_WebRTC.framework/Headers/RTCH264ProfileLevelId.h
similarity index 74%
rename from WebRTC.xcframework/ios-arm64_x86_64-simulator/WebRTC.framework/Headers/RTCH264ProfileLevelId.h
rename to AntMedia_WebRTC.xcframework/ios-arm64/AntMedia_WebRTC.framework/Headers/RTCH264ProfileLevelId.h
index 92ce6f26..25232d73 100644
--- a/WebRTC.xcframework/ios-arm64_x86_64-simulator/WebRTC.framework/Headers/RTCH264ProfileLevelId.h
+++ b/AntMedia_WebRTC.xcframework/ios-arm64/AntMedia_WebRTC.framework/Headers/RTCH264ProfileLevelId.h
@@ -10,13 +10,13 @@
#import
-#import
+#import
-RTC_OBJC_EXPORT extern NSString *const kRTCVideoCodecH264Name;
-RTC_OBJC_EXPORT extern NSString *const kRTCLevel31ConstrainedHigh;
-RTC_OBJC_EXPORT extern NSString *const kRTCLevel31ConstrainedBaseline;
-RTC_OBJC_EXPORT extern NSString *const kRTCMaxSupportedH264ProfileLevelConstrainedHigh;
-RTC_OBJC_EXPORT extern NSString *const kRTCMaxSupportedH264ProfileLevelConstrainedBaseline;
+RTC_EXTERN NSString *const kRTCVideoCodecH264Name;
+RTC_EXTERN NSString *const kRTCLevel31ConstrainedHigh;
+RTC_EXTERN NSString *const kRTCLevel31ConstrainedBaseline;
+RTC_EXTERN NSString *const kRTCMaxSupportedH264ProfileLevelConstrainedHigh;
+RTC_EXTERN NSString *const kRTCMaxSupportedH264ProfileLevelConstrainedBaseline;
/** H264 Profiles and levels. */
typedef NS_ENUM(NSUInteger, RTCH264Profile) {
@@ -55,6 +55,7 @@ RTC_OBJC_EXPORT
@property(nonatomic, readonly) NSString *hexString;
- (instancetype)initWithHexString:(NSString *)hexString;
-- (instancetype)initWithProfile:(RTCH264Profile)profile level:(RTCH264Level)level;
+- (instancetype)initWithProfile:(RTCH264Profile)profile
+ level:(RTCH264Level)level;
@end
diff --git a/WebRTC.xcframework/ios-arm64/WebRTC.framework/Headers/RTCI420Buffer.h b/AntMedia_WebRTC.xcframework/ios-arm64/AntMedia_WebRTC.framework/Headers/RTCI420Buffer.h
similarity index 93%
rename from WebRTC.xcframework/ios-arm64/WebRTC.framework/Headers/RTCI420Buffer.h
rename to AntMedia_WebRTC.xcframework/ios-arm64/AntMedia_WebRTC.framework/Headers/RTCI420Buffer.h
index 54c32408..8d81466f 100644
--- a/WebRTC.xcframework/ios-arm64/WebRTC.framework/Headers/RTCI420Buffer.h
+++ b/AntMedia_WebRTC.xcframework/ios-arm64/AntMedia_WebRTC.framework/Headers/RTCI420Buffer.h
@@ -10,7 +10,7 @@
#import
-#import
+#import
NS_ASSUME_NONNULL_BEGIN
diff --git a/WebRTC.xcframework/ios-arm64_x86_64-simulator/WebRTC.framework/Headers/RTCIceCandidate.h b/AntMedia_WebRTC.xcframework/ios-arm64/AntMedia_WebRTC.framework/Headers/RTCIceCandidate.h
similarity index 91%
rename from WebRTC.xcframework/ios-arm64_x86_64-simulator/WebRTC.framework/Headers/RTCIceCandidate.h
rename to AntMedia_WebRTC.xcframework/ios-arm64/AntMedia_WebRTC.framework/Headers/RTCIceCandidate.h
index 7ac87b28..7f77a921 100644
--- a/WebRTC.xcframework/ios-arm64_x86_64-simulator/WebRTC.framework/Headers/RTCIceCandidate.h
+++ b/AntMedia_WebRTC.xcframework/ios-arm64/AntMedia_WebRTC.framework/Headers/RTCIceCandidate.h
@@ -10,7 +10,7 @@
#import
-#import
+#import
NS_ASSUME_NONNULL_BEGIN
@@ -42,7 +42,8 @@ RTC_OBJC_EXPORT
*/
- (instancetype)initWithSdp:(NSString *)sdp
sdpMLineIndex:(int)sdpMLineIndex
- sdpMid:(nullable NSString *)sdpMid NS_DESIGNATED_INITIALIZER;
+ sdpMid:(nullable NSString *)sdpMid
+ NS_DESIGNATED_INITIALIZER;
@end
diff --git a/WebRTC.xcframework/ios-arm64_x86_64-simulator/WebRTC.framework/Headers/RTCIceCandidateErrorEvent.h b/AntMedia_WebRTC.xcframework/ios-arm64/AntMedia_WebRTC.framework/Headers/RTCIceCandidateErrorEvent.h
similarity index 72%
rename from WebRTC.xcframework/ios-arm64_x86_64-simulator/WebRTC.framework/Headers/RTCIceCandidateErrorEvent.h
rename to AntMedia_WebRTC.xcframework/ios-arm64/AntMedia_WebRTC.framework/Headers/RTCIceCandidateErrorEvent.h
index 80fd1db2..844a2458 100644
--- a/WebRTC.xcframework/ios-arm64_x86_64-simulator/WebRTC.framework/Headers/RTCIceCandidateErrorEvent.h
+++ b/AntMedia_WebRTC.xcframework/ios-arm64/AntMedia_WebRTC.framework/Headers/RTCIceCandidateErrorEvent.h
@@ -10,7 +10,7 @@
#import
-#import
+#import
NS_ASSUME_NONNULL_BEGIN
@@ -23,16 +23,19 @@ RTC_OBJC_EXPORT
/** The port used to communicate with the STUN or TURN server. */
@property(nonatomic, readonly) int port;
-/** The STUN or TURN URL that identifies the STUN or TURN server for which the failure occurred. */
+/** The STUN or TURN URL that identifies the STUN or TURN server for which the
+ * failure occurred. */
@property(nonatomic, readonly) NSString *url;
-/** The numeric STUN error code returned by the STUN or TURN server. If no host candidate can reach
- * the server, errorCode will be set to the value 701 which is outside the STUN error code range.
- * This error is only fired once per server URL while in the RTCIceGatheringState of "gathering". */
+/** The numeric STUN error code returned by the STUN or TURN server. If no host
+ * candidate can reach the server, errorCode will be set to the value 701 which
+ * is outside the STUN error code range. This error is only fired once per
+ * server URL while in the RTCIceGatheringState of "gathering". */
@property(nonatomic, readonly) int errorCode;
-/** The STUN reason text returned by the STUN or TURN server. If the server could not be reached,
- * errorText will be set to an implementation-specific value providing details about the error. */
+/** The STUN reason text returned by the STUN or TURN server. If the server
+ * could not be reached, errorText will be set to an implementation-specific
+ * value providing details about the error. */
@property(nonatomic, readonly) NSString *errorText;
- (instancetype)init NS_DESIGNATED_INITIALIZER;
diff --git a/WebRTC.xcframework/ios-arm64_x86_64-simulator/WebRTC.framework/Headers/RTCIceServer.h b/AntMedia_WebRTC.xcframework/ios-arm64/AntMedia_WebRTC.framework/Headers/RTCIceServer.h
similarity index 88%
rename from WebRTC.xcframework/ios-arm64_x86_64-simulator/WebRTC.framework/Headers/RTCIceServer.h
rename to AntMedia_WebRTC.xcframework/ios-arm64/AntMedia_WebRTC.framework/Headers/RTCIceServer.h
index e5fbfe8b..3544bc74 100644
--- a/WebRTC.xcframework/ios-arm64_x86_64-simulator/WebRTC.framework/Headers/RTCIceServer.h
+++ b/AntMedia_WebRTC.xcframework/ios-arm64/AntMedia_WebRTC.framework/Headers/RTCIceServer.h
@@ -10,7 +10,7 @@
#import
-#import
+#import
typedef NS_ENUM(NSUInteger, RTCTlsCertPolicy) {
RTCTlsCertPolicySecure,
@@ -100,13 +100,14 @@ RTC_OBJC_EXPORT
* optional credential, TLS cert policy, hostname, ALPN protocols and
* elliptic curves.
*/
-- (instancetype)initWithURLStrings:(NSArray *)urlStrings
- username:(nullable NSString *)username
- credential:(nullable NSString *)credential
- tlsCertPolicy:(RTCTlsCertPolicy)tlsCertPolicy
- hostname:(nullable NSString *)hostname
- tlsAlpnProtocols:(nullable NSArray *)tlsAlpnProtocols
- tlsEllipticCurves:(nullable NSArray *)tlsEllipticCurves
+- (instancetype)
+ initWithURLStrings:(NSArray *)urlStrings
+ username:(nullable NSString *)username
+ credential:(nullable NSString *)credential
+ tlsCertPolicy:(RTCTlsCertPolicy)tlsCertPolicy
+ hostname:(nullable NSString *)hostname
+ tlsAlpnProtocols:(nullable NSArray *)tlsAlpnProtocols
+ tlsEllipticCurves:(nullable NSArray *)tlsEllipticCurves
NS_DESIGNATED_INITIALIZER;
@end
diff --git a/WebRTC.xcframework/ios-arm64_x86_64-simulator/WebRTC.framework/Headers/RTCLegacyStatsReport.h b/AntMedia_WebRTC.xcframework/ios-arm64/AntMedia_WebRTC.framework/Headers/RTCLegacyStatsReport.h
similarity index 96%
rename from WebRTC.xcframework/ios-arm64_x86_64-simulator/WebRTC.framework/Headers/RTCLegacyStatsReport.h
rename to AntMedia_WebRTC.xcframework/ios-arm64/AntMedia_WebRTC.framework/Headers/RTCLegacyStatsReport.h
index c9ce8e38..241dacba 100644
--- a/WebRTC.xcframework/ios-arm64_x86_64-simulator/WebRTC.framework/Headers/RTCLegacyStatsReport.h
+++ b/AntMedia_WebRTC.xcframework/ios-arm64/AntMedia_WebRTC.framework/Headers/RTCLegacyStatsReport.h
@@ -10,7 +10,7 @@
#import
-#import
+#import
NS_ASSUME_NONNULL_BEGIN
diff --git a/WebRTC.xcframework/ios-arm64_x86_64-simulator/WebRTC.framework/Headers/RTCLogging.h b/AntMedia_WebRTC.xcframework/ios-arm64/AntMedia_WebRTC.framework/Headers/RTCLogging.h
similarity index 85%
rename from WebRTC.xcframework/ios-arm64_x86_64-simulator/WebRTC.framework/Headers/RTCLogging.h
rename to AntMedia_WebRTC.xcframework/ios-arm64/AntMedia_WebRTC.framework/Headers/RTCLogging.h
index 36f53d83..514e5f6a 100644
--- a/WebRTC.xcframework/ios-arm64_x86_64-simulator/WebRTC.framework/Headers/RTCLogging.h
+++ b/AntMedia_WebRTC.xcframework/ios-arm64/AntMedia_WebRTC.framework/Headers/RTCLogging.h
@@ -10,7 +10,7 @@
#import
-#import
+#import
// Subset of rtc::LoggingSeverity.
typedef NS_ENUM(NSInteger, RTCLoggingSeverity) {
@@ -34,9 +34,12 @@ RTC_EXTERN NSString* RTCFileName(const char* filePath);
// Some convenience macros.
-#define RTCLogString(format, ...) \
- [NSString stringWithFormat:@"(%@:%d %s): " format, RTCFileName(__FILE__), \
- __LINE__, __FUNCTION__, ##__VA_ARGS__]
+#define RTCLogString(format, ...) \
+ [NSString stringWithFormat:@"(%@:%d %s): " format, \
+ RTCFileName(__FILE__), \
+ __LINE__, \
+ __FUNCTION__, \
+ ##__VA_ARGS__]
#define RTCLogFormat(severity, format, ...) \
do { \
diff --git a/WebRTC.xcframework/ios-arm64_x86_64-simulator/WebRTC.framework/Headers/RTCMTLVideoView.h b/AntMedia_WebRTC.xcframework/ios-arm64/AntMedia_WebRTC.framework/Headers/RTCMTLVideoView.h
similarity index 90%
rename from WebRTC.xcframework/ios-arm64_x86_64-simulator/WebRTC.framework/Headers/RTCMTLVideoView.h
rename to AntMedia_WebRTC.xcframework/ios-arm64/AntMedia_WebRTC.framework/Headers/RTCMTLVideoView.h
index 66789d50..be50ee2d 100644
--- a/WebRTC.xcframework/ios-arm64_x86_64-simulator/WebRTC.framework/Headers/RTCMTLVideoView.h
+++ b/AntMedia_WebRTC.xcframework/ios-arm64/AntMedia_WebRTC.framework/Headers/RTCMTLVideoView.h
@@ -10,9 +10,9 @@
#import
-#import
-#import
-#import
+#import