Commit Graph

519 Commits (d2423b012d2af5749ef19a49fe9286182016fc67)

Author SHA1 Message Date
pabloFuente d2423b012d openvidu-browser: document audioSource to "screen". Warn when no videoSource to "screen" 2023-10-05 16:54:56 +02:00
pabloFuente ad96776571 openvidu-browser: fix getDisplayMedia audio bug 2023-10-05 16:42:21 +02:00
Carlos Santos 93e48ce139 openvidu-browser: initialized getDisplayMedia with audio track 2023-09-18 10:50:29 +02:00
pabloFuente bbfc579161 openvidu-browser: fix object initialization type error 2023-08-21 13:17:35 +02:00
Matthias Seemann 566e52f1dd
Tolerate inaccessible localStorage
When reading from localStorage, treat security exceptions like absent values. 
This supports running in third-party contexts when cross-origin cookies are blocked by the browser.
2023-08-03 21:23:27 +02:00
pabloFuente 0b57843e84 openvidu-browser: make forceMediaReconnectionAfterNetworkDrop also affect subscribers 2023-06-28 15:46:03 +02:00
pabloFuente efcc15a109 openvidu-browser: fix wrong call to onreconnected 2023-06-27 16:20:34 +02:00
cruizba cd7f8ae282 Reformat of PR https://github.com/OpenVidu/openvidu/pull/809 2023-06-22 11:45:40 +02:00
Matthias Seemann 63e273129b
Fix Stream.isSendScreen() for custom videoSource
The custom MediaStreamTrack provided as videoSource parameter in the Publisher factory functions is now examined by the Stream.isSendScreen() method if it is a screen sharing video track.
2023-06-21 21:36:37 +02:00
Matthias Seemann 76ec592865
fix: remove video element which was never inserted before
fixes #802
2023-05-25 20:41:26 +02:00
pabloFuente 58c15b0e3c openvidu-browser: bug fix when checking system requirements on motorola edge devices 2023-05-19 13:39:19 +02:00
pabloFuente 423e0d302f openvidu-browser: remove code smell in OpenVidu.ts 2023-05-19 13:21:13 +02:00
Carlos Santos 90acd8682c openvidu-browser: Avoided accessing to a property of null 2023-05-05 10:29:39 +02:00
csantosm ec807d3944 openvidu-browser: Fixed bug with audio only MediaStream
If a MediaStream is published with video track stopped  and a standard audio track, the video was not playing because the video track of subscriber was enabled. This track must be disabled for allowing play the video. 
Issue reference: https://openvidu.discourse.group/t/microphone-doesnt-work-correctly-on-web-from-a-mobile-device/4514
2023-03-31 14:37:22 +02:00
pabloFuente fa91a529bc openvidu-browser: update Broadcasting link in Typedoc 2023-02-08 10:47:14 +01:00
pabloFuente cae40f5493 Change concept RTMP to Broadcast. Prepare openvidu-browser for broadcast events 2023-02-03 13:55:17 +01:00
pabloFuente 0fbf4d9297 openvidu-browser: fix Publisher Typedoc for method publishVideo 2023-02-01 12:16:15 +01:00
pabloFuente d6acd0d321 openvidu-browser: catch unhandled error on RTCPeerConnection#addIceCandidate 2022-12-16 16:32:45 +01:00
pabloFuente b39f509562 openvidu-browser: update dependencies. Update TypeDoc to 0.24 2022-11-22 16:15:07 +01:00
pabloFuente 1652311448 openvidu-browser: restore automatic Stream reconnection on ICE errors 2022-11-16 13:16:32 +01:00
pabloFuente 75eeda4aee New RPC event "speechToTextDisconnected" 2022-11-15 19:25:40 +01:00
pabloFuente 6576f40db8 openvidu-browser: restrict Device.kind string type 2022-11-15 15:49:46 +01:00
pabloFuente fc93566e04 openvidu-browser: add Types for Events 2022-11-15 15:28:55 +01:00
pabloFuente 4aa1813383 openvidu-browser: dispose remote Connection on connectionDestroyed event 2022-11-14 12:56:37 +01:00
pabloFuente 6bc8c31af1 openvidu-browser: fix RPC calls to STT (param connetionIds to connectionId) 2022-11-07 14:14:25 +01:00
pabloFuente f5fc739ea1 Update OpenVidu Editions links 2022-11-02 12:17:44 +01:00
pabloFuente 0e9ae092e5 openvidu-browser: add new StreamPropertyChanged for audioTrack and videoTrack 2022-11-02 12:11:11 +01:00
Carlos Santos 103ae1fd54 openvidu-browser: Downgraded event info logs to debug level 2022-10-31 12:52:13 +01:00
pabloFuente c865b70c40 openvidu-browser: subscribeToSpeechToText param documentation 2022-10-21 12:40:05 +02:00
pabloFuente 38a8681d17 'lang' parameter in subscribeToSpeechToText method 2022-10-21 10:32:00 +02:00
pabloFuente cc8ac8d99d openvidu-browser: protect onParticipantUnpublished upon undefined Connection.stream 2022-10-19 12:44:04 +02:00
pabloFuente 9defcf4e87 openvidu-browser: final SpeechToTextEvent format 2022-10-17 12:27:23 +02:00
pabloFuente cf15f9f7b6 openvidu-server: manage STT participant as an invisible one 2022-10-10 18:40:25 +02:00
pabloFuente 37073bd0ec openvidu-browser: speechToText to speechToTextMessage 2022-10-10 12:04:17 +02:00
pabloFuente d700dd3e97 Speech-To-Text base support 2022-10-10 11:45:27 +02:00
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