Skip to content

Commit 9a438a3

Browse files
WebRTCv3.1.0
#### Added: - Mac Catalyst support. - Simulators support. - iOS 13 support. #### Updated: - Google WebRTC updated to version 124.0.6367.88. - Logger enhanced for more effective logging. - Conference signaling mechanism improved. - RTC interfaces encapsulated for better modularity. - Camera capture queue and video capture logic optimized. - Media stream functionalities updated. - Audio track handling refactored. #### Deprecated: - Methods and classes related to call recording. #### Fixed: - Adjusted logging level settings, replacing assertions with validations. - Removed deprecated audio session logic. - Resolved inconsistencies in video frame handling. #### Minor Enhancements: - Improved compatibility and support with CocoaPods.
1 parent 0220303 commit 9a438a3

File tree

123 files changed

+3424
-980
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

123 files changed

+3424
-980
lines changed

Framework/QuickbloxWebRTC.xcframework/Info.plist

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,25 @@
55
<key>AvailableLibraries</key>
66
<array>
77
<dict>
8+
<key>BinaryPath</key>
9+
<string>QuickbloxWebRTC.framework/Versions/A/QuickbloxWebRTC</string>
810
<key>LibraryIdentifier</key>
9-
<string>ios-x86_64-simulator</string>
11+
<string>ios-arm64_x86_64-maccatalyst</string>
1012
<key>LibraryPath</key>
1113
<string>QuickbloxWebRTC.framework</string>
1214
<key>SupportedArchitectures</key>
1315
<array>
16+
<string>arm64</string>
1417
<string>x86_64</string>
1518
</array>
1619
<key>SupportedPlatform</key>
1720
<string>ios</string>
1821
<key>SupportedPlatformVariant</key>
19-
<string>simulator</string>
22+
<string>maccatalyst</string>
2023
</dict>
2124
<dict>
25+
<key>BinaryPath</key>
26+
<string>QuickbloxWebRTC.framework/QuickbloxWebRTC</string>
2227
<key>LibraryIdentifier</key>
2328
<string>ios-arm64</string>
2429
<key>LibraryPath</key>
@@ -30,6 +35,23 @@
3035
<key>SupportedPlatform</key>
3136
<string>ios</string>
3237
</dict>
38+
<dict>
39+
<key>BinaryPath</key>
40+
<string>QuickbloxWebRTC.framework/QuickbloxWebRTC</string>
41+
<key>LibraryIdentifier</key>
42+
<string>ios-arm64_x86_64-simulator</string>
43+
<key>LibraryPath</key>
44+
<string>QuickbloxWebRTC.framework</string>
45+
<key>SupportedArchitectures</key>
46+
<array>
47+
<string>arm64</string>
48+
<string>x86_64</string>
49+
</array>
50+
<key>SupportedPlatform</key>
51+
<string>ios</string>
52+
<key>SupportedPlatformVariant</key>
53+
<string>simulator</string>
54+
</dict>
3355
</array>
3456
<key>CFBundlePackageType</key>
3557
<string>XFWK</string>

Framework/QuickbloxWebRTC.xcframework/ios-arm64/QuickbloxWebRTC.framework/Headers/QBRTCAudioSession.h

Lines changed: 1 addition & 84 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
#import <Foundation/Foundation.h>
99
#import <AVFoundation/AVFoundation.h>
1010

11-
#import "QBRTCAudioSessionDelegate.h"
11+
#import <QuickbloxWebRTC/QBRTCAudioSessionDelegate.h>
1212

1313
NS_ASSUME_NONNULL_BEGIN
1414

@@ -144,87 +144,4 @@ NS_ASSUME_NONNULL_BEGIN
144144

145145
@end
146146

147-
@interface QBRTCAudioSession (Deprecated)
148-
149-
/**
150-
* Current audio device.
151-
*
152-
* @remark QBRTCAudioDeviceNotSpecified if not initialized
153-
*
154-
* @discussion Change this property value in order to change current audio device.
155-
*
156-
* @note Audio device change is being performed on background thread and is not an instant operation.
157-
* Cannot be changed if QBRTCAudioSession is not initialized.
158-
*
159-
* @warning Deprecated in 2.7.5*.
160-
*/
161-
@property (assign, nonatomic) QBRTCAudioDevice currentAudioDevice DEPRECATED_ATTRIBUTE;
162-
163-
/**
164-
* Determines whether QBRTCAudioSession is initialized and have saved previous active audio session settings.
165-
*
166-
* @warning Deprecated in 2.7.5*. Use 'isActive' instead.
167-
*/
168-
@property (nonatomic, readonly, getter=isInitialized) BOOL initialized
169-
DEPRECATED_MSG_ATTRIBUTE("Use 'isActive' instead.");
170-
171-
/**
172-
* Initialize audio session if not initialized yet.
173-
*
174-
* @discussion Initialization of QBRTCAudioSession will perform configuration of AVAudioSession shared instance.
175-
* using suggested default QBRTCAudioSessionConfiguration settings. Use 'initializeWithConfigurationBlock:' method
176-
* to perform in-depth audio session configuration.
177-
*
178-
* @note Previous configuration will be saved. In order to restore it deinitialize QBRTCAudioSession using
179-
* 'deinitialize' method.
180-
*
181-
* @code
182-
[[QBRTCAudioSession instance] initializeWithConfigurationBlock:^(QBRTCAudioSessionConfiguration *configuration) {
183-
// adding blutetooth support
184-
configuration.categoryOptions |= AVAudioSessionCategoryOptionAllowBluetooth;
185-
configuration.categoryOptions |= AVAudioSessionCategoryOptionAllowBluetoothA2DP;
186-
187-
// adding airplay support
188-
configuration.categoryOptions |= AVAudioSessionCategoryOptionAllowAirPlay;
189-
190-
if (_session.conferenceType == QBRTCConferenceTypeVideo) {
191-
// setting mode to video chat to enable airplay audio and speaker only
192-
configuration.mode = AVAudioSessionModeVideoChat;
193-
}
194-
}];
195-
* @endcode
196-
*
197-
* @return Boolean value of whether operation was successful
198-
*
199-
* @warning *Deprecated in 2.7.5*. Use 'setActive:' set to `YES` instead.
200-
*/
201-
- (BOOL)initialize __deprecated_msg("Use 'setActive:' set to `YES` instead.");
202-
203-
/**
204-
* Initialize audio session if not initialized yet using configuration block.
205-
*
206-
* @param configurationBlock configuration block
207-
*
208-
* @see QBRTCAudioSessionConfiguration class.
209-
*
210-
* @return Boolean value of whether operation was successful
211-
*
212-
* @warning *Deprecated in 2.7.5*. Use 'setConfiguration:active:' instead.
213-
*/
214-
- (BOOL)initializeWithConfigurationBlock:(nullable void(^)(QBRTCAudioSessionConfiguration *configuration))configurationBlock __deprecated_msg("Use 'setConfiguration:' or 'setConfiguration::active:' instead.");
215-
216-
/**
217-
* Deinitialize QBRTCAudioSession.
218-
*
219-
* @note Previous AVAudioSession configuration will be restored (which was saved upon
220-
* QBRTCAudioSession initialization).
221-
*
222-
* @return Boolean value of whether operation was successful
223-
*
224-
* @warning *Deprecated in 2.7.5*. Use 'setActive:' set to `NO` instead.
225-
*/
226-
- (BOOL)deinitialize __deprecated_msg("Use 'setActive:' set to `NO` instead.");
227-
228-
@end
229-
230147
NS_ASSUME_NONNULL_END

Framework/QuickbloxWebRTC.xcframework/ios-arm64/QuickbloxWebRTC.framework/Headers/QBRTCAudioTrack.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// Copyright (c) 2018 QuickBlox. All rights reserved.
66
//
77

8-
#import "QBRTCMediaStreamTrack.h"
8+
#import <QuickbloxWebRTC/QBRTCMediaStreamTrack.h>
99

1010
#import <CoreAudio/CoreAudioTypes.h>
1111
#import <CoreMedia/CoreMedia.h>
@@ -62,7 +62,7 @@ audioStreamDescription:(const AudioStreamBasicDescription)audioStreamDescription
6262
*
6363
* @see QBRTCAudioTrackSinkInterface
6464
*/
65-
- (void)addSink:(id<QBRTCAudioTrackSinkInterface>)sink;
65+
- (void)addSink:(id<QBRTCAudioTrackSinkInterface>)sink __attribute__((deprecated("addSink: method is deprecated in version 3.0.0 and not supported.")));
6666

6767
/**
6868
* Remove sink.
@@ -71,7 +71,7 @@ audioStreamDescription:(const AudioStreamBasicDescription)audioStreamDescription
7171
*
7272
* @see QBRTCAudioTrackSinkInterface
7373
*/
74-
- (void)removeSink:(id<QBRTCAudioTrackSinkInterface>)sink;
74+
- (void)removeSink:(id<QBRTCAudioTrackSinkInterface>)sink __attribute__((deprecated("removeSink: method is deprecated in version 3.0.0 and not supported.")));
7575

7676
@end
7777

Framework/QuickbloxWebRTC.xcframework/ios-arm64/QuickbloxWebRTC.framework/Headers/QBRTCBaseClient.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
//
77

88
#import <Foundation/Foundation.h>
9-
#import "QBRTCBaseClientDelegate.h"
9+
#import <QuickbloxWebRTC/QBRTCBaseClientDelegate.h>
1010

1111
NS_ASSUME_NONNULL_BEGIN
1212

Framework/QuickbloxWebRTC.xcframework/ios-arm64/QuickbloxWebRTC.framework/Headers/QBRTCBaseClientDelegate.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
#import <Foundation/Foundation.h>
99

10-
#import "QBRTCTypes.h"
10+
#import <QuickbloxWebRTC/QBRTCTypes.h>
1111

1212
@class QBRTCBaseSession;
1313
@class QBRTCStatsReport;

Framework/QuickbloxWebRTC.xcframework/ios-arm64/QuickbloxWebRTC.framework/Headers/QBRTCBaseSession.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
#import <Foundation/Foundation.h>
99

10-
#import "QBRTCTypes.h"
10+
#import <QuickbloxWebRTC/QBRTCTypes.h>
1111

1212
@class QBRTCMediaStream;
1313
@class QBRTCAudioTrack;

Framework/QuickbloxWebRTC.xcframework/ios-arm64/QuickbloxWebRTC.framework/Headers/QBRTCCameraCapture.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// Copyright (c) 2018 QuickBlox. All rights reserved.
66
//
77

8-
#import "QBRTCVideoCapture.h"
8+
#import <QuickbloxWebRTC/QBRTCVideoCapture.h>
99

1010
#import <Foundation/Foundation.h>
1111
#import <AVFoundation/AVFoundation.h>

Framework/QuickbloxWebRTC.xcframework/ios-arm64/QuickbloxWebRTC.framework/Headers/QBRTCClient.h

Lines changed: 3 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55
// Copyright (c) 2018 QuickBlox. All rights reserved.
66
//
77

8-
#import "QBRTCBaseClient.h"
8+
#import <QuickbloxWebRTC/QBRTCBaseClient.h>
99

10-
#import "QBRTCClientDelegate.h"
11-
#import "QBRTCTypes.h"
10+
#import <QuickbloxWebRTC/QBRTCClientDelegate.h>
11+
#import <QuickbloxWebRTC/QBRTCTypes.h>
1212

1313
@class QBRTCSession;
1414

@@ -65,18 +65,4 @@ NS_ASSUME_NONNULL_BEGIN
6565

6666
@end
6767

68-
@interface QBRTCClient (Deprecated)
69-
70-
/**
71-
* Deinitialize QuickbloxWebRTC
72-
* Disables SSL subsystem and signaling
73-
*
74-
* Call this method when you finish your work with QuickbloxWebRTC
75-
*
76-
* @warning *Deprecated in 2.5*. From now on QBRTCCLient managing deinitialization of webrtc on itself. Just remove usage of this method.
77-
*/
78-
+ (void)deinitializeRTC DEPRECATED_MSG_ATTRIBUTE("Deprecated in 2.5. From now on QBRTCCLient managing deinitialization of webrtc on itself. Just remove usage of this method.");
79-
80-
@end
81-
8268
NS_ASSUME_NONNULL_END

Framework/QuickbloxWebRTC.xcframework/ios-arm64/QuickbloxWebRTC.framework/Headers/QBRTCConferenceClient.h

Lines changed: 3 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55
// Copyright (c) 2018 QuickBlox. All rights reserved.
66
//
77

8-
#import "QBRTCBaseClient.h"
8+
#import <QuickbloxWebRTC/QBRTCBaseClient.h>
99

10-
#import "QBRTCConferenceClientDelegate.h"
11-
#import "QBRTCTypes.h"
10+
#import <QuickbloxWebRTC/QBRTCConferenceClientDelegate.h>
11+
#import <QuickbloxWebRTC/QBRTCTypes.h>
1212

1313
@class QBRTCConferenceSession;
1414

@@ -64,22 +64,4 @@ NS_ASSUME_NONNULL_BEGIN
6464

6565
@end
6666

67-
@interface QBRTCConferenceClient (Deprecated)
68-
69-
/**
70-
* Send create session request.
71-
*
72-
* @note Returns session without ID. When session will be created on server
73-
* ID will be assigned and session will be returned in 'didCreateNewSession:' callback.
74-
*
75-
* @see QBRTCConferenceClientDelegate
76-
*
77-
* @param chatDialogID chat dialog ID
78-
*
79-
* @warning Deprecated in 2.6.1. Use 'createSessionWithChatDialogID:conferenceType:' instead. This deprecated method will automatically create session with conference type QBRTCConferenceTypeVideo.
80-
*/
81-
- (QBRTCConferenceSession *)createSessionWithChatDialogID:(NSString *)chatDialogID DEPRECATED_MSG_ATTRIBUTE("Deprecated in 2.6.1. Use 'createSessionWithChatDialogID:conferenceType:' instead. This deprecated method will automatically create session with conference type QBRTCConferenceTypeVideo.");
82-
83-
@end
84-
8567
NS_ASSUME_NONNULL_END

Framework/QuickbloxWebRTC.xcframework/ios-arm64/QuickbloxWebRTC.framework/Headers/QBRTCConferenceClientDelegate.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
// Copyright (c) 2018 QuickBlox. All rights reserved.
66
//
77

8-
#import "QBRTCBaseClientDelegate.h"
8+
#import <QuickbloxWebRTC/QBRTCBaseClientDelegate.h>
99

10-
#import "QBRTCTypes.h"
10+
#import <QuickbloxWebRTC/QBRTCTypes.h>
1111

1212
@class QBRTCConferenceSession;
1313

0 commit comments

Comments
 (0)