583 Commits

Author SHA1 Message Date
pabloFuente
ef6f8abb69 openvidu-android: fix lacking 'sdkVersion' RPC parameter 2022-05-24 14:35:23 +02:00
cruizba
b40ecbd9d0 demos: Add parameter to redirect demos page to a domain name specified in REDIRECT_INDEX_TO_DOMAIN 2022-05-23 15:03:02 +02:00
Juan Navarro
4bcd06c235 android: Only publish/receive video if setting SDP doesn't fail
A bad SDP will be rejected by the WebRTC implementation, so no further
publish/subscribe operations should be done on failure.

This expands on the idea of
https://github.com/OpenVidu/openvidu-tutorials/pull/174
and also simplifies implementations of CustomSdpObserver: there is no
need to inherit its methods just for logging, as CustomSdpObserver
already logs everything on its default implementation.
2022-05-18 13:24:07 +02:00
Juan Navarro
81b7c492d1 android: CustomSdpObserver: Drop custom method "log"; use Log.e for failures
Having a custom "log()" method didn't bring many advantages, and
actually lacked needed flexibility. We'd like to log success messages
to "debug", but failure messages to the "error" level.
2022-05-18 13:24:07 +02:00
Juan Navarro
fcb783c3ad android: Get TURN settings from server and use them in client 2022-05-18 13:16:28 +02:00
Juan Navarro
b925a64358 android: Update project files from Android Studio 2021.2.1
Updates that got applied automatically to the project files when Android
Studio 2021.2.1 opened the project and offered to update it.
2022-05-18 13:16:28 +02:00
Juan Navarro
f3a53449d1 android: Use GitHub gitignore template for Android
https://github.com/github/gitignore/blob/main/Android.gitignore
2022-05-18 13:16:28 +02:00
Tapani Rantakokko
9c8f45cd77
Fixed an attempt to publish video after failure to set the local description. (#174)
When preparing to publish a video stream from an Android client app to OpenVidu session, it is possible that creating video offer succeeds but then setting it as the local description fails.

An example: Android client is configured to use a hardware video encoder, but a particular device does not have one. As a result, SDP description is created without some necessary video elements, and setting it as the local description fails at runtime.

The original code did not check the result of setting a local description before it went on to attempt publishing video. This resulted to breaking the whole OpenVidu session with rather severe consequences:
- various errors in server and client logs
- every participant's video streams stuck
- the session cannot be properly closed (it becomes a ghost session)

This simple fix checks if setting the local description succeeds, and only then attempts to publish video stream.

While this demo application does not configure HW encoder in use, other developers will use it as a basis for their apps. In addition, there can be other reasons why setting local description may fail. Hence, it should be checked.
2022-05-18 13:15:56 +02:00
pabloFuente
014de35b94 Release 2.22.0 2022-05-18 12:24:09 +02:00
pabloFuente
7b441c32ab openvidu-call: update run.sh 2022-05-13 14:28:35 +02:00
pabloFuente
ea7cf38ea2 openvidu-call: update run.sh 2022-05-13 14:25:36 +02:00
pabloFuente
a5b878a8b4 Fix openvidu-call Docker build script 2022-05-13 14:20:16 +02:00
pabloFuente
92c4e0ff1b Delete tutorial openvidu-library-angular 2022-05-13 14:06:45 +02:00
pabloFuente
ad5ae366b4 Update openvidu-call upgrading process 2022-05-13 13:59:29 +02:00
pabloFuente
2058eab433 openvidu-call: remove unnecessary openvidu-browser dependency from package.json 2022-05-13 13:15:50 +02:00
pabloFuente
b4104e092f openvidu-fault-tolerance 2022-05-12 14:40:50 +02:00
pabloFuente
fdbdde57f2 Updated openvidu-virtual-background 2022-05-11 14:06:43 +02:00
csantosm
627d636f18 openvidu-ionic: Fixed error adding browserslistrc file 2022-05-11 09:55:48 +02:00
pabloFuente
853e674db3 openvidu-virtual-background tutorial 2022-05-09 16:37:18 +02:00
pabloFuente
2476ebd279 Update copyright footer year from 2021 to 2022 2022-05-06 11:58:30 +02:00
csantosm
4e69fd7e19 openvidu-components: Updated samples 2022-04-29 13:22:29 +02:00
csantosm
0400106b20 openvidu-webcomponent: Updated css 2022-04-29 13:14:51 +02:00
csantosm
bd54c99dfd openvidu-call: Added background resources 2022-04-29 13:04:50 +02:00
csantosm
a2a849db06 openvidu-components: Updated css variable names 2022-04-18 13:35:02 +02:00
csantosm
a86e9d7a9a openvidu-toggle-hand: Added comments 2022-04-18 12:26:44 +02:00
csantosm
218b2e8ca7 Added openvidu components tutorials 2022-04-13 14:07:08 +02:00
cruizba
6e7783628c Fix recording tutorials in production environments because of path conflict 2022-04-05 18:29:19 +02:00
csantosm
3581f47d7b openvidu-react-native: Allowed join as subscriber
Allow join as subscriber
Fixed android platform
2022-03-31 18:00:43 +02:00
csantosm
f50f989a03 openvidu-call: Updated syles 2022-03-30 13:08:42 +02:00
csantosm
1f5128057e openvidu-call: cleaned code 2022-03-29 11:53:39 +02:00
csantosm
484418d6d1 openvidu-webcomponent: Updated with new openvidu-angular version 2022-03-28 11:16:03 +02:00
pabloFuente
c26cd94f5a openvidu-recording-java: remove test header 2022-03-18 14:44:05 +01:00
Pablo Fuente Pérez
3e3a8fac53
Update README.md 2022-03-10 14:14:38 +01:00
Pablo Fuente Pérez
e22e7dcf14
Update README.md 2022-03-10 14:13:25 +01:00
csantosm
62b35fb772 openvidu-call: Updated dependencies 2022-03-09 16:19:36 +01:00
csantosm
d43112d380 openvidu-call: Added dockerignore file 2022-03-09 16:19:21 +01:00
csantosm
174efd6fac openvidu-call: Removed webcomponent tests 2022-03-09 16:19:03 +01:00
csantosm
85012630fb openvidu-call: Added openvidu-call project as tutorial 2022-03-09 15:58:33 +01:00
csantosm
d2af6e68b3 openvidu-ionic: Updated dependencies 2022-03-08 16:29:24 +01:00
pabloFuente
408736ec8a Update openvidu-java-client to 2.21.1 2022-03-03 22:04:04 +01:00
pabloFuente
02fa9b4ccb Release 2.21.0 2022-03-03 18:05:03 +01:00
csantosm
f39d38fe14 openvidu-insecure-react: Added switching camera feature 2021-11-26 11:56:36 +01:00
Juan Navarro
aac2f5e80c android: add stored remote ICE candidates after SDP Offer/Answer finishes
ICE candidates are emitted asynchronously, so by the time that SDP messages
have been exchanged, some remote candidates might have already arrived and
stored in temporary variables.

These candidates must be added to the PeerConnection, to make sure that none
is left out!

Corresponds to equivalent code in OpenVidu-Browser:
https://github.com/OpenVidu/openvidu/blob/v2.20.0/openvidu-browser/src/OpenViduInternal/WebRtcPeer/WebRtcPeer.ts#L140-L148
2021-11-05 15:47:36 +01:00
Juan Navarro
0f64ad7a62 android: do NOT mix addTrack() and addTransceiver() APIs
The PeerConnection API went through a transition from Track-based to
Transceiver-based API. Nowadays, it's a very common mistake to mix them
inconsistently, especially caused by Google- or StackOverflow-based
development, because examples online tend to be old and BAD.

Corresponds to equivalent code in OpenVidu-Browser:
https://github.com/OpenVidu/openvidu/blob/v2.20.0/openvidu-browser/src/OpenViduInternal/WebRtcPeer/WebRtcPeer.ts#L187-L248
2021-11-05 15:47:24 +01:00
cruizba
8bed5d36c5 Fix demos webinar proxy url 2021-10-15 18:59:42 +02:00
cruizba
1ddfa8e4b9 Add screenshare tutorial, update and fixes demos infrastructure
- Added new tutorial for screenshare
- Update FROM of all demos docker images
- Don't use upstream in nginx. This will make nginx stop when a domain is not reachable on startup.
2021-10-15 16:51:55 +02:00
csantosm
fc2a2cdf08 react-native-webrtc: force rendering view after reconnection 2021-10-15 12:53:00 +02:00
cruizba
ceb58d28be Fix OPENVIDU_URL in insecure docker tutorials
OPENVIDU_URL is used properly in docker images serving nginx static insecure tutorials.
Before, location.hostname was always used
2021-10-15 00:48:24 +02:00
cruizba
0b2f84d7af Add insecure-js-screen-share tutorial 2021-10-15 00:48:24 +02:00
cruizba
1b8d5a7de4 Update copyright date 2021-10-15 00:48:24 +02:00