Comments (8)
It looks like you need to set the video resolution:https://docs.agora.io/en/Video/video_profile_web?platform=Web
from eeducation.
Is this configure only for the broadcasting side(local stream)? I set up the Screen Profile via setScreenProfile() (cause I used the screen sharing stream) for the local stream, but it not worked.
from eeducation.
setScreenProfile is for screenshare. you will need to use setVideoProfile or setVideoEncoderConfiguration for camera.
from eeducation.
What I need is the share screen video ratio in the client side. @plutoless
from eeducation.
I ran this demo, and it keep the same ratio for both broadcasting side and client side. But I can't find which configure make it do that.
from eeducation.
In demo, we use the CSS property object-fit: contain!important;
to control the client display.
However, there is a compatibility problem with this property. You need to adjust it yourself.
from eeducation.
@srs888001 Got it, Thank you.
from eeducation.
@srs888001 It seems that all the modern browsers are support this property.
https://developer.mozilla.org/en-US/docs/Web/CSS/object-fit
from eeducation.
Related Issues (20)
- ReferenceError: self is not defined HOT 4
- S3 instead of Alibaba Cloud Object Storage Service HOT 2
- Files uploaded not showing on whiteboard HOT 6
- 有eEducation server 端的demo吗? HOT 8
- If the user close the browser directly, how can I force the client leave the channel?
- education_web正常运行起来后上传图片不显示,npm run build 打包后index.html为空白文件 HOT 16
- 运行npm run dev本地测试时显示登陆失败 HOT 2
- 关于服务器地址配置 HOT 5
- Not able to deploy the project on Google app engine over GCP HOT 1
- Internal Server Error | Code 500 HOT 8
- Web Screen Sharing will stop after some time HOT 3
- Please setting herewhite token in console ? Dashborad can't jion HOT 1
- How can I set the aggregate resolution of my video below 1280 × 720? HOT 2
- Web demo: max hosts hardcoded to 1 for big-classroom/lecture-hall? HOT 1
- how can I set file upload location in white board? HOT 5
- How to Bypass the Landing Page and Directly Start Class. (eEducation Web) HOT 1
- <--- Last few GCs ---> [56906:0x1b169f0] 50347 ms: Mark-sweep 1382.4 (1424.4) -> 1382.3 (1424.9) MB, 642.1 / 0.0 ms (average mu = 0.103, current mu = 0.008) allocation failure scavenge might not succeed [56906:0x1b169f0] 50977 ms: Mark-sweep 1383.2 (1424.9) -> 1383.1 (1426.4) MB, 628.8 / 0.0 ms (average mu = 0.055, current mu = 0.002) allocation failure scavenge might not succeed <--- JS stacktrace ---> HOT 4
- FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory HOT 2
- Audio only whiteboard HOT 1
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 eeducation.