Commit Graph

568 Commits (b28bbc7c41faa6b6a3a159019172f1894eda6b8c)

Author SHA1 Message Date
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