Comments (4)
这个示例只是展示自采集 push/mediaIO api的用法,可以自行进行摄像头的设备管理
from api-examples.
好的,是不是可以理解为:
这个demo是演示自采集api用法,没有枚举当前可用摄像头并让用户选择功能,摄像头设备调用的是设备默认的,因为手机默认设备是自带摄像头,所以才导致我上述现象。
如果我上面理解正确的话,那想问一下如果我自己集成实现“设置采集设备为其他外接设备”,是需要
“先枚举出当前所有可用摄像头”
“然后参考agora官网自定义视频采集模块代码(push方式为例):private var currentCamera = 目标摄像头”
这样的逻辑对吗?(不过我暂时没有找到枚举摄像头设备的api)
from api-examples.
目前只有在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.
thx!
from api-examples.
Related Issues (20)
- io.agora.rtc.mediaio.MediaIO not found HOT 4
- Continuous Log Message in iOS 4.1.0 HOT 3
- Agora v4, External Video Source, iOS HOT 2
- Screen share not working when setExternalVideoSource
- Live Streaming uses the GlobalSettings so it does not set the user to audience when choosing that role
- Unable to set camera video and screen share both stream at the same time in on going video call for same channel.
- Handling when user click STOP SHARE button on Chrome? HOT 1
- Agora cloud recording's best fit layout is not working properly HOT 1
- Audio Issue on iPhone 14 with Agora SDK HOT 5
- 收到remote端同时的摄像头和共享桌面视频流,应该怎么分开这两个视频流用于分开显示 HOT 1
- 接口joinChannelEx返回错误码-8的问题 HOT 1
- demo
- Implement Video playback for video calls
- Issue with Agora ScreenSharing Android
- IOS demo运行项目进入崩溃 HOT 1
- engine.muteLocalAudioStream(true), it doesn't work. HOT 1
- How to use IVideoSource in agora 4.2.6 HOT 3
- enableVideoImageSource in Android SDK sample does not work HOT 1
- Agora cloud recording- failed to find worker HOT 1
- Is it possible to share screen and Video feed together in Android
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from api-examples.