Skip to content
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

[Bug]: plugin version 1.2.0 #77

Open
2 tasks done
aniketcme opened this issue Nov 12, 2024 · 1 comment
Open
2 tasks done

[Bug]: plugin version 1.2.0 #77

aniketcme opened this issue Nov 12, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@aniketcme
Copy link

Version

v1.2.0

Which operating systems have you used?

  • Android
  • iOS

Environment that reproduces the issue

if i try to clone exmple code it show difreent class and if i try to get this class in my code it not available in 1.2.0 version

like this is not showing in 1.2.0 ApiVideoLiveStreamEventsListener , getAvailableCameraInfos(),

void onConnectionSuccess() {
print('Connection succeeded');
}

void onConnectionFailed(String reason) {
print('Connection failed: $reason');
_showDialog(context, 'Connection failed', '$reason');
if (mounted) {
setIsStreaming(false);
}
}

void onDisconnection() {
showInSnackBar('Disconnected');
if (mounted) {
setIsStreaming(false);
}
}

Is it reproducible in the example application?

No

RTMP Server

null

Reproduction steps

install 1.2.0 plugin and try to import

Expected result

should available

Actual result

not showing class

Additional context

cc

Relevant logs output

vv
@aniketcme aniketcme added the bug Something isn't working label Nov 12, 2024
@ThibaultBee
Copy link
Member

Indeed, I made some changes in the main branch.
ApiVideoLiveStreamEventsListener will be a mixin, see https://github.com/apivideo/api.video-flutter-live-stream/blob/main/lib/src/listeners.dart

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