150 Commits

Author SHA1 Message Date
Carlos Santos
30c705e8fc Added v2compatibility suffix to node-client 2024-06-21 11:30:34 +02:00
cruizba
46ba88cf9a Revert "openvidu-node-client: Fix possible enum errors with typescript transpilation"
This reverts commit c1688c0d2a4a1a97f49357d9be09ce83ab5f8cde.
2024-05-22 13:23:48 +02:00
cruizba
c1688c0d2a openvidu-node-client: Fix possible enum errors with typescript transpilation 2024-05-22 12:43:39 +02:00
cruizba
b4b808e3f1 openvidu-node-client: Update axios version. Fix unhandled exception while fetching sessions when session is created 2023-05-18 14:16:03 +02:00
cruizba
be7634c821 openvidu-node-client: Don't handle error on fetch if session is found 2023-05-17 17:42:59 +02:00
cruizba
c0fa49af8d openvidu-node-client: Avoid multiple 'reject' calls in specific HttpErrors. Handling on errors in one place 2023-05-17 16:50:24 +02:00
csantosm
f3550c4f6a openvidu-node-client: Added custom logger. Fixes #791
Added custom logger and exported a new enableProdMode method with the aim of enabling the production mode and avoiding unnecessary logs
2023-02-22 23:56:46 +01:00
csantosm
027e85052a openvidu-node-client: Added .prettierrc file and formated the code 2023-02-22 23:23:43 +01:00
Carlos Santos
8b83bb1c05 openvidu-node-client: Fixed typo 2023-02-16 20:57:50 +01:00
pabloFuente
bd23cfcd71 Broadcast SDKs. Broadcast tests in OpenViduProTestaAppE2eTest 2023-02-16 14:43:00 +01:00
pabloFuente
f841886b52 Add broadcasting property to Session entity 2023-02-08 12:29:53 +01:00
pabloFuente
b78b127447 openvidu-java-client: refactoring to use Java HttpClient. Allow custom client 2023-01-27 16:15:32 +01:00
pabloFuente
13a0616619 openvidu-node-client: update dependencies. Update TypeDoc 2022-11-22 16:58:43 +01:00
pabloFuente
f5fc739ea1 Update OpenVidu Editions links 2022-11-02 12:17:44 +01:00
pabloFuente
d071529e12 openvidu-node-client: link to Error JS object in TypeDocs 2022-07-18 11:37:40 +02:00
Juan Navarro
ac5700cd95
Remove improper usages of SessionProperties.forcedVideoCodecResolved (#737)
forcedVideoCodecResolved is a property that gets automatically assigned
by the server and only used by it; clients don't need to know about its
existence and don't need to use it. Similarly, SessionProperties itself
should not serialize this field.
2022-06-09 15:29:23 +02:00
csantosm
2785d3c036 Revert "openvidu-node-client: Updated rejected responses"
This reverts commit df7bd5f202aa1c24cb6714ec769bb0efada9ff8b.
2022-05-31 10:44:57 +02:00
csantosm
df7bd5f202 openvidu-node-client: Updated rejected responses and dependencies
Old promises rejections return unusable responses to the client. Now they return the status code
2022-05-26 13:43:29 +02:00
pabloFuente
701e35356b Update Copyright dates 2022-03-18 10:31:19 +01:00
pabloFuente
fd1cc1a59d SDKs: document the background Session.fetch upon a 409 in OpenVidu.createSession 2022-03-11 14:34:04 +01:00
pabloFuente
918ef299ae SDKs: fetch remote session on createSession 409 2022-03-11 13:44:27 +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
d32aefb900 openvidu-server,openvidu-node-client: Typos and missing parameter in openvidu-node-client for IceServerProperties 2022-02-25 16:24:27 +01:00
Juan Navarro
c972751e42 Use explicit anchor links for INDIVIDUAL and COMPOSED recording
Use explicitly set anchor links whenever they are used elsewhere.
Otherwise, changes in header text would break all references.
2022-02-18 13:28:48 +01:00
cruizba
285ff7b8f6 Fix wrong object in openvidu-java-client. Add e2e tests for customIceServers connection property in openvidu-java-client and openvidu-node-client 2022-02-16 17:36: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
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
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
1965a6b44f Update doc API with new Typedoc camelcase syntax in links 2022-01-14 13:31:26 +01:00
cruizba
0079231967 Fix force codec H264 not working using openvidu-node-client 2021-09-24 19:58:56 +02:00
pabloFuente
58c4d565f6 Server SDKs: Connection ip property 2021-08-10 18:04:44 +02:00
Pedro Sá
2148b37974 removed double reject() call from search&replace 2021-06-09 16:49:52 +01:00
Pedro Sá
ae1c760af0 replace console.error with just reject 2021-06-09 16:46:39 +01:00
Pedro Sá
85b651cc02 remove console.error poluting console output 2021-06-09 16:22:55 +01:00
pabloFuente
390aca598b Fix tests after RecordingProperties#ignoreFailedStreams 2021-05-11 14:15:02 +02:00
pabloFuente
7e0e460078 openvidu-node-client: RecordingProperties#ignoreFailedStream 2021-05-11 13:00:08 +02:00
pabloFuente
e939245603 openvidu-node-client: sanitize default SessionProperties 2021-04-14 15:21:27 +02:00
pabloFuente
69d7912e58 openvidu-server: log ICE candidates 2021-04-13 17:58:16 +02:00
pabloFuente
08f878b8a9 openvidu-node-client: fix defaultRecordingProperties initialization 2021-04-12 13:44:12 +02:00
pabloFuente
e38c7e4a6c openvidu-java-client/openvidu-node-client: new RecordingProperties defaults 2021-04-09 17:32:33 +02:00
pabloFuente
4cc1bacc20 openvidu-java-client and openvidu-node-client: manage frameRate in recording metadata 2021-04-05 20:50:29 +02:00
pabloFuente
b774d2cefc openvidu-java-client/openvidu-node-client RecordingProperties refactoring 2021-04-05 17:06:12 +02:00
pabloFuente
0f781f44fd openvidu-node-client: send ConnectionProperties values on Session#createConnection 2021-01-25 10:51:19 +01:00
pabloFuente
49d15ffdd5 openvidu-node-client: RecordingProperties shmSize and mediaNode 2020-11-26 16:54:30 +01:00
pabloFuente
ceed7dd77b openvidu-java-client: send RecordingProperties shmSize and mediaNode 2020-11-26 16:49:45 +01:00
cruizba
7a25233b8b Force codec parameters to avoid transcoding 2020-11-19 17:06:50 +01:00
pabloFuente
df70d5ca6f openvidu-node-client: serverData fix 2020-11-19 10:36:10 +01:00
pabloFuente
0e4bbc4555 SDKs send "mediaNode" property 2020-10-26 19:22:59 +01:00
pabloFuente
64b241c170 Minor documentation fixes 2020-10-25 16:42:40 +01:00
pabloFuente
e384a07063 SDKs: SessionProperties#mediaNode 2020-10-23 22:10:15 +02:00