Commit Graph

643 Commits (f5e18fc11d98d28a831ab901b63afbc6f8f87dfd)

Author SHA1 Message Date
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
cruizba 80ab17ff92 openvidu-browser, openvidu-node-client, openvidu-testapp: Update to lockversion v2 and fixes for npm v8 build 2022-04-12 14:42:12 +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
jenkinsopenvidu 0e71cbc561 Update to version v2.21.0 2022-03-03 12:28:08 +00: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
Juan Navarro 1173f04abc openvidu-browser: Log MediaStream ID instead of whole object
Log the MediaStream ID, which is a string, instead of the mediaStream
object, which showed up as "[object MediaStream]" in the logs.
2022-02-28 13:51:44 +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 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 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 40ed2c5efc openvidu-browser: Add cutomIceServers from 'joinRoom' rpc message 2022-02-11 22:38:51 +01:00
csantosm af818b66f6 openvidu-browser: Fixed bug using speaking events
Subscribing to start/stop speaking events, the speechEvent object (which is undefined) is trying to invoke to 'on' method. This prevents the correct behaviour of the stop/start speaking events.
2022-02-11 17:33:45 +01:00
csantosm 55246abc44 openvidu-browser: Enabled warning logs in production mode 2022-02-02 12:31:27 +01:00
Juan Navarro 6e8e05553e fixup! openvidu-browser: Stream.typeOfVideo backwards compatibility fix
Add a TODO marker to remember that we have to change this when a
breaking-change release is done.
2022-01-28 15:17:05 +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
Juan Navarro 786f1009fb openvidu-browser: Stream.typeOfVideo backwards compatibility fix
Stream.typeOfVideo was a string and cannot be changed into an Enum
without breaking some client applications.

However, it is possible for us to start using an Enum internally, and
exporting this property as a union of strings, which is what is
generated by "keyof typeof Enum".
2022-01-28 13:56:46 +01:00
pabloFuente 4fe0a4fda2 openvidu-browser: add TypeOfVideo 2022-01-27 14:42:01 +01:00
pabloFuente f158119d68 openvidu-browser: error message when calling deprecated LocalRecorder#record(string) 2022-01-26 18:51:20 +01:00
pabloFuente 925a51482d openvidu-browser: replace mime-types with mime dependency 2022-01-26 18:34:50 +01:00
pabloFuente 8976cba6ce openvidu-browser: update dependencies versions 2022-01-26 17:59:31 +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 4ca3839821 openvidu-browser: fix LocalRecorder 2022-01-26 17:23:16 +01:00
Pablo Fuente Pérez 6d37e4ce1f
Merge pull request #688 from Flamenco/patch-2
Check for outboundStreamOpts before accessing it
2022-01-26 14:31:06 +01:00
pabloFuente ad8e8938d4 openvidu-browser: ensure Promise return on every resolve and reject 2022-01-26 12:18:05 +01:00
Flamenco 39c9cec7d1
Ensure video element mirroring is removed
When reusing a video element between a local stream with mirroring, and a remote stream with no mirroring, the element's mirror transform was not getting removed.
2022-01-25 14:11:31 -05:00
Flamenco 75b88175cb
Check for outboundStreamOpts before accessing it
This method should be the same as the others in regards to checking for valid property.
It seems the extra logic for `isElectron` evaded the correct checking when calling from an incoming stream.

Error reported:
TypeError: Cannot read properties of undefined (reading 'publisherProperties')
```
2022-01-25 12:49:23 -05: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
pabloFuente 58edee6b97 openvidu-browser: extend accessDialogOpened event time from 1500 to 2000 ms 2022-01-13 13:50:01 +01:00
pabloFuente 9f20cc2485 openvidu-browser: update Copyright date 2022-01-13 11:18:47 +01:00
pabloFuente 200c1db526 openvidu-browser: fix TypeDoc config to properly exclude unwanted folders 2022-01-12 03:38:45 +01:00
pabloFuente 3763904f73 openvidu-browser: update TypeDoc for TS compatibility 2022-01-12 03:02:31 +01:00
pabloFuente 695c13769c openvidu-browser: update TS version. Fix "signal:X" event typings 2022-01-12 01:48:40 +01:00
pabloFuente 4e304b18d4 openvidu-browser: fix RTCIceCandidate and Blob errors 2022-01-12 01:36:53 +01:00
pabloFuente 82bd984bbe openvidu-browser: add event maps to achieve typings for all Events 2022-01-10 12:46:39 +01:00
pabloFuente 777b329e9f openvidu-browser: optional handler property in Session.off method 2022-01-10 11:39:24 +01:00
pabloFuente e09d0f171e openvidu-browser: hide semver imports. Fix RTCIceCandidate with null "address" 2022-01-10 11:37:31 +01:00
Pablo Fuente Pérez 358fb1af3a
Merge pull request #678 from OrkhanAlikhanov/master
openvidu-browser: improve typings for session event dispatcher methods
2022-01-10 11:36:06 +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
Orkhan Alikhanov 250e5293e9 openvidu-browser: improve typings for session event dispatcher methods 2021-12-27 17:28:13 +04:00
pabloFuente e6b4f23fcf openvidu-browser: reconnection support for OpenVidu Enterprise 2021-12-23 15:28:23 +01:00
pabloFuente 24ba648015 openvidu-browser: heartbeatRequestTimeout set to 5 seconds 2021-12-23 11:30:55 +01:00
pabloFuente 18c7e5d524 openvidu-browser: close WebSocket with code and reason 2021-12-23 11:18:42 +01:00
pabloFuente c8597b450e openvidu-browser: remove unused method 2021-12-23 11:13:09 +01:00
Juan Navarro aba3311076 openvidu-browser: minor comment to match same in android & kurento 2021-11-05 15:52:47 +01:00
pabloFuente 8e418bfd16 Check openvidu-browser and openvidu-server compatibility 2021-10-27 14:04:19 +02:00
pabloFuente 4e6e37fe39 openvidu-browser: improved RecordingEvent docs 2021-10-15 10:56:45 +02:00
gtunon cf2cc34525 coturnPort as a number 2021-10-07 07:28:34 +02:00
gtunon 57faf14b21 Coturn port conf 2021-10-01 09:09:04 +02:00
pabloFuente 2e5f605225 /latest to /stable 2021-09-29 11:44:18 +02:00
jenkinsopenvidu 5ee08a2d62 Update to version v2.20.0 2021-09-22 16:16:07 +00:00
pabloFuente 8eae2e0eab openvidu-browser: OpenVidu.life logic 2021-09-10 14:41:30 +02:00
Juan Navarro 9dd62009fb openvidu-browser: remove inline outdated description of OpenViduAdvancedConfiguration
The resulting HTML docs are bad because they show an incomplete
description of the OpenViduAdvancedConfiguration type, which is then
duplicated (and more complete) in that type's description.
2021-09-09 17:40:01 +02:00
csantosm 8ce647c35b openvidu-browser: Handled promise rejection on getCommonStats 2021-09-01 11:36:20 +02:00
csantosm 3d46a2c473 openvidu-browser: Replaced error to warning log 2021-08-03 16:02:34 +02:00
jenkinsopenvidu 5a5e99c50c Update to version v2.19.0 2021-07-26 12:01:34 +00:00
pabloFuente 6ac6adbeea openvidu-browser: support other browsers in iOS 2021-07-13 11:49:05 +02:00
pabloFuente 0d739982a8 openvidu-browser: provide mediaServer as a WebRtcPeerConfiguration property 2021-07-08 12:39:08 +02:00
pabloFuente e1b6fb6179 openvidu-browser: fix subscription process when transcievers API not available 2021-07-07 12:54:23 +02:00
Juan Navarro e66c5d1070 openvidu-browser: simulcast default 3 layers and 4:2:1 scaling
Leaves maxBitrate undefined so the browser chooses which are the best
values.
2021-07-02 15:06:00 +02:00
Juan Navarro cf613aedfc openvidu-browser: simulcast on Firefox 2021-06-30 19:24:23 +02:00
pabloFuente 6d93fc3405 Forcibly reconnect subscribers upon publisher reconnection if necessary 2021-06-30 16:00:13 +02:00
pabloFuente 00d64ded9b openvidu-browser: onForciblyReconnectSubscriber 2021-06-30 15:33:05 +02:00
pabloFuente ffcb56cc0d openvidu-browser: simulcast configuration 2021-06-28 11:37:00 +02:00
cruizba 322ac2e843 openvidu-browser: Better naming for openvidu browser logs 'debug_app' option 2021-06-24 14:27:47 +02:00
cruizba ea56c09199 openvidu-browser: Remove unnecesary console.log in OpenViduLogger.ts 2021-06-23 22:03:57 +02:00
cruizba 42c833faf4 openvidu-browser: Add option 'debugApp' to send logs from app and from openvidu-browser 2021-06-23 21:37:26 +02:00