Commit Graph

364 Commits (19f9bee16e304e3ca8bfa2002e330dcd264de538)

Author SHA1 Message Date
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
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 b5e645f13d openvidu-browser: Use Track.contentHint to configure WebRTC Sender 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
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 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 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 3763904f73 openvidu-browser: update TypeDoc for TS compatibility 2022-01-12 03:02:31 +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 8e418bfd16 Check openvidu-browser and openvidu-server compatibility 2021-10-27 14:04:19 +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
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
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 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
pabloFuente 1b22fd5c3a openvidu-browser: typed Session event handlers 2021-06-23 13:02:05 +02:00
pabloFuente 3f0756984a openvidu-browser: log JSNLog messages in dev mode. Better initPublisher log 2021-06-22 12:58:00 +02:00
pabloFuente 1e4472f89d openvidu-browser: extend error logs to avoid empty objects 2021-06-21 12:54:29 +02:00
Juan Navarro e0f79e815e
openvidu-browser: rewrite generateOffer() to correctly handle all send/recv cases (#577)
* openvidu-browser: rewrite generateOffer to use Transceivers

Uses Transceivers if these are available in the underlying WebRTC
implementation; otherwise it falls back to the legacy "offerToReceiveX"
config of pc.createOffer()

* openvidu-browser: move Transceiver creation in createOffer/createAnswer

* WebRtcPeer: avoid getter syntax that doesn't compile with old Angular in testapp

* WebRtcPeer: finish rewriting createOffer() & createAnswer() with Transceivers

createOffer() can be used either for sending a "send" or "recv" offer to
the media server; this is needed for the KMS SDP negotiation semantics.

createAnswer() is used when in MEDIASOUP SDP negotiation mode, where the
media server is the one sending an SDP Offer to the browser.
2021-06-11 17:33:35 +02:00
pabloFuente 2fcf136fa3 openvidu-browser: fix disposeWebRtcPeer exception when no WebRtcPeer is available 2021-06-09 15:14:25 +02:00
pabloFuente da527b4816 openvidu-brower: NO_STREAM_PLAYING_EVENT only for Subscriber 2021-05-31 15:42:48 +02:00
pabloFuente 21615755f9 Support subscription with different client-server negotiation order 2021-05-31 15:20:54 +02:00
pabloFuente 8e5836a21b openvidu-server: mediaServer joinRoom response parameter 2021-05-28 12:40:46 +02:00
pabloFuente b4c6c2b4a7 openvidu-browser: fix log for getRemoteConnection 2021-05-28 10:39:19 +02:00
pabloFuente d320da622c openvidu-browser: typed OpenViduAdvancedConfiguration#publisherSpeakingEventsOptions 2021-05-27 21:53:01 +02:00
pabloFuente 7895ac0562 openvidu-browser: automatic reconnection capabilites on ICE failure states 2021-05-27 21:30:01 +02:00
pabloFuente ac0e93ea27 openvidu-browser: rename WebRtcPeer handler methods 2021-05-27 21:28:17 +02:00
pabloFuente fccd21eefd openvidu-browser: OpenVidu#getWsReadyState 2021-05-26 13:03:10 +02:00
pabloFuente 05718efc2e openvidu-browser: fix ExceptionEvent NO_STREAM_PLAYING_EVENT (triggered by Session) 2021-05-26 13:01:35 +02:00
pabloFuente 6a049918d6 openvidu-browser: ExceptionEvent.NO_STREAM_PLAYING_EVENT 2021-05-25 20:22:31 +02:00
pabloFuente a135ea0aec openvidu-browser: support Master Node crash 2021-05-24 14:55:47 +02:00
pabloFuente 52fee08e45 openvidu-browser: update broken RTCPeerConnection check 2021-05-19 10:46:00 +02:00
cruizba 68eac029c1 Max length for log messages sent to not miss important information 2021-04-29 23:37:44 +02:00
cruizba b7da22180c Change to debug more possible long logs 2021-04-29 21:28:53 +02:00
cruizba b1be6e0bd5 Change log level from info to debug on possible big logs entries 2021-04-29 20:47:21 +02:00
cruizba a8917c17ac openvidu-pro: Index browser logs based on finalUserId 2021-04-29 18:45:26 +02:00
pabloFuente 7c494b0476 Send finalUserId to openvidu-browser on RPC joinRoom 2021-04-29 14:03:42 +02:00
cruizba 5287ed631f openvidu-browser: Parametrized send openvidu browser logs, disabled by default 2021-04-07 17:29:51 +02:00
cruizba 5841d15a86 openvidu-pro: Adapt openvidu-browser and openvidu-server ce to send browser logs related with openvidu-browser in OpenVidu Pro 2021-03-31 17:12:37 +02:00
pabloFuente da3fb64073 openvidu-browser: fix Session.unpublish (check Connection.stream before deletion) 2021-03-31 12:49:21 +02:00
pabloFuente 87117f31e4 openvidu-browser: hark refactoring. Allow PublisherSpeakingEvent for local streams 2021-03-30 18:04:56 +02:00
pabloFuente 0a3553c704 openvidu-browser: OpenVidu.webrtcStatsInterval by default to -1 2021-03-29 15:44:04 +02:00
pabloFuente 59c3a84718 openvidu-browser: promisified Session.unpublish and Session.unsubscribe 2021-03-29 14:53:12 +02:00
pabloFuente 464ef90c79 openvidu-browser: single iceServer on RTCPeerConnection 2021-03-26 22:02:53 +01:00
pabloFuente 087ef665c2 openvidu-browser: small refactoring of Publisher.replaceTrack method 2021-03-25 16:29:38 +01:00
pabloFuente f92869cff5 openvidu-browser: better Publisher.replaceTrack docs 2021-03-25 14:21:59 +01:00
pabloFuente eae032405d openvidu-browser: Publisher.replaceTrack method refactoring 2021-03-25 13:58:56 +01:00
pabloFuente ef013ca5e0 openvidu-browser: full video dimensions refactoring 2021-03-24 19:39:49 +01:00
pabloFuente faf7f6820b openvidu-browser: fix local StreamPropertyChangedEvent filter (options as object instead of string) 2021-03-24 12:15:19 +01:00
pabloFuente 1dc8b38c0c openvidu-browser: add EdgeMobile to NetworkQualityAPI 2021-03-23 19:01:09 +01:00
pabloFuente be983f2a71 openvidu-browser: keep audioActive and videoActive after subscription reconnection 2021-03-23 15:34:33 +01:00
pabloFuente bd3d831355 openvidu-browser: typed Session.[on,once,off] for ExceptionEvent 2021-03-23 10:33:52 +01:00