Skip to content

[Bug]: Unhandled Exception: PlatformException(channel-error, Unable to establish connection on channel: "dev.flutter.pigeon.apivideo_live_stream.CameraProviderHostApi.getAvailableCameraIds"., null, null) #99

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
2 tasks done
rr180enovate opened this issue Mar 27, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@rr180enovate
Copy link

Version

v1.2.0

Which operating systems have you used?

  • Android
  • iOS

Environment that reproduces the issue

Facing issue in iPhone and Android device.
It's not asking permission. already added.
throw error on
Testing on physical device iPhone 11 Pro.

Example working fine but when I integrate in project facing issue.

ry {
getAvailableCameraInfos()
.then((cameraInfos) => print("Available cameras: $cameraInfos"));
} catch (e) {
print(e);
}

In Given Example, access file from out side, like path ../

Is it reproducible in the example application?

Yes

RTMP Server

String rtmpUrl = "rtmp://192.168.1.12/s/"; /// The stream key String streamKey = "abcde";

Reproduction steps

direct use in pubspec.yaml without path.

apivideo_live_stream: ^1.2.0
wakelock_plus: ^1.1.4
settings_ui: ^2.0.2
native_device_orientation: ^1.2.1
pigeon: ^14.0.0

Expected result

open camera

Actual result

[Bug]: Unhandled Exception: PlatformException(channel-error, Unable to establish connection on channel: "dev.flutter.pigeon.apivideo_live_stream.CameraProviderHostApi.getAvailableCameraIds"., null, null)

it's not asking camera permission.

Additional context

Image

Relevant logs output

@rr180enovate rr180enovate added the bug Something isn't working label Mar 27, 2025
@stalteri
Copy link

its a react-native package repository, seems like you use flutter to develop

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants