Commit Graph

230 Commits (dfd614a6343dd66e6b43da7e05b20a827b1866ca)

Author SHA1 Message Date
pabloFuente dfd614a634 openvidu-browser: add OpenViduAdvancedConfiguration.rtcConfiguration 2024-06-05 17:14:07 +02:00
pabloFuente d2423b012d openvidu-browser: document audioSource to "screen". Warn when no videoSource to "screen" 2023-10-05 16:54:56 +02:00
pabloFuente bbfc579161 openvidu-browser: fix object initialization type error 2023-08-21 13:17:35 +02:00
Matthias Seemann 566e52f1dd
Tolerate inaccessible localStorage
When reading from localStorage, treat security exceptions like absent values. 
This supports running in third-party contexts when cross-origin cookies are blocked by the browser.
2023-08-03 21:23:27 +02:00
pabloFuente 0b57843e84 openvidu-browser: make forceMediaReconnectionAfterNetworkDrop also affect subscribers 2023-06-28 15:46:03 +02:00
pabloFuente efcc15a109 openvidu-browser: fix wrong call to onreconnected 2023-06-27 16:20:34 +02:00
pabloFuente 58c15b0e3c openvidu-browser: bug fix when checking system requirements on motorola edge devices 2023-05-19 13:39:19 +02:00
pabloFuente fa91a529bc openvidu-browser: update Broadcasting link in Typedoc 2023-02-08 10:47:14 +01:00
pabloFuente cae40f5493 Change concept RTMP to Broadcast. Prepare openvidu-browser for broadcast events 2023-02-03 13:55:17 +01:00
pabloFuente d6acd0d321 openvidu-browser: catch unhandled error on RTCPeerConnection#addIceCandidate 2022-12-16 16:32:45 +01:00
pabloFuente b39f509562 openvidu-browser: update dependencies. Update TypeDoc to 0.24 2022-11-22 16:15:07 +01:00
pabloFuente 75eeda4aee New RPC event "speechToTextDisconnected" 2022-11-15 19:25:40 +01:00
pabloFuente 6576f40db8 openvidu-browser: restrict Device.kind string type 2022-11-15 15:49:46 +01:00
pabloFuente fc93566e04 openvidu-browser: add Types for Events 2022-11-15 15:28:55 +01:00
pabloFuente f5fc739ea1 Update OpenVidu Editions links 2022-11-02 12:17:44 +01:00
pabloFuente 0e9ae092e5 openvidu-browser: add new StreamPropertyChanged for audioTrack and videoTrack 2022-11-02 12:11:11 +01:00
pabloFuente 38a8681d17 'lang' parameter in subscribeToSpeechToText method 2022-10-21 10:32:00 +02:00
pabloFuente 9defcf4e87 openvidu-browser: final SpeechToTextEvent format 2022-10-17 12:27:23 +02:00
pabloFuente 37073bd0ec openvidu-browser: speechToText to speechToTextMessage 2022-10-10 12:04:17 +02:00
pabloFuente d700dd3e97 Speech-To-Text base support 2022-10-10 11:45:27 +02:00
csantosm 2ce54f577b openvidu-browser: Added common format config file 2022-08-17 18:05:32 +02:00
pabloFuente 5a5fcc4d5e openvidu-browser: fix typo. Add sample codes to Events 2022-08-04 17:19:46 +02:00
Juan Navarro 4a846c5f56 openvidu-browser: Node.js platform: Extend system requirements 2022-07-27 16:53:25 +02:00
Juan Navarro 2b70c12be6 openvidu-browser: Node.js platform: Use `globalThis` instead of `window`
While `window` is specific to the web browser, and `global` is specific
to Node.js, the standard `globalThis` global variable is common to both
platforms.

Thus, to make openvidu-browser more portable to Node.js, it's better to
use the common name.

More info:
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/globalThis
2022-07-27 16:53:25 +02:00
Juan Navarro 71b0e6ca43 openvidu-browser: Node.js platform: ConsoleLogger constructor
Doesn't look right that the argument is ignored and instead global
state is modified. The code later passes in `window.console` anyway,
so this doesn't really change the behavior.

However this change is important for Node.js compatibility, where
`window` is not defined.
2022-07-27 16:53:25 +02:00
pabloFuente 215f2828dd openvidu-browser: allow undefined as targetElement property. Typo fix 2022-07-14 16:44:18 +02:00
pabloFuente 8d3fe2b681 Trigger recordingStarted event for new connected participants 2022-05-27 11:13:59 +02:00
pabloFuente 5826032020 openvidu-browser: restrict updated values of VB to background image URL 2022-04-21 12:36:25 +02:00
pabloFuente a30f4dcd85 openvidu-browser: chroma virtual background 2022-04-11 23:35:54 +02:00
pabloFuente 8457592c0b openvidu-browser: modify isPro with isAtLeastPro 2022-04-06 20:02:22 +02:00
pabloFuente 41f53b9895 Support Virtual Background image 2022-04-06 19:54:41 +02:00
pabloFuente e9cdb7b131 openvidu-browser: input options for Virtual Background 2022-04-06 13:39:54 +02:00
pabloFuente 841db74c75 openvidu-browser: MVC Virtual Background 2022-04-06 13:10:18 +02: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 7cc5e0c7d0 Merge branch 'master' of https://github.com/OpenVidu/openvidu into feature/custom-ice-servers 2022-02-16 18:12:03 +01:00
Juan Navarro 97656aa9d6 openvidu-browser: Use the RTCIceCandidate constructor on new candidates
The ice candidate event provides an "RTCIceCandidateInit" object, which
should be passed to the RTCIceCandidate() constructor, to build a proper
instance of RTCIceCandidate.
2022-02-15 16:32:53 +01:00
Juan Navarro e426d223af openvidu-browser: minor changes 2022-02-15 16:32:53 +01:00
Juan Navarro 2a5174a7b5 openvidu-browser: Catch errors on WebRTC calls 2022-02-15 16:32:53 +01:00
Juan Navarro 85f0e3ecd5 openvidu-browser: Use lowercase RID for simulcast layers
Firefox converts everything to lowercase and then the RIDs wouldn't
match in the internal mediasoup lookup! So better use all lowercase for
these identifiers.
2022-02-15 16:32:53 +01:00
Juan Navarro b5e645f13d openvidu-browser: Use Track.contentHint to configure WebRTC Sender 2022-02-15 16:32:53 +01:00
Juan Navarro f10649b40c openvidu-browser: Reduce 2 nesting levels in WebRtcPeer.createOffer 2022-02-15 16:32:53 +01:00
cruizba 40ed2c5efc openvidu-browser: Add cutomIceServers from 'joinRoom' rpc message 2022-02-11 22:38:51 +01:00
csantosm 55246abc44 openvidu-browser: Enabled warning logs in production mode 2022-02-02 12:31:27 +01:00
Juan Navarro a11210a7ee openvidu-browser: adaptive simulcast config depending on source video
Do not blindly enable simulcast; instead, analyze the properties of the
source track in order to decide upon a good configuration:

* Take into account Google Chrome decision table which dictates how many
simulcast layers will be sent at most:
https://source.chromium.org/chromium/chromium/src/+/main:third_party/webrtc/media/engine/simulcast.cc;l=90-114;drc=d3251968d1b3dbe7e1353a3f15970b47173103e9

* Limit bitrate and resolution on webcam videos, or framerate on
screenshare videos.
2022-01-28 14:03:26 +01:00
pabloFuente 4fe0a4fda2 openvidu-browser: add TypeOfVideo 2022-01-27 14:42:01 +01:00
pabloFuente 3aae9a0ab1 openvidu-browser: revert wrong imports 2022-01-26 17:59:15 +01:00
pabloFuente 0010ac1157 openvidu-browser: install inherits and events packages 2022-01-26 17:38:23 +01:00
pabloFuente ad8e8938d4 openvidu-browser: ensure Promise return on every resolve and reject 2022-01-26 12:18:05 +01:00
pabloFuente 1965a6b44f Update doc API with new Typedoc camelcase syntax in links 2022-01-14 13:31:26 +01:00
pabloFuente c30091ee06 openvidu-browser: new event documentation 2022-01-13 13:54:34 +01:00