Commit Graph

484 Commits (7d88c1fafbf0e83cf4d0800033ba3fcb0901a72b)

Author SHA1 Message Date
csantosm 7296057184 openvidu-browser: Added missing return after refactoring 2022-08-18 11:11:46 +02:00
csantosm 2ce54f577b openvidu-browser: Added common format config file 2022-08-17 18:05:32 +02:00
csantosm c0e45e8df7 openvidu-browser: Refactored some methods for them to use async/await
Updated initPublisher and getUserMedia
2022-08-17 17:50:01 +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
Juan Navarro b5d7371eed openvidu-browser: Reformat function checkSystemRequirements()
It was difficult to read and modify, and the "if/else" return logic
could be simplified.

Also the comments were outdated. Remove them and let the code speak
by itself.
2022-07-27 16:53:25 +02:00
pabloFuente fd83b6693a openvidu-browser: do not force wss in token 2022-07-26 15:46:53 +02:00
pabloFuente 370a426fa9 openvidu-browser: fix targetElement types on constructors 2022-07-15 10:41:12 +02:00
pabloFuente 215f2828dd openvidu-browser: allow undefined as targetElement property. Typo fix 2022-07-14 16:44:18 +02:00
pabloFuente ce230f059a openvidu-browser: fix hark events reapplication after Publisher#replaceTrack 2022-07-07 16:49:17 +02:00
pabloFuente b99f387b4e openvidu-browser: init hark events on Publisher#replaceTrack 2022-07-07 14:28:47 +02:00
Pablo Fuente Pérez a04f43e98d
Merge pull request #726 from Flamenco/patch-2
Add space after period.
2022-07-07 07:19:56 -05:00
csantosm 03a15d1077 openvidu-browser: Fixed StreamPropertyChangedEvent when replaced tracks 2022-06-24 14:34:59 +02:00
pabloFuente 556b3a0a2b openvidu-browser: replace setAttribute('playsinline') with playsInline=true 2022-06-23 13:28:00 +02:00
pabloFuente 17ff9105aa openvidu-browser: fix echo when calling Publisher#replaceTrack 2022-06-23 13:23:36 +02:00
cruizba 789ff26cfc openvidu-server: Set default coturnIp and coturnPort in customIceServers at joinRoom RPC response, ONLY if customIceServers are not defined 2022-05-30 18:03:50 +02:00
pabloFuente 8d3fe2b681 Trigger recordingStarted event for new connected participants 2022-05-27 11:13:59 +02:00
Flamenco 75a484e831
Add space after period. 2022-05-20 13:15:33 -04:00
pabloFuente a38d6b4855 openvidu-browser: remove unused parameter in Publisher#getVideoDimensions 2022-05-10 15:45:43 +02:00
pabloFuente f735819ae2 openvidu-browser: re-apply VB filter automatically after unmute 2022-05-05 14:01:31 +02:00
pabloFuente 99cd4cdfd7 openvidu-browser: refactor replaceTrack to not override last constraints 2022-05-04 19:55:08 +02:00
pabloFuente 8550b77d17 openvidu-browser: fix removeFilter error when no filter available 2022-04-28 14:05:28 +02:00
pabloFuente 354a26c6d0 openvidu-browser: mute videoClone on VB 2022-04-28 13:43:45 +02:00
pabloFuente a209e57fd5 openvidu-browser: VB static download URL from token params 2022-04-28 12:26:23 +02:00
csantosm e819bf7b6c openvidu-browser: Fixed typo 2022-04-28 12:14:42 +02:00
pabloFuente 1517be875a openvidu-browser: get openviduServerUrl from token in VB 2022-04-28 12:10:35 +02:00
csantosm 2e39243070 openvidu-browser: Fixed typo 2022-04-28 12:01:04 +02:00
pabloFuente 1f1b54f111 openvidu-browser: fix VB edition checks 2022-04-28 11:53:24 +02:00
pabloFuente df799bfb2e openvidu-browser: fix VB when not connected to Session 2022-04-28 11:28:26 +02:00
pabloFuente 5a6b0db6f8 openvidu-browser: refactor Publisher#publishVideo method 2022-04-27 14:11:55 +02:00
pabloFuente 6c1f77dd3a openvidu-browser: rename "value" to "enabled" in publishAudio/publishVideo 2022-04-27 12:55:20 +02:00
pabloFuente 5226b6d464 VB e2e test 2022-04-27 12:05:33 +02:00
pabloFuente 1ee4a9be10 openvidu-browser: manage token on VB 2022-04-22 16:54:10 +02:00
pabloFuente 707ad3d673 openvidu-browser: fix VB clean up process to avoid errors 2022-04-22 14:56:11 +02:00
pabloFuente f91c7b1928 Virtual Background token integration 2022-04-22 11:21:42 +02:00
pabloFuente 28a6fd4064 openvidu-browser: check if Filter exists on Stream#applyFilter 2022-04-21 13:44:44 +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
pabloFuente 06f1fcbee1 openvidu-browser: improved Publisher#publishVideo turns off webcam light 2022-03-29 18:31:31 +02:00
pabloFuente a34f67639a openvidu-browser: fix StreamManager.initializeVideoProperties mirror prop 2022-03-14 12:26:03 +01:00
pabloFuente 85b6496ba0 openvidu-browser: improve video mirroring logic 2022-03-10 16:36:51 +01:00
Pablo Fuente Pérez 905b7fe281
Merge pull request #689 from Flamenco/patch-3
Ensure video element mirroring is removed
2022-03-10 16:29:27 +01:00
pabloFuente 48b8bd5c5a openvidu-browser: log error on filter event handlers when missing (https://github.com/OpenVidu/openvidu/pull/567) 2022-03-10 16:14:12 +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