- Commented not necessary code in user-settings which forced a new publisher init if device labels were empty
- Added more conditional cases initializing the default publisher in webrtc service
- Added video background color
Fill a new SessionProperties member "forcedVideoCodecResolved" to
contain the resolved value of "forcedVideoCodec", once the new
MEDIA_SERVER_PREFERRED has been taken into account and translated into
the appropriate option for each media server.
The logic to decide how to translate MEDIA_SERVER_PREFERRED into a
concrete forcedVideoCodec value is placed once in the REST entry point
of session creation (SessionRestController.java). Afterwards,
SessionProperties is just used as a simple storage for all session
features, and serialized / passed around between server and client.
MEDIA_SERVER_PREFERRED: A recommended choice is done for you,
based on the media server that is currently in use.
This is the default setting, and is equivalent to these values:
- For *mediasoup*, `NONE` is selected.
- For *Kurento*, `VP8` is selected.
Simulcast is a per-Publisher configuration that allows to enable
Simulcast senders on the client's PeerConnection of each sender.
Simulcast is a WebRTC feature that sends multiple simultaneous streams
with different video qualities, in order to let the media server decide
which quality is best for which Subscriber on the receiving side.
Enabled by default.
Set `matchKeys` to `false`, because the webhook properties in the server
response are actually **optional**, so they cannot be enforced here.
When the server runs with OPENVIDU_WEBHOOK=false, then none of
OPENVIDU_WEBHOOK_ENDPOINT, OPENVIDU_WEBHOOK_HEADERS, or
OPENVIDU_WEBHOOK_EVENTS will exist on the actual JSON.
Change the script (error checking, code style, etc) to match the one
used in openvidu-mediasoup-controller, so both are easier to maintain.
* Relevant change: use wget (leaner, faster) instead of curl.
* All others are minor changes.