@@ -168,7 +168,7 @@ final class VideoMediaAdapter: MediaAdapting, @unchecked Sendable {
168
168
func didUpdateCameraPosition(
169
169
_ position: AVCaptureDevice . Position
170
170
) async throws {
171
- try await ( localMediaManager as? LocalVideoMediaAdapter ) ?
171
+ try await ( localMediaManager as? LocalVideoMediaAdapter ) ?
172
172
. didUpdateCameraPosition ( position)
173
173
}
174
174
@@ -184,14 +184,14 @@ final class VideoMediaAdapter: MediaAdapting, @unchecked Sendable {
184
184
///
185
185
/// - Parameter factor: The zoom factor.
186
186
func zoom( by factor: CGFloat ) async throws {
187
- try await ( localMediaManager as? LocalVideoMediaAdapter ) ? . zoom ( by: factor)
187
+ try await ( localMediaManager as? LocalVideoMediaAdapter ) ? . zoom ( by: factor)
188
188
}
189
189
190
190
/// Focuses the camera at a given point.
191
191
///
192
192
/// - Parameter point: The point to focus on.
193
193
func focus( at point: CGPoint ) async throws {
194
- try await ( localMediaManager as? LocalVideoMediaAdapter ) ? . focus ( at: point)
194
+ try await ( localMediaManager as? LocalVideoMediaAdapter ) ? . focus ( at: point)
195
195
}
196
196
197
197
/// Adds a video output to the capture session.
@@ -200,7 +200,7 @@ final class VideoMediaAdapter: MediaAdapting, @unchecked Sendable {
200
200
func addVideoOutput(
201
201
_ videoOutput: AVCaptureVideoDataOutput
202
202
) async throws {
203
- try await ( localMediaManager as? LocalVideoMediaAdapter ) ? . addVideoOutput ( videoOutput)
203
+ try await ( localMediaManager as? LocalVideoMediaAdapter ) ? . addVideoOutput ( videoOutput)
204
204
}
205
205
206
206
/// Removes a video output from the capture session.
@@ -209,7 +209,7 @@ final class VideoMediaAdapter: MediaAdapting, @unchecked Sendable {
209
209
func removeVideoOutput(
210
210
_ videoOutput: AVCaptureVideoDataOutput
211
211
) async throws {
212
- try await ( localMediaManager as? LocalVideoMediaAdapter ) ? . removeVideoOutput ( videoOutput)
212
+ try await ( localMediaManager as? LocalVideoMediaAdapter ) ? . removeVideoOutput ( videoOutput)
213
213
}
214
214
215
215
/// Adds a photo output to the capture session.
@@ -218,7 +218,7 @@ final class VideoMediaAdapter: MediaAdapting, @unchecked Sendable {
218
218
func addCapturePhotoOutput(
219
219
_ capturePhotoOutput: AVCapturePhotoOutput
220
220
) async throws {
221
- try await ( localMediaManager as? LocalVideoMediaAdapter ) ?
221
+ try await ( localMediaManager as? LocalVideoMediaAdapter ) ?
222
222
. addCapturePhotoOutput ( capturePhotoOutput)
223
223
}
224
224
@@ -228,7 +228,7 @@ final class VideoMediaAdapter: MediaAdapting, @unchecked Sendable {
228
228
func removeCapturePhotoOutput(
229
229
_ capturePhotoOutput: AVCapturePhotoOutput
230
230
) async throws {
231
- try await ( localMediaManager as? LocalVideoMediaAdapter ) ?
231
+ try await ( localMediaManager as? LocalVideoMediaAdapter ) ?
232
232
. removeCapturePhotoOutput ( capturePhotoOutput)
233
233
}
234
234
0 commit comments