@@ -69,6 +69,22 @@ public class RoomOptions: NSObject {
69
69
@objc
70
70
public let reportRemoteTrackStatistics : Bool
71
71
72
+ override public init ( ) {
73
+ defaultCameraCaptureOptions = CameraCaptureOptions ( )
74
+ defaultScreenShareCaptureOptions = ScreenShareCaptureOptions ( )
75
+ defaultAudioCaptureOptions = AudioCaptureOptions ( )
76
+ defaultVideoPublishOptions = VideoPublishOptions ( )
77
+ defaultAudioPublishOptions = AudioPublishOptions ( )
78
+ defaultDataPublishOptions = DataPublishOptions ( )
79
+ adaptiveStream = false
80
+ dynacast = false
81
+ stopLocalTrackOnUnpublish = true
82
+ suspendLocalVideoTracksInBackground = true
83
+ e2eeOptions = nil
84
+ reportRemoteTrackStatistics = false
85
+ }
86
+
87
+ @objc
72
88
public init ( defaultCameraCaptureOptions: CameraCaptureOptions = CameraCaptureOptions ( ) ,
73
89
defaultScreenShareCaptureOptions: ScreenShareCaptureOptions = ScreenShareCaptureOptions ( ) ,
74
90
defaultAudioCaptureOptions: AudioCaptureOptions = AudioCaptureOptions ( ) ,
@@ -80,7 +96,7 @@ public class RoomOptions: NSObject {
80
96
stopLocalTrackOnUnpublish: Bool = true ,
81
97
suspendLocalVideoTracksInBackground: Bool = true ,
82
98
e2eeOptions: E2EEOptions ? = nil ,
83
- reportTrackStatistics : Bool = false )
99
+ reportRemoteTrackStatistics : Bool = false )
84
100
{
85
101
self . defaultCameraCaptureOptions = defaultCameraCaptureOptions
86
102
self . defaultScreenShareCaptureOptions = defaultScreenShareCaptureOptions
@@ -93,7 +109,7 @@ public class RoomOptions: NSObject {
93
109
self . stopLocalTrackOnUnpublish = stopLocalTrackOnUnpublish
94
110
self . suspendLocalVideoTracksInBackground = suspendLocalVideoTracksInBackground
95
111
self . e2eeOptions = e2eeOptions
96
- reportRemoteTrackStatistics = reportTrackStatistics
112
+ self . reportRemoteTrackStatistics = reportRemoteTrackStatistics
97
113
}
98
114
99
115
// MARK: - Equal
0 commit comments