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] #135

Closed
ardeshir-33033 opened this issue Apr 29, 2023 · 4 comments
Closed

[BUG] #135

ardeshir-33033 opened this issue Apr 29, 2023 · 4 comments
Assignees
Labels
bug Something isn't working

Comments

@ardeshir-33033
Copy link

Hello I am using
agora_uikit: ^1.3.2

and all of a sudden I have this error

   : Error: The argument type 'VideoSourceType' can't be assigned to the parameter type 'RtcConnection'.
rtc_event_handlers.dart:65
- 'VideoSourceType' is from 'package:agora_rtc_engine/src/agora_base.dart' ('../../.pub-cache/hosted/pub.dev/agora_rtc_engine-6.1.1/lib/src/agora_base.dart').
agora_base.dart:1
- 'RtcConnection' is from 'package:agora_rtc_engine/src/agora_rtc_engine_ex.dart' ('../../.pub-cache/hosted/pub.dev/agora_rtc_engine-6.1.1/lib/src/agora_rtc_engine_ex.dart').
agora_rtc_engine_ex.dart:1
        ?.call(connection, width, height, elapsed);
               ^
Target kernel_snapshot failed: Exception
@ardeshir-33033 ardeshir-33033 added the bug Something isn't working label Apr 29, 2023
@ardeshir-33033
Copy link
Author

i have an update on this.
when I add
agora_rtc_engine: 6.1.0 to my project this error is fixed.
it does not work with version 6.1.1.

@GhulamZakariya
Copy link

GhulamZakariya commented Apr 30, 2023

i have an update on this. when I add agora_rtc_engine: 6.1.0 to my project this error is fixed. it does not work with version 6.1.1.

but i add this still same error

Error: The argument type 'VideoSourceType' can't be assigned to the parameter type 'RtcConnection'.

  • 'VideoSourceType' is from 'package:agora_rtc_engine/src/agora_base.dart' ('../../../../.pub-cache/hosted/pub.dev/agora_rtc_engine-6.1.1/lib/src/agora_base.dart').
  • 'RtcConnection' is from 'package:agora_rtc_engine/src/agora_rtc_engine_ex.dart' ('../../../../.pub-cache/hosted/pub.dev/agora_rtc_engine-6.1.1/lib/src/agora_rtc_engine_ex.dart').
    ?.call(connection, width, height, elapsed);

@ardeshir-33033
Copy link
Author

i have an update on this. when I add agora_rtc_engine: 6.1.0 to my project this error is fixed. it does not work with version 6.1.1.

but i add this still same error

Error: The argument type 'VideoSourceType' can't be assigned to the parameter type 'RtcConnection'.

  • 'VideoSourceType' is from 'package:agora_rtc_engine/src/agora_base.dart' ('../../../../.pub-cache/hosted/pub.dev/agora_rtc_engine-6.1.1/lib/src/agora_base.dart').
  • 'RtcConnection' is from 'package:agora_rtc_engine/src/agora_rtc_engine_ex.dart' ('../../../../.pub-cache/hosted/pub.dev/agora_rtc_engine-6.1.1/lib/src/agora_rtc_engine_ex.dart').
    ?.call(connection, width, height, elapsed);

Ghulam Are you sure agora_rtc_engine version is set back to 6.1.0?
Because it seems not.
to make sure go over pubspec.lock and search for agora_rtc_engine
you can see its version there.

@tadaspetra
Copy link
Contributor

This was fixed in the #136 PR, and shouldn't have this error in v1.3.3 of the agora_uikit

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

4 participants