Commit Graph

1614 Commits (757923bbc4a1e3db75f67b5bd418f45c6d37a3a4)

Author SHA1 Message Date
pabloFuente 9ac32da633 openvidu-server: infinite OPENVIDU_PRO_CLUSTER_RECONNECTION_TIMEOUT with -1 2022-03-29 11:16:02 +02:00
pabloFuente f70053c2f3 openvidu-server: add nodeRecovered flag to mediaNodeUsageRegistration method 2022-03-28 12:39:42 +02:00
pabloFuente 07aa22ed1d openvidu-server: remove final from UpdatableTimerTask methods 2022-03-26 16:05:38 +01:00
pabloFuente 6ee258966d openvidu-server: some protected methods to public. KmsManager refactoring of handler 2022-03-25 15:21:08 +01:00
pabloFuente 44363dbde0 openvidu-server: change mustRemoveMediaNode behavior in KmsManager 2022-03-25 14:11:28 +01:00
pabloFuente 2a3e05ef80 openvidu-server: minor refactoring of KmsManager KurentoClient events handler 2022-03-25 14:01:10 +01:00
pabloFuente 03859f5d06 Integration test: Assert.fail instead of System.err 2022-03-25 12:36:21 +01:00
pabloFuente b8079ce519 Integration tests: protect Whitebox#getInternalState 2022-03-25 12:21:56 +01:00
pabloFuente ad152fab8e Tests: protect InvocationOnMock#getArgument class cast exceptions 2022-03-24 23:08:25 +01:00
cruizba 80b097e379 deployment: change some wrong names at cloudformation lambda. Remove not needed return 2022-03-24 21:13:59 +01:00
pabloFuente 5cc6579bf0 nodeRecovered event 2022-03-24 12:34:02 +01:00
cruizba 05b8da962e deployment: Comment Cloudformation Lambda purpose 2022-03-23 17:22:09 +01:00
cruizba fa5cd75e3c deployment: Lambda to copy original AMIs in OpenVidu PRO. Better way to setup OpenVidu Security groups in Cloudformation. Remove media nodes on destroy cloudformation using Lambda" 2022-03-23 17:15:44 +01:00
pabloFuente 4e7483c235 Fix integration tests 2022-03-22 12:23:19 +01:00
pabloFuente 594d9f92f9 openvidu-server: prepare parameterized Media Node reconnection timeout 2022-03-22 10:59:47 +01:00
pabloFuente 5c209a55ba openvidu-server: rename Kms#getMediaServer to Kms#getMediaServerType 2022-03-21 14:48:21 +01:00
pabloFuente 96a0bbc155 openvidu-server: remove commented Kms#fetchMediaServerType 2022-03-21 14:46:33 +01:00
pabloFuente 6f417a001f openvidu-server: Kms#fetchMediaServerType performed in single point 2022-03-21 14:44:38 +01:00
pabloFuente 9d975d3a17 openvidu-server: MediaNodeManager 2022-03-21 13:49:30 +01:00
pabloFuente 3d3f7c1d74 Update package.json dependencies for OpenVidu dashboard 2022-03-18 15:08:03 +01:00
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 a940708f8d openvidu-server: update logback config to only log ERROR message of kurento-client 2022-03-18 13:46:00 +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
cruizba 5c5d609fc8 Deployment: Copy AMIs on first launch OpenVidu CE 2022-03-17 19:18:01 +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 993dc831c8 openvidu-server: update dashboard package.json dependencies with npm audit 2022-03-11 13:15:35 +01:00
cruizba 25bcc2cefc deployment: Move recording before sleep in testRecording.sh 2022-03-07 17:32:56 +01:00
cruizba b0fc2f986a deployment: Cache ffmpeg for AMIs on start media node 2022-03-07 14:27:41 +01:00
pabloFuente 90a665230c openvidu-server: manage INDIVIDUAL recording start uncaught error 2022-03-07 13:51:58 +01:00
pabloFuente 2dbbcfbe33 openvidu-server: extend timeouts during integration test 2022-03-04 10:48:10 +01:00
pabloFuente 08b7c19830 Update OPENVIDU_UPGRADABLE_VERSION to 2.20 in all installation scripts 2022-03-03 14:31:57 +01:00
jenkinsopenvidu 0e71cbc561 Update to version v2.21.0 2022-03-03 12:28:08 +00:00
pabloFuente 7ef258ffcc Updated docker-compose files to 2.21.0 2022-03-03 13:19:54 +01:00
pabloFuente f503d5006b openvidu-server: fix lack of media_node_id to ELK summaries 2022-03-02 15:01:58 +01:00
cruizba 773bb11e1b deployment: Short description 2022-03-01 12:29:08 +01:00
cruizba 4c23213428 deployment: Add description to label in OpenViduEdition parameter of CF 2022-03-01 12:15:10 +01:00
pabloFuente 0b0f260ec9 Remove OPENVIDU_WEBRTC_SIMULCAST property from CE application.properties 2022-03-01 11:29:49 +01:00
cruizba 7763f331bc deployment: Add openvidu edition as CF parameter 2022-03-01 10:54:29 +01:00
Juan Navarro 4d004e4a9e Review all href usages of target="_blank"
Do not force the user's browser to open new tabs when navigating within
the documentation pages. We discussed about this and agreed that doing
so is user hostile and goes away from how HTTP links have been working
for 30 years (i.e. leave users decide if THEY want a new tab or not, by
how they open the links).

Used these regexes:

From: target="blank"
To: target="_blank"

From: (\]\((?!http)[^)]+\))\{:target="_blank"\}
To: $1

From: (\]\(https?://docs.openvidu.io[^)]+\))\{:target="_blank"\}
To: $1

From: href="((?!http)\S+)" target="_blank"
To: href="$1"

From: href="(https?://docs.openvidu.io\S+)" target="_blank"
To: href="$1"
2022-02-28 13:51:44 +01:00
cruizba 6d018de09d deployment: external-turn - More explanatory comments at .env and certbot.sh 2022-02-25 20:01:51 +01:00
cruizba d708d7f757 deployment: external-turn installation files 2022-02-25 19:39:43 +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 2719540d32 openvidu: Rename IceServerPropertiesTests to IceServerPropertiesTest 2022-02-16 18:11:53 +01:00
cruizba 6b8643d6c8 Merge branch 'master' of https://github.com/OpenVidu/openvidu into feature/custom-ice-servers 2022-02-13 20:43:39 +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 f88ea86bed deployment: Fix wrong OPENVIDU_PRO_ELASTICSEARCH_MAX_DAYS_DELETE to 7 2022-02-09 13:02:58 +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
Flamenco 8f69c0d1a4
Fix typo in docs 2022-02-03 10:35:37 -05: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
cruizba e56ac82749 Bump openvidu-proxy in openvidu-pro 2022-01-30 20:31:33 +01:00
cruizba a61b6bb587 Bump docker-compose beta/dev versions 2022-01-30 20:22:28 +01:00
Juan Navarro 10f0961757 openvidu-server: Add Simulcast Publisher config
Also add setting to the .env file for PRO deployments (which can be
converted into ENTERPRISE, using mediasoup)
2022-01-28 14:59:24 +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 202e782c9d openvidu-server: disable Simulcast Publisher by default 2022-01-28 14:07:06 +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
cruizba 18f3f76b22 Revert "deployment: Disable rollback temporarly on creating AMIs"
This reverts commit dc248cae71.
2022-01-26 16:28:26 +01:00
cruizba dc248cae71 deployment: Disable rollback temporarly on creating AMIs 2022-01-26 12:52:39 +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
pabloFuente 16682c5456 Dashboard: update Angular script commands location in package.json 2022-01-10 15:41:05 +01:00
pabloFuente cb48033e72 Update to Angular Material 13 2022-01-10 15:34:12 +01:00
pabloFuente 21e81baa03 Update to Angular 13 2022-01-10 15:30:18 +01:00
pabloFuente a976ab8390 Update to Angular Material 12 2022-01-10 15:19:10 +01:00
pabloFuente 4dd688efa8 Update angular/flex-layout dependency 2022-01-10 15:16:46 +01:00
pabloFuente e8ee49c396 Update to Angular 12 2022-01-10 15:13:40 +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
Juan Navarro 162871a7dd deployment: change IP discovery script to match mediasoup-controller
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.
2021-12-24 16:05:41 +01:00
cruizba 3a59b7b921 deployment: Try to autodiscover Public IP via HTTP if DNS outgoing traffic is not enabled 2021-12-24 14:17:51 +01:00
cruizba ada2b259b7 Upload gitignore 2021-12-20 14:41:18 +01:00
cruizba 334a87acf8 Patch elasticsearch to use log4j 2.17.0 2021-12-20 14:36:35 +01:00
cruizba 3886cf1b45 deployment: On nightly, don't change tag of some images 2021-12-17 10:27:03 +01:00
cruizba 581aad38d5 Bump Dockerfile redis version 2021-12-16 23:00:39 +01:00
cruizba 1e085e5990 deployment: Use own patched elasticsearch image 2021-12-16 21:29:51 +01:00
cruizba 46a6176432 Bump nginx version. Restart nginx always 2021-12-16 17:36:38 +01:00
cruizba edfbe3104e deployment: fix nginx main process. Update nginx version 2021-12-16 17:27:32 +01:00
cruizba 9e7a073653 Deployment: use pip3 command to install cfn-hub on all environments 2021-12-11 16:47:26 +01:00
cruizba 51e1348825 Deployment: use pip3 command to install cfn-hub 2021-12-11 16:27:59 +01:00
cruizba c6dac1ad4a deployment: Use aws-cfn with python3 instead of legacy python 2 2021-12-11 16:20:06 +01:00
cruizba 0b6fb08022 deployment: ec2-instance-connect needs to be installed in AMIs 2021-12-11 15:47:51 +01:00
cruizba 54e04d7e06 Check to install only pip in AMIs in OpenVidu CE 2021-12-11 15:29:16 +01:00
pabloFuente c7f247fbe6 Test commit trigger, again 2021-12-03 11:49:10 +01:00
pabloFuente da2758a93e Test commit trigger, again 2021-12-03 11:45:27 +01:00
pabloFuente 055d99206b openvidu-server: more FormatChecker unit tests 2021-12-02 14:38:01 +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