Giter Site home page Giter Site logo

AgoraRTCException: AgoraRTCError NOT_SUPPORTED: your browser does not support setting the audio output device about api-examples-web HOT 5 CLOSED

agoraio avatar agoraio commented on July 22, 2024
AgoraRTCException: AgoraRTCError NOT_SUPPORTED: your browser does not support setting the audio output device

from api-examples-web.

Comments (5)

plutoless avatar plutoless commented on July 22, 2024 1

@vietdung97 for setPlaybackDevice, this api is no longer supported.
For the second issue it looks like network issue, what kind of network are you in? does this demo work for you?
https://webdemo.agora.io/

from api-examples-web.

vietdung97 avatar vietdung97 commented on July 22, 2024

When I remove this line: await localAudio.setPlaybackDevice(outputId); The new error occurred
AgoraRTCException: AgoraRTCError EXCHANGE_SDP_FAILED: P2PConnection.connect failed; OperationError: Failed to execute 'setLocalDescription' on 'RTCPeerConnection': Failed to set local offer sdp: A BUNDLE group contains a MID='0' matching no m= section.
image
I think client.publish is having problems in https production, but on localhost:3000 that's work normally

from api-examples-web.

vietdung97 avatar vietdung97 commented on July 22, 2024

@plutoless So I can't change the output (have to change it manually on the computer) and can only change the microphone in the code, right?
For the second issue, I fixed this by upgrade version "next" to 13.1.1.

from api-examples-web.

plutoless avatar plutoless commented on July 22, 2024

@vietdung97 for playout you are right it's suggested to do it manually on the computer. i'm not sure what you mean by "can only change the microphone in the code"

from api-examples-web.

vietdung97 avatar vietdung97 commented on July 22, 2024

@plutoless thanks. I mean the function await localAudio.setDevice(inputId);

from api-examples-web.

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.