Giter VIP home page Giter VIP logo

agora-rtc-web's People

Contributors

ltsg123 avatar simo-an avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

agora-rtc-web's Issues

Install error in version 4.20.0

AgoraRTC SDK version

4.20.0

Fail Rate

1

Link to minimal reproduction

Any repo with "npm i agora-rtc-sdk-ng"

Steps to reproduce

Just run npm i agora-rtc-sdk-ng

What is expected?

Working installation

What is actually happening?

Not working :)

System Info

No response

Any additional comments?

No response

"facingMode: environment" Not Working in agora-rtc-web

Setting facingMode to environment in createMicrophoneAndCameraTracks() for CameraVideoTrackInitConfig, not switching the camera to back camera in mobile, it still using front camera.

I have added the below configuration in my code:

import IAgoraRTC, {
  createMicrophoneAndCameraTracks,
  MicrophoneAudioTrackInitConfig,
  CameraVideoTrackInitConfig,
} from "agora-rtc-react";

var audioTrackConfig:MicrophoneAudioTrackInitConfig = {
  AEC: true, //Enable acoustic echo cancellation
  AGC: true, // Enable audio gain control
  ANS: true, // Enable automatic noise suppression
}
var videoTrackConfig:CameraVideoTrackInitConfig = {
  facingMode: 'environment' // front or rear camera
}

const useMicrophoneAndCameraTracks = createMicrophoneAndCameraTracks(audioTrackConfig, videoTrackConfig);
const { ready, tracks } = useMicrophoneAndCameraTracks();

Many errors when running (statscollector-1.agora.io:6443/events/messages)

AgoraRTC SDK version

4.3.0

Fail Rate

100%

Link to minimal reproduction

https://github.com/AgoraIO-Community/VideoUIKit-Web-React

Steps to reproduce

  1. Get uBlock origin and/or Brave browser
  2. Open react app
  3. Open console
  4. Observe the error being thrown when you either have the Brave browser shields up, or the ublock origin extension is active.

What is expected?

No errors being thrown.

What is actually happening?

~4 Errors being thrown every second (amounts to thousands in a just a few minutes)
image

System Info

No response

Any additional comments?

No response

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.