27 to 30
This commit is contained in:
parent
6a10a27f2a
commit
d78b2988f5
@ -197,7 +197,7 @@ const SmartLayout = (props) => {
|
||||
|
||||
cameraDockBounds.top = navBarHeight;
|
||||
cameraDockBounds.left = mediaAreaBounds.left;
|
||||
cameraDockBounds.right = isRTL ? sidebarSize + camerasMargin * 2 : null;
|
||||
cameraDockBounds.right = isRTL ? sidebarSize : null;
|
||||
cameraDockBounds.zIndex = 1;
|
||||
|
||||
if (mediaBounds.width < mediaAreaBounds.width) {
|
||||
|
@ -496,7 +496,13 @@ class Presentation extends PureComponent {
|
||||
}
|
||||
|
||||
zoomChanger(zoom) {
|
||||
this.setState({ zoom });
|
||||
let boundZoom = parseInt(zoom);
|
||||
if (boundZoom < HUNDRED_PERCENT) {
|
||||
boundZoom = HUNDRED_PERCENT
|
||||
} else if (boundZoom > MAX_PERCENT) {
|
||||
boundZoom = MAX_PERCENT
|
||||
}
|
||||
this.setState({ zoom: boundZoom });
|
||||
}
|
||||
|
||||
fitToWidthHandler() {
|
||||
|
@ -220,6 +220,7 @@ const UserActions = (props) => {
|
||||
<Styled.DropdownTrigger
|
||||
tabIndex={0}
|
||||
data-test="dropdownWebcamButton"
|
||||
isRTL={isRTL}
|
||||
>
|
||||
{name}
|
||||
</Styled.DropdownTrigger>
|
||||
|
@ -23,6 +23,9 @@ const DropdownTrigger = styled(DivElipsis)`
|
||||
content: "\\203a";
|
||||
position: absolute;
|
||||
transform: rotate(90deg);
|
||||
${({ isRTL }) => isRTL && `
|
||||
transform: rotate(-90deg);
|
||||
`}
|
||||
top: 45%;
|
||||
width: 0;
|
||||
line-height: 0;
|
||||
|
@ -493,6 +493,46 @@ yq e -i '.public.kurento.cameraProfiles.(id==hd).default = false' $HTML5_CONFIG
|
||||
chown meteor:meteor $HTML5_CONFIG
|
||||
```
|
||||
|
||||
#### Change screen sharing quality parameters
|
||||
|
||||
Screen sharing quality can be tweaked to either improve quality or reduce bandwidth usage.
|
||||
There are different configurations for live meetings and recordings and they need to be changed independently from each other.
|
||||
|
||||
For **recordings**, the following parameters can be changed (presentation format):
|
||||
- `/usr/local/bigbluebutton/core/scripts/presentation.yml`: `deskshare_output_width` (default: 1280)
|
||||
- `/usr/local/bigbluebutton/core/scripts/presentation.yml`: `deskshare_output_height` (default: 720)
|
||||
- `/usr/local/bigbluebutton/core/scripts/presentation.yml`: `deskshare_output_framerate` (default: 5)
|
||||
|
||||
As an example, suppose you want to increase the output resolution and framerate of the recorded screen share media to match a 1080p/15 FPS stream. The following changes would be necessary:
|
||||
- `$ yq w -i /usr/local/bigbluebutton/core/scripts/presentation.yml deskshare_output_width 1920`
|
||||
- `$ yq w -i /usr/local/bigbluebutton/core/scripts/presentation.yml deskshare_output_height 1080`
|
||||
- `$ yq w -i /usr/local/bigbluebutton/core/scripts/presentation.yml deskshare_output_framerate 15`
|
||||
|
||||
For **live meetings**, the following parameters can be changed:
|
||||
- `/etc/bigbluebutton/bbb-html5.yml`: `public.kurento.screenshare.bitrate`
|
||||
- `/etc/bigbluebutton/bbb-html5.yml`: `public.kurento.screenshare.constraints`
|
||||
|
||||
The bitrate is specified in kbps and represents screen sharing's maximum bandwidth usage. Setting it to a higher value *may* improve quality but also increase bandwidth usage, while setting it to a lower value *may* reduce quality but will reduce average bandwidth usage.
|
||||
The constraints are specified as an YAML object with the same semantics as the [MediaTrackConstraints](https://developer.mozilla.org/en-US/docs/Web/API/MediaTrackConstraints) from the WebRTC specification. We recommend checking the aforementioned MDN link as well as the [Media Capture and Streams API spec](https://www.w3.org/TR/mediacapture-streams) for an extensive list of constraints.
|
||||
To set new screen sharing constraints, translate the JSON constraints object into an YAML format object and put it into `public.kurento.screenshare.constraints`. Restart bbb-html5 afterwards.
|
||||
As an example, suppose you want to set the maximum screen sharing resolution to 1080p, alter the maxium bitrate to 2000 kbps and set a 10 FPS target. The following would need to be added to `etc/bigbluebutton/bbb-html5.yml`:
|
||||
```yaml
|
||||
public:
|
||||
kurento:
|
||||
screenshare:
|
||||
bitrate: 2000
|
||||
constraints:
|
||||
audio: true
|
||||
video:
|
||||
width:
|
||||
max: 1920
|
||||
height:
|
||||
max: 1080
|
||||
frameRate:
|
||||
ideal: 10
|
||||
max: 10
|
||||
```
|
||||
|
||||
#### Run three parallel Kurento media servers
|
||||
|
||||
[ Available since BigBluebutton 2.2.24+ ]
|
||||
|
Loading…
Reference in New Issue
Block a user