Coder Social home page Coder Social logo

On iPad Safari audio track published with setEnabled(true) is not playing video even after user interaction about agorawebsdk-ng HOT 8 CLOSED

agoraio-community avatar agoraio-community commented on June 18, 2024
On iPad Safari audio track published with setEnabled(true) is not playing video even after user interaction

from agorawebsdk-ng.

Comments (8)

vvedharaju avatar vvedharaju commented on June 18, 2024 1

This is an issue from the audience end in live broadcast mode. There was one audience member on iOS safari and one on Chrome. The audio played fine for the chrome user but not safari after setEnabled(false) and then setEnabled (true). The audio is playing for newly published streams however

from agorawebsdk-ng.

disoul avatar disoul commented on June 18, 2024

Is your iPad Safari address bar has this icon when this issue occurred?
image

Seems like camera and microphone have been disabled by IOS Safari in this case.

You can try not to call AgoraRTC.getDevices before calling createMicrophoneAudioTrack/createCameraVideoTrack to avoid this problem.

from agorawebsdk-ng.

disoul avatar disoul commented on June 18, 2024

This is an issue from the audience end in live broadcast mode. There was one audience member on iOS safari and one on Chrome. The audio played fine for the chrome user but not safari after setEnabled(false) and then setEnabled (true). The audio is playing for newly published streams however

I have reproduced this issue on my iPad. We will try to fix it in the next version. Thanks for your feedback!

By the way, it will be helpful if you provide detailed steps to reproduce :-)

from agorawebsdk-ng.

vvedharaju avatar vvedharaju commented on June 18, 2024

Great! Will make sure to add steps next time 👍

from agorawebsdk-ng.

vvedharaju avatar vvedharaju commented on June 18, 2024

@disoul will this fix be included in the next version?

from agorawebsdk-ng.

albusphan avatar albusphan commented on June 18, 2024

hi @disoul , @vvedharaju do you guys have any walkaround for this issue?

from agorawebsdk-ng.

albusphan avatar albusphan commented on June 18, 2024

FYI, just test on Safari version 14 and it work fine, so maybe the issue is not relate to agora?
cc @disoul , @vvedharaju , @HAHAHA44

from agorawebsdk-ng.

HAHAHA44 avatar HAHAHA44 commented on June 18, 2024

Solved in 4.1.0

from agorawebsdk-ng.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.