You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Cannot remove an observer <AVCaptureMultiCamSession 0x301ef44e0> for the key path \"enabled\" from <AVCaptureConnection 0x301e2ec60> because it is not registered as an observer.
#687
Open
lurongshuang opened this issue
Jan 16, 2025
· 0 comments
Flutter console log:
Cannot remove an observer <AVCaptureMultiCamSession 0x301ef44e0> for the key path "enabled" from <AVCaptureConnection 0x301e2ec60> because it is not registered as an observer.
Future<bool?> setPixels(UNEEDVideoParameters parameters) async {
if (_room == null || _room?.localParticipant == null) {
return Future.value(false);
}
var cameraPosition = (_room?.localParticipant?.videoTrackPublications.first
.track?.currentOptions as CameraCaptureOptions)
.cameraPosition;
var captureOptions = getCurRoom()
?.roomOptions
.defaultCameraCaptureOptions
.copyWith(params: parameters, cameraPosition: cameraPosition);
var locTrack = await LocalVideoTrack.createCameraTrack(captureOptions);
for (var el in _room?.localParticipant?.videoTrackPublications ?? []) {
_room?.localParticipant?.removePublishedTrack(el.sid);
}
await _room?.localParticipant?.publishVideoTrack(locTrack);
return Future.value(true);
}
The text was updated successfully, but these errors were encountered:
Describe the bug
Continuously switching resolution configuration will cause flashback
To Reproduce
Expected behavior
Platform information
iphone 12 pro 18.1.1
zh-Hans-CN)
Cannot remove an observer <AVCaptureMultiCamSession 0x301ef44e0> for the key path "enabled" from <AVCaptureConnection 0x301e2ec60> because it is not registered as an observer.
The text was updated successfully, but these errors were encountered: