How to setup OpenVidu for Android

45 views
Skip to first unread message

archie

unread,
Dec 30, 2019, 7:11:57 PM12/30/19
to OpenVidu
I'm following the Android tutorial(https://openvidu.io/docs/tutorials/openvidu-android/). I think instructions are a little vague. 
At what point should I setup "MY_SECRET" and also what does "YOUR_OPENVIDU_PUBLIC_URL" mean? Do I need to deploy a server first?

The docker command is the following:

`docker run -p 4443:4443 --rm -e openvidu.secret=MY_SECRET -e openvidu.publicurl=YOUR_OPENVIDU_PUBLIC_URL openvidu/openvidu-server-kms:2.11.0`

Any help is appreciated.

Micael Gallego

unread,
Jan 2, 2020, 5:52:38 AM1/2/20
to archie, OpenVidu
Hello Archie,

I recommend to you to go over "web tutorials" before trying Android tutorial. OpenVidu Android support is in early stages and tutorial needs a bit of love ;)

Yes... you need to deploy OpenVidu server before using OpenVidu Client libs.

Best regards

Micael Gallego
Kurento / OpenVidu Project Lead


--
You received this message because you are subscribed to the Google Groups "OpenVidu" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openvidu+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openvidu/78352de4-b8f3-4239-8e96-e2dd00c99e38%40googlegroups.com.

27.g...@gmail.com

unread,
Jan 2, 2020, 10:19:23 AM1/2/20
to OpenVidu
Which is the tutorial to deploy OpenVidu server? Is it this https://openvidu.io/docs/tutorials/openvidu-mvc-java/ ?


On Thursday, January 2, 2020 at 12:52:38 PM UTC+2, Micael Gallego wrote:
Hello Archie,

I recommend to you to go over "web tutorials" before trying Android tutorial. OpenVidu Android support is in early stages and tutorial needs a bit of love ;)

Yes... you need to deploy OpenVidu server before using OpenVidu Client libs.

Best regards

Micael Gallego
Kurento / OpenVidu Project Lead


On Tue, Dec 31, 2019 at 1:12 AM archie <27....@gmail.com> wrote:
I'm following the Android tutorial(https://openvidu.io/docs/tutorials/openvidu-android/). I think instructions are a little vague. 
At what point should I setup "MY_SECRET" and also what does "YOUR_OPENVIDU_PUBLIC_URL" mean? Do I need to deploy a server first?

The docker command is the following:

`docker run -p 4443:4443 --rm -e openvidu.secret=MY_SECRET -e openvidu.publicurl=YOUR_OPENVIDU_PUBLIC_URL openvidu/openvidu-server-kms:2.11.0`

Any help is appreciated.

--
You received this message because you are subscribed to the Google Groups "OpenVidu" group.
To unsubscribe from this group and stop receiving emails from it, send an email to open...@googlegroups.com.

Micael Gallego

unread,
Jan 2, 2020, 10:50:30 AM1/2/20
to 27.g...@gmail.com, OpenVidu
Android tutorial doesn't need any backend application to work, only OpenVidu Server.

But for security reasons, it is recommended to have a backend app. https://openvidu.io/docs/tutorials/openvidu-mvc-java/ shows you how to create a backend app in Java. It can be implemented in any language. 

Best regards

Micael Gallego
Kurento / OpenVidu Project Lead

To unsubscribe from this group and stop receiving emails from it, send an email to openvidu+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openvidu/e9fd64fe-573d-4225-a49d-53380059f849%40googlegroups.com.

27.g...@gmail.com

unread,
Jan 2, 2020, 2:52:08 PM1/2/20
to OpenVidu
So how can I deploy OpenVidu server locally? Is there a guide?


On Thursday, January 2, 2020 at 5:50:30 PM UTC+2, Micael Gallego wrote:
Android tutorial doesn't need any backend application to work, only OpenVidu Server.

But for security reasons, it is recommended to have a backend app. https://openvidu.io/docs/tutorials/openvidu-mvc-java/ shows you how to create a backend app in Java. It can be implemented in any language. 

Best regards

Micael Gallego
Kurento / OpenVidu Project Lead


On Thu, Jan 2, 2020 at 4:19 PM <27....@gmail.com> wrote:
Which is the tutorial to deploy OpenVidu server? Is it this https://openvidu.io/docs/tutorials/openvidu-mvc-java/ ?

On Thursday, January 2, 2020 at 12:52:38 PM UTC+2, Micael Gallego wrote:
Hello Archie,

I recommend to you to go over "web tutorials" before trying Android tutorial. OpenVidu Android support is in early stages and tutorial needs a bit of love ;)

Yes... you need to deploy OpenVidu server before using OpenVidu Client libs.

Best regards

Micael Gallego
Kurento / OpenVidu Project Lead


On Tue, Dec 31, 2019 at 1:12 AM archie <27....@gmail.com> wrote:
I'm following the Android tutorial(https://openvidu.io/docs/tutorials/openvidu-android/). I think instructions are a little vague. 
At what point should I setup "MY_SECRET" and also what does "YOUR_OPENVIDU_PUBLIC_URL" mean? Do I need to deploy a server first?

The docker command is the following:

`docker run -p 4443:4443 --rm -e openvidu.secret=MY_SECRET -e openvidu.publicurl=YOUR_OPENVIDU_PUBLIC_URL openvidu/openvidu-server-kms:2.11.0`

Any help is appreciated.

--
You received this message because you are subscribed to the Google Groups "OpenVidu" group.
To unsubscribe from this group and stop receiving emails from it, send an email to open...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openvidu/78352de4-b8f3-4239-8e96-e2dd00c99e38%40googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "OpenVidu" group.
To unsubscribe from this group and stop receiving emails from it, send an email to open...@googlegroups.com.

Pablo

unread,
Jan 3, 2020, 4:37:26 AM1/3/20
to OpenVidu
Sure. In fact openvidu-android tutorial explains every necessary step to get your local development environment up and running: https://openvidu.io/docs/tutorials/openvidu-android/

The only thing yous must take care of when running the tutorial is to get your local IP, so your phone may connect to your local OpenVidu Server over your dev network. This is all explained in these steps: https://openvidu.io/docs/tutorials/openvidu-android/#running-this-tutorial


27.g...@gmail.com

unread,
Jan 3, 2020, 6:03:46 AM1/3/20
to OpenVidu
I don't understand what MY_SECRET means. It's in the docker command. Do I need to define it? That was the initial question.

Micael Gallego

unread,
Jan 3, 2020, 6:43:38 AM1/3/20
to archie, OpenVidu
You can put there what ever password you want

El vie., 3 ene. 2020 12:03, <27.g...@gmail.com> escribió:
I don't understand what MY_SECRET means. It's in the docker command. Do I need to define it? That was the initial question.

--
You received this message because you are subscribed to the Google Groups "OpenVidu" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openvidu+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openvidu/5a3d8d1c-853a-4407-93c0-c9acea76214d%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages