780 Commits

Author SHA1 Message Date
pabloFuente
9e68dd6d10 openvidu-server: reorder KurentoClient event handlers on KmsManager 2022-03-18 14:08:20 +01:00
pabloFuente
a91fc4f870 openvidu-server: avoid Media Node removal ops if not 1st reconnection attempt 2022-03-18 14:06:43 +01:00
pabloFuente
a74decb540 openvidu-server: improve logging on Media Node reconnection method 2022-03-18 12:49:37 +01:00
pabloFuente
022a692735 openvidu-server: Kms#fetchMediaServerType (no remote operation on GET media-node) 2022-03-18 12:38:08 +01:00
pabloFuente
701e35356b Update Copyright dates 2022-03-18 10:31:19 +01:00
pabloFuente
85c0cc0584 openvidu-server: fix close session and init session race condition 2022-03-17 17:16:17 +01:00
pabloFuente
87f2613860 openvidu-server: always call WebRtcEndpoint#addIceCandidate on RPC onIceCandidate from openvidu-browser 2022-03-15 17:37:23 +01:00
pabloFuente
defba84160 openvidu-server: remove unnecessary try-catch after 2.21 in RpcHandler 2022-03-11 13:40:16 +01:00
pabloFuente
90a665230c openvidu-server: manage INDIVIDUAL recording start uncaught error 2022-03-07 13:51:58 +01:00
pabloFuente
f503d5006b openvidu-server: fix lack of media_node_id to ELK summaries 2022-03-02 15:01:58 +01:00
cruizba
d32aefb900 openvidu-server,openvidu-node-client: Typos and missing parameter in openvidu-node-client for IceServerProperties 2022-02-25 16:24:27 +01:00
cruizba
c15d6170da openvidu-server: External Turn REST API credentials: https://datatracker.ietf.org/doc/html/draft-uberti-rtcweb-turn-rest-00 2022-02-25 10:47:07 +01:00
cruizba
af5efc4de4 openvidu-server: Simplify readIceServer method to load OPENVIDU_WEBRTC_ICE_SERVERS 2022-02-24 21:59:00 +01:00
cruizba
963191fe93 openvidu: Remove not needed method 2022-02-21 22:57:23 +01:00
cruizba
8220d9e6ed openvidu-server: Minor changes on showing configuration at first run.
- Don't show on running some empty parameters on first run.
- Add post processing config for openvidu-pro to show postprocessed config parameters correctly on first run.
2022-02-21 22:19:38 +01:00
cruizba
4d579cf8b3 openvidu: Add OPENVIDU_WEBRTC_ICE_SERVERS configuration paramater 2022-02-13 19:33:41 +01:00
cruizba
0437cc9199 Add customIceServers to openvidu-node-client. Send customIceServers to openvidu-browser in 'joinRoom' response 2022-02-11 20:03:26 +01:00
cruizba
fca9c7b2ab Tests for IceServerProperties. Integrate new attribute to Connection and generation token logic 2022-02-08 20:04:51 +01:00
cruizba
3274db8a61 Merge branch 'master' of https://github.com/OpenVidu/openvidu into feature/custom-ice-servers 2022-02-07 18:13:34 +01:00
pabloFuente
14b89da6f3 openvidu-server: replace IdentifierPrefixes.MEDIA_ID with MEDIA_NODE_ID 2022-02-03 13:08:29 +01:00
pabloFuente
6fec7f7cd3 openvidu-server: add new IdentifierPrefixes.OPENVIDU_NODE_ID 2022-02-03 13:01:02 +01:00
cruizba
ad778ff0d3 openvidu-server: Add customIceServers to REST post of connection 2022-02-02 18:44:19 +01:00
Juan Navarro
eddf86f430 openvidu-server: sanitize string for custom ConnectionId 2022-01-28 14:16:04 +01:00
pabloFuente
425fe0983c openvidu-server: allow setting custom ConnectionId for debug purposes
Allows applications to set a custom string for the the connection ID,
which is a great help for debugging purposes, as it will appear in
all server logs and also will be used to set media server object names
(with obj.setName() API)
2022-01-28 14:12:21 +01:00
Juan Navarro
f05dc3db33 openvidu-server: rename Simulcast Publisher config
OPENVIDU_STREAMS_VIDEO_SIMULCAST --> OPENVIDU_WEBRTC_SIMULCAST
2022-01-28 14:06:36 +01:00
Juan Navarro
0cb9180ec5 openvidu-server+clients: add new forcedVideoCodecResolved session property
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.
2022-01-20 12:00:01 +01:00
Juan Navarro
0262c85ac0 openvidu-server: remove duplicated serialization of SessionProperties
Let SessionProperties serialize itself, instead of doing it externally
on the Session classes.
2022-01-20 12:00:01 +01:00
Juan Navarro
32fd093cf3 openvidu-server: add MEDIA_SERVER_PREFERRED as default for ForcedVideoCodec
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.
2022-01-20 12:00:01 +01:00
Juan Navarro
8e5f5d4cf4
openvidu-server, browser: Add Simulcast Publisher config (#680)
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.
2022-01-05 15:12:51 +01:00
pabloFuente
31464df41b openvidu-server: check null on turnCredentials when leaving session 2021-12-02 12:12:48 +01:00
pabloFuente
0dd32610ae openvidu-server: fix name for recording containers 2021-12-02 12:03:43 +01:00
pabloFuente
7d8221de73 openvidu-server: change recording number delimiter from - to ~ 2021-12-01 17:58:28 +01:00
pabloFuente
2aecdfad1f openvidu-server: remove unused containers Map in ComposedRecordingService 2021-12-01 17:08:13 +01:00
pabloFuente
e73ebfee78 Fix KurentoClient disconnect handler after Netty exception 2021-11-30 19:24:30 +01:00
pabloFuente
7470261345 openvidu-server: add OpenviduConfig#asOptionalStringAndNullIfBlank 2021-11-24 17:16:01 +01:00
Juan Navarro
5ea339c3cd openvidu-server: warn Publisher about useless usage of AllowTranscoding 2021-11-24 15:54:15 +01:00
pabloFuente
90b075cc7f openvidu-server: support for rtsp SSL IP cameras (rtsps://...) 2021-11-12 18:45:05 +01:00
pabloFuente
c9aed9da7b openvidu-server: revert commit reversion, without polling thread bug 2021-11-12 18:35:58 +01:00
pabloFuente
c6687efe0e Revert "openvidu-test-e2e: fix restApiProTest"
This reverts commit 10ad16464c4d402ed55f78ae0ae9bbbbfac7ea31.
2021-11-12 18:09:52 +01:00
pabloFuente
10ad16464c openvidu-test-e2e: fix restApiProTest 2021-11-11 18:50:32 +01:00
pabloFuente
a604865f65 openvidu-server: typo fixed in RpcHandler log 2021-11-11 12:01:55 +01:00
pabloFuente
f81735d7f9 openvidu-server: remove unused imports. Update deprecated docker-java methods 2021-11-10 19:45:00 +01:00
pabloFuente
47058c6292 Update Junit Jupiter versions. RecordingManager#checkRecordingPaths to protected 2021-11-09 01:17:48 +01:00
cruizba
594cd24706 openvidu-server: refactor with method Kms.getMediaServer to get which media server is running and Add it to Kms.toJsonExtended as attribute 2021-11-05 21:57:07 +01:00
Juan Navarro
cff5e634f5 openvidu-server: unify debug message in connect() methods 2021-11-05 15:52:47 +01:00
Juan Navarro
142348fcef openvidu-server: gatherCandidates() returns immediately, no need for async 2021-11-05 15:52:47 +01:00
pabloFuente
e4d0123682 openvidu-test-e2e: fix openViduJavaClientTestIpCamAndTranscoding 2021-11-03 11:09:53 +01:00
pabloFuente
ada73560d6 openvidu-server: disable KurentoClient remote operations for stopping INDIVIDUAL recording upon media server reconnection 2021-11-02 13:37:12 +01:00
Juan Navarro
a7332aac70
openvidu-server: add MKV recording profile as part of MediaServer enum (#658)
Uses the MediaServer enum to contain information that is specific about
each particular media server. Specifically,

* kurento must record with the WEBM profile and ".webm" file extension
* mediasoup must record with the MKV profile and ".mkv" file extension

Integrating this as part of the global Openvidu config object makes it
trivial to replace the static or hardcoded lines with others that simply
obtain the data from the current media server mode in use.
2021-11-02 11:40:42 +01:00
pabloFuente
9b599ebb6a openvidu-test-e2e: mediaServerReconnect tests 2021-10-30 19:28:30 +02:00