Comments (2)
建议使用 div 标签。SDK 会在 view 参数指定的标签下,创建 video 标签播放视频。
如果 view 使用 video 标签,则会出现如下情况:
<video> // 您创建的 video 标签。
<video></video> // 这个是 sdk 生成的 video 标签,浏览器不会渲染 video 标签内部的元素,因此 sdk 创建的 video 标签是看不到的。
</video>
from trtc_web.
若您需要自定义采集和自定义渲染,可以参考这个文章:https://web.sdk.qcloud.com/trtc/webrtc/v5/doc/zh-cn/tutorial-20-advanced-customized-capture-rendering.html
from trtc_web.
Related Issues (14)
- getDisplayMedia api能否获取到4K的高清分辨率? HOT 1
- Where is the license terms? HOT 1
- 怎样将采集的本地音频流,获取出来有相应的接口吗 HOT 1
- 所有的方法都挂载在 TRTC 上,如何做到 Tree Shaking ? HOT 3
- 直播流能区分客户端吗? HOT 2
- 5.x不支持辅流自定义采集 HOT 4
- 用户进房事件
- 加入房间时报错 UNKNOWN_ERROR: 'enterRoom' throw unknown exception, error: TypeError: Cannot read properties of undefined (reading 'userId'). HOT 5
- local暂停摄像头采集后恢复,remote无法恢复 HOT 5
- linux下没有对应的SDK,目前只能通过webRTC实现么 HOT 3
- 是否支持多端语音通话,仅有一端发布视频流,其余可以观看该直播和语音连麦。 HOT 1
- H5端在当前页面视频录制后没有声音?IOS无法播放语音 HOT 12
- [Q&A]改变了宫格布局,DOM结构变化了,如何重新更新显示? HOT 2
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 trtc_web.