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

Video not play after rejoin channel #2045

Closed
2 of 5 tasks
manhpv-1697 opened this issue Oct 12, 2024 · 3 comments
Closed
2 of 5 tasks

Video not play after rejoin channel #2045

manhpv-1697 opened this issue Oct 12, 2024 · 3 comments
Labels
triage agora support waiting for customer response waiting for customer response, or closed by no-reponse bot

Comments

@manhpv-1697
Copy link

manhpv-1697 commented Oct 12, 2024

Version of the agora_rtc_engine

6.2.1
We are using flutter for lives streaming . When i leave channel and rejoin channel. Log show joinLive success but the livestream has only audio. I check log , i see when i leave channel i receive : " PlayerBase::stop() from IPlayer" but when i rejoin channel i don't see it start again. I try run your demo, it also got the same error

Platforms affected

  • Android
  • iOS
  • macOS
  • Windows
  • Web

Steps to reproduce

  1. Join channel
  2. Leave channel
  3. join channel

Expected results

  • Audio and video are playing

Actual results

only audio play

Code sample

Code sample InkWell( onTap: () { if (widget.agoraUtils?.inChannel == true) { widget.agoraUtils?.inChannel = false;
                  widget.agoraUtils?.engine().leaveChannel();
              
                } else {
                  final channel =
                      context.read<PlayVideoCubit>().getChannel();
                  widget.agoraUtils?.inChannel = true;
                  widget.agoraUtils
                      ?.engine()
                      .joinChannel(
                          token: channel!.token,
                          channelId: channel.channelId,
                          uid: channel.uid,
                          options: const ChannelMediaOptions(
                              autoSubscribeAudio: true,
                              autoSubscribeVideo: true,
                              channelProfile: ChannelProfileType.channelProfileLiveBroadcasting,
                              clientRoleType: ClientRoleType.clientRoleAudience,
                              audienceLatencyLevel: AudienceLatencyLevelType
                                  .audienceLatencyLevelLowLatency))
                      .then((value) {
                    print("vo");
                    widget.agoraUtils?.engine().enableVideo();
                    widget.agoraUtils?.engine().enableAudio();
                    print("test");
                  }, onError: (err) {
                    print(err);
                  });
                }
              },

Screenshots or Video

Screenshots / Video demonstration

[Upload media here]

Logs

Logs
[Paste your logs here]
![Uploading Screenshot 2024-10-13 at 00.08.19.png…]()

Flutter Doctor output

Doctor output
[Paste your output here]
@littleGnAl littleGnAl added triage agora support waiting for customer response waiting for customer response, or closed by no-reponse bot labels Oct 15, 2024
Copy link
Contributor

Please submit a ticket to Agora Support for further investigation of this issue. If you have any conclusions, you can share them here which may help other developers. Thanks!

Copy link
Contributor

Without additional information, we are unfortunately not sure how to resolve this issue. We are therefore reluctantly going to close this bug for now. If you find this problem please file a new issue with the same description, what happens, logs and the output. All system setups can be slightly different so it's always better to open new issues and reference the related ones. Thanks for your contribution.

Copy link
Contributor

github-actions bot commented Nov 5, 2024

This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please raise a new issue.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 5, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
triage agora support waiting for customer response waiting for customer response, or closed by no-reponse bot
Projects
None yet
Development

No branches or pull requests

2 participants