Commit Graph

98 Commits (841db74c75200bc9ae703397b10ac11725c5bed2)

Author SHA1 Message Date
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
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
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 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
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 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 9f20cc2485 openvidu-browser: update Copyright date 2022-01-13 11:18:47 +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
pabloFuente 2e5f605225 /latest to /stable 2021-09-29 11:44:18 +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
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 21615755f9 Support subscription with different client-server negotiation order 2021-05-31 15:20:54 +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 52fee08e45 openvidu-browser: update broken RTCPeerConnection check 2021-05-19 10:46:00 +02:00
pabloFuente 87117f31e4 openvidu-browser: hark refactoring. Allow PublisherSpeakingEvent for local streams 2021-03-30 18:04:56 +02:00
pabloFuente faf7f6820b openvidu-browser: fix local StreamPropertyChangedEvent filter (options as object instead of string) 2021-03-24 12:15:19 +01:00
pabloFuente be983f2a71 openvidu-browser: keep audioActive and videoActive after subscription reconnection 2021-03-23 15:34:33 +01:00
pabloFuente ff8b51dbf1 openvidu-browser: ExceptionEvent 2021-03-22 19:23:03 +01:00
pabloFuente 4219c6dbc7 openvidu-browser: Stream is not a public EventDispatcher 2021-03-22 13:27:58 +01:00
pabloFuente 2cef860128 openvidu-browser: throw OPENVIDU_NOT_CONNECTED when Session.connect not called 2021-03-22 13:02:41 +01:00
pabloFuente 084cfc49f7 mediasoup refactoring 2021-03-16 10:26:39 +01:00
pabloFuente 471cbeb208 openvidu-browser: update dependencies and fix Promise return types 2021-03-09 15:07:45 +01:00
pabloFuente f672090757 openvidu-browser: fix Map refactoring bugs (for..in not working on Map) 2021-02-18 16:00:07 +01:00
csantosm ff84eb128b openvidu-browser: Added method necessary for openvidu-test-app 2021-02-16 18:16:47 +01:00
csantosm f286ce8131 openvidu-browser: Refactored WebRtcStats
- Updated WebRtcStats file allowing send extra information with webrtc stats such as userId, sessionId, platform description ...
2021-02-16 17:18:03 +01:00
csantosm 3d6249418c openvidu-browser: Refactored Platform instances
Platform instances are now initialized in the classes constructors
2020-11-26 13:17:55 +01:00
csantosm 6dba08afe4 openvidu-browser: Fixed method invocation
Te condition always is returned true because the method is declared
2020-11-25 15:31:29 +01:00
pabloFuente 3c1d4fd69f openvidu-browser: all dependencies updated 2020-11-10 18:22:14 +01:00
csantosm 433d640a8a openvidu-browser: Wrapped platform library 2020-10-13 16:13:37 +02:00
pabloFuente 6f976246b4 openvidu-browser: better Stream.typeOfVideo documentation 2020-08-25 11:35:13 +02:00
csantosm 0c35f85602 Refactored openvidu-browser 2020-07-01 11:58:01 +02:00
csantosm 9ad21624d3 openvidu-browser: removed ionic iOS limitation
With iosrct 6.0.12 release which included the fix of the issue https://github.com/cordova-rtc/cordova-plugin-iosrtc/issues/442 ionic iOS can uses the current WebRTC API so this code is unnecessary.
2020-06-04 16:50:34 +02:00
csantosm 3b13177643 openvidu-browser: Added custom logger. Fixes #440 2020-05-04 20:02:43 +02:00
pabloFuente b2e28a81cf openvidu-browser: fix 'on' and 'once' event methods memory leak 2020-04-26 22:22:39 +02:00
pabloFuente 3e5853227b openvidu-browser: fixes for Publishers subscribed to remote 2020-03-28 12:22:05 +01:00
pabloFuente 69ab47edc8 openvidu-browser: updated package.json. forceMediaReconnectionAfterNetworkDrop 2020-02-19 09:35:10 +01:00
pabloFuente 4ae63984a2 openvidu-browser: media reconnections support 2020-02-14 20:51:52 +01:00
pabloFuente 8fe3605aeb Copyright update from 2019 to 2020 2020-02-04 11:25:54 +01:00
pabloFuente acdfef3e21 openvidu-browser: StreamManager#updatePublisherSpeakingEventsOptions 2019-12-10 14:14:54 +01:00