Giter Club home page Giter Club logo

Comments (4)

yoreland avatar yoreland commented on June 18, 2024

这个示例只是展示自采集 push/mediaIO api的用法,可以自行进行摄像头的设备管理

from api-examples.

Sevlt avatar Sevlt commented on June 18, 2024

好的,是不是可以理解为:
这个demo是演示自采集api用法,没有枚举当前可用摄像头并让用户选择功能,摄像头设备调用的是设备默认的,因为手机默认设备是自带摄像头,所以才导致我上述现象。

如果我上面理解正确的话,那想问一下如果我自己集成实现“设置采集设备为其他外接设备”,是需要
“先枚举出当前所有可用摄像头”
“然后参考agora官网自定义视频采集模块代码(push方式为例):private var currentCamera = 目标摄像头”
这样的逻辑对吗?(不过我暂时没有找到枚举摄像头设备的api)

from api-examples.

yoreland avatar yoreland commented on June 18, 2024

目前只有在android支持前后摄像头的枚举
https://docs.agora.io/cn/Interactive%20Broadcast/API%20Reference/java/enumio_1_1agora_1_1rtc_1_1video_1_1_camera_capturer_configuration_1_1_c_a_m_e_r_a___d_i_r_e_c_t_i_o_n.html

可以自行使用可以采集外接摄像头的库采集后使用自采集api在rtc频道内发流

from api-examples.

Sevlt avatar Sevlt commented on June 18, 2024

thx!

from api-examples.

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.