# Install media soup on a digital ocean setup, need help

**URL:** <https://mediasoup.discourse.group/t/install-media-soup-on-a-digital-ocean-setup-need-help/642>\
**Category:** Deployment & Scalability\
**Created:** [March 16, 2020, 4:38pm UTC](https://mediasoup.discourse.group/t/install-media-soup-on-a-digital-ocean-setup-need-help/642 "2020-03-16T16:38:42Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![frold](https://yyz2.discourse-cdn.com/free1/user_avatar/mediasoup.discourse.group/frold/32/257_2.png) [@frold](https://mediasoup.discourse.group/u/frold)\
**Post date:** [March 16, 2020, 4:38pm UTC](https://mediasoup.discourse.group/t/install-media-soup-on-a-digital-ocean-setup-need-help/642/1 "2020-03-16T16:38:42Z")

</div>

Im not a programmer, so Im not that skilled…

But I would like to run media soup due to a project I will make. Im a medical doctor. And in these corona days I would like to be able to offer a video chat fuction for my patients that can not come in to my practice due to corona like symptoms.

I did try to set it up using the install guide: [https://mediasoup.org/documentation/v3/mediasoup/installation/](https://mediasoup.org/documentation/v3/mediasoup/installation/)

And I did try using one of the docker installations. I was not able to set it up.

Any other good tutorials?

Thanks.

---

<div class="post-metadata">

**Author:** ![ibc](https://yyz2.discourse-cdn.com/free1/user_avatar/mediasoup.discourse.group/ibc/32/1540_2.png) [@ibc](https://mediasoup.discourse.group/u/ibc)\
**Post date:** [March 16, 2020, 5:04pm UTC](https://mediasoup.discourse.group/t/install-media-soup-on-a-digital-ocean-setup-need-help/642/2 "2020-03-16T17:04:30Z")

</div>

Honestly, if you don’t want to build your own custom application, better use any online multimedia product/application which is already done and deployed for people to use for free, such as Jitsi-Meet.

---

<div class="post-metadata">

**Author:** ![frold](https://yyz2.discourse-cdn.com/free1/user_avatar/mediasoup.discourse.group/frold/32/257_2.png) [@frold](https://mediasoup.discourse.group/u/frold)\
**Post date:** [March 16, 2020, 5:55pm UTC](https://mediasoup.discourse.group/t/install-media-soup-on-a-digital-ocean-setup-need-help/642/3 "2020-03-16T17:55:07Z")

</div>

> [@ibc](#):
>
> Jitsi-Meet

Thanks for the honest answer. I will look at that solution.

---

<div class="post-metadata">

**Author:** ![aetheon](https://yyz2.discourse-cdn.com/free1/user_avatar/mediasoup.discourse.group/aetheon/32/39_2.png) [@aetheon](https://mediasoup.discourse.group/u/aetheon)\
**Post date:** [March 16, 2020, 7:38pm UTC](https://mediasoup.discourse.group/t/install-media-soup-on-a-digital-ocean-setup-need-help/642/4 "2020-03-16T19:38:15Z")

</div>

Hi @frold, if you are legit I would happily set that up for you or host myself a copy of media soup demo which should be enough for your doctor appointments.

If you need my help, I would be happy to help you help as many as you can. Oscar.

---

<div class="post-metadata">

**Author:** ![frold](https://yyz2.discourse-cdn.com/free1/user_avatar/mediasoup.discourse.group/frold/32/257_2.png) [@frold](https://mediasoup.discourse.group/u/frold)\
**Post date:** [March 17, 2020, 10:28am UTC](https://mediasoup.discourse.group/t/install-media-soup-on-a-digital-ocean-setup-need-help/642/5 "2020-03-17T10:28:42Z")

</div>

@aetheon  
Wauw what an offer 🙂  
I might be a solution.

@ibc  
I did set up and test jitsi-meet. But it will not run on a mobile phone out of the box. You need to install an app.

I need a easy to use solution. For my and the patient.

---

<div class="post-metadata">

**Author:** ![aetheon](https://yyz2.discourse-cdn.com/free1/user_avatar/mediasoup.discourse.group/aetheon/32/39_2.png) [@aetheon](https://mediasoup.discourse.group/u/aetheon)\
**Post date:** [March 17, 2020, 10:39am UTC](https://mediasoup.discourse.group/t/install-media-soup-on-a-digital-ocean-setup-need-help/642/6 "2020-03-17T10:39:36Z")

</div>

@frold You could use a self-hosted media soup demo, same as in [https://v3demo.mediasoup.org/](https://v3demo.mediasoup.org/), and send the patients invitation links by email/sms like [https://v3demo.mediasoup.org/?roomId=jo80jddv](https://v3demo.mediasoup.org/?roomId=jo80jddv), where roomId is unique per patient. That would work on mobile browsers like safari on iOS and chrome on android.

With the time constraint that might be the easiest solution, I’m guessing. Can I ask why aren’t you using facebook messenger, google hangouts or other apps like that?

---

<div class="post-metadata">

**Author:** ![frold](https://yyz2.discourse-cdn.com/free1/user_avatar/mediasoup.discourse.group/frold/32/257_2.png) [@frold](https://mediasoup.discourse.group/u/frold)\
**Post date:** [March 17, 2020, 11:05am UTC](https://mediasoup.discourse.group/t/install-media-soup-on-a-digital-ocean-setup-need-help/642/7 "2020-03-17T11:05:57Z")

</div>

> [@aetheon](#):
>
> You could use a self-hosted media soup demo, same as in [https://v3demo.mediasoup.org/](https://v3demo.mediasoup.org/), and send the patients invitation links by email/sms like [mediasoup demo](https://v3demo.mediasoup.org/?roomId=jo80jddv),

It was also my initial idea. Why I ended up here 🙂

> [@aetheon](#):
>
> Can I ask why aren’t you using facebook messenger, google hangouts or other apps like that?

I could. But first of all I would like to use a app independing solution. Second I would like to use a solution where I not giving away eg my personal phone number.

This night I couldnt sleep. And I got an idea. I would like to setup a free solution for GPs in Denmark. As an alternative to facetime etc. But it isnt as easy as I thought 😑

I even bought a domain.

Im all ready running a free and non-commerciel forum for medical students in Denmark (studmed.dk / forum.studmed.dk). I did add a wordpress solution on top of discourse. So Im not without skills. But setting up mediasoup I did hit the wall 🙂

---

<div class="post-metadata">

**Author:** ![ibc](https://yyz2.discourse-cdn.com/free1/user_avatar/mediasoup.discourse.group/ibc/32/1540_2.png) [@ibc](https://mediasoup.discourse.group/u/ibc)\
**Post date:** [March 17, 2020, 11:12am UTC](https://mediasoup.discourse.group/t/install-media-soup-on-a-digital-ocean-setup-need-help/642/8 "2020-03-17T11:12:19Z")

</div>

> [@frold](#):
>
> I did try to set it up using the install guide: [https://mediasoup.org/documentation/v3/mediasoup/installation/](https://mediasoup.org/documentation/v3/mediasoup/installation/)
> 
> And I did try using one of the docker installations. I was not able to set it up.
> 
> Any other good tutorials?

There is no tutorial for installing the demo app other than such a README. Could you specify in which exact step you are having problems?

---

<div class="post-metadata">

**Author:** ![aetheon](https://yyz2.discourse-cdn.com/free1/user_avatar/mediasoup.discourse.group/aetheon/32/39_2.png) [@aetheon](https://mediasoup.discourse.group/u/aetheon)\
**Post date:** [March 17, 2020, 11:50am UTC](https://mediasoup.discourse.group/t/install-media-soup-on-a-digital-ocean-setup-need-help/642/9 "2020-03-17T11:50:05Z")

</div>

> I would like to setup a free solution for GPs in Denmark.

To me the main problem here is user management and the invitation process. If you just want something that work and its free, the media soup demo might do the job for you as described above.

> So Im not without skills. But setting up mediasoup I did hit the wall 🙂

There’s a learning curve and some time to invest, you also need to generate the TLS certificate to allow HTTPS and WSS.

If you need to talk and explain the problem let me know.

---

<div class="post-metadata">

**Author:** ![frold](https://yyz2.discourse-cdn.com/free1/user_avatar/mediasoup.discourse.group/frold/32/257_2.png) [@frold](https://mediasoup.discourse.group/u/frold)\
**Post date:** [March 17, 2020, 12:27pm UTC](https://mediasoup.discourse.group/t/install-media-soup-on-a-digital-ocean-setup-need-help/642/10 "2020-03-17T12:27:55Z")

</div>

> [@ibc](#):
>
> Could you specify in which exact step you are having problems?

I did add a NodeJs droplet.

Update the server.

Ensure that ufw is enabled

> To Action From
> 
> * * *
> 
> 22/tcp LIMIT Anywhere  
> 80/tcp ALLOW Anywhere  
> 443/tcp ALLOW Anywhere  
> 22/tcp (v6) LIMIT Anywhere (v6)  
> 80/tcp (v6) ALLOW Anywhere (v6)  
> 443/tcp (v6) ALLOW Anywhere (v6)

After I did run

> npm install mediasoup@3 --save

I get this…

> ├── random-number@0.0.9  
> ├─┬ supports-color@7.1.0  
> │ └── has-flag@4.0.0  
> └── uuid@7.0.2  
> npm WARN enoent ENOENT: no such file or directory, open ‘/root/package.json’  
> npm WARN root No description  
> npm WARN root No repository field.  
> npm WARN root No README data  
> npm WARN root No license field.

What is the next step?

---

<div class="post-metadata">

**Author:** ![ibc](https://yyz2.discourse-cdn.com/free1/user_avatar/mediasoup.discourse.group/ibc/32/1540_2.png) [@ibc](https://mediasoup.discourse.group/u/ibc)\
**Post date:** [March 17, 2020, 12:36pm UTC](https://mediasoup.discourse.group/t/install-media-soup-on-a-digital-ocean-setup-need-help/642/11 "2020-03-17T12:36:43Z")

</div>

I’m afraid the README of the mediasoup **demo** project does not say anything about doing “npm install mediasoup”. Please read the README of the demo project.

---

<div class="post-metadata">

**Author:** ![frold](https://yyz2.discourse-cdn.com/free1/user_avatar/mediasoup.discourse.group/frold/32/257_2.png) [@frold](https://mediasoup.discourse.group/u/frold)\
**Post date:** [March 17, 2020, 12:48pm UTC](https://mediasoup.discourse.group/t/install-media-soup-on-a-digital-ocean-setup-need-help/642/12 "2020-03-17T12:48:42Z")

</div>

Same requirements?

Like:

- `node` version \>= v8.6.0
- `python` version 2 or 3
- `make`
- `gcc` and `g++` \>= 4.9 or `clang` (with C++11 support)

---

<div class="post-metadata">

**Author:** ![ibc](https://yyz2.discourse-cdn.com/free1/user_avatar/mediasoup.discourse.group/ibc/32/1540_2.png) [@ibc](https://mediasoup.discourse.group/u/ibc)\
**Post date:** [March 17, 2020, 1:02pm UTC](https://mediasoup.discourse.group/t/install-media-soup-on-a-digital-ocean-setup-need-help/642/13 "2020-03-17T13:02:08Z")

</div>

Sorry, @frold. Your answer is completely unrelated to my question.

If you want to use the demo project, just use the online mediasoup-demo app. No need to deploy it in your server.

---

<div class="post-metadata">

**Author:** ![frold](https://yyz2.discourse-cdn.com/free1/user_avatar/mediasoup.discourse.group/frold/32/257_2.png) [@frold](https://mediasoup.discourse.group/u/frold)\
**Post date:** [March 17, 2020, 6:29pm UTC](https://mediasoup.discourse.group/t/install-media-soup-on-a-digital-ocean-setup-need-help/642/14 "2020-03-17T18:29:16Z")

</div>

> [@ibc](#):
>
> I’m afraid the README of the mediasoup **demo** project does not say anything about doing “npm install mediasoup”. Please read the README of the demo project.

Okay, sorry. Then I understand nothing.

Im not familiar with a solution where you have to bake your own package. I have installed tons of webscript - but not this way.

It seems like this is not a solution for a simple average web hobbyist.

Sry I took your time…

As a team - to get more users - you could consider

1. more demos - to show eg by video how this cool tool can be used
2. tutorials etc

Keep up the good work…

---

<div class="post-metadata">

**Author:** ![ibc](https://yyz2.discourse-cdn.com/free1/user_avatar/mediasoup.discourse.group/ibc/32/1540_2.png) [@ibc](https://mediasoup.discourse.group/u/ibc)\
**Post date:** [March 17, 2020, 7:19pm UTC](https://mediasoup.discourse.group/t/install-media-soup-on-a-digital-ocean-setup-need-help/642/15 "2020-03-17T19:19:08Z")

</div>

To clarify some things:

- mediasoup is not an application but a library for building applications.
- mediasoup-demo is an application that uses mediasoup and other libraries.
- The mediasoup-demo README explains how to install the mediasoup-demo application. However somehow you ended running “npm install mediasoup” which is not indicated at all in the mediasoup-demo README.
- If you want to use the mediasoup-demo application you can install it in your own server (by following the installation steps in the mediasoup-deml README) or just use the online deployment at [demo.mediasoup.org](http://demo.mediasoup.org).

But somehow you have not answered to any of the concerns that I’ve told in my previous comments so it’s difficult to help this way 🙂

---

<div class="post-metadata">

**Author:** ![frold](https://yyz2.discourse-cdn.com/free1/user_avatar/mediasoup.discourse.group/frold/32/257_2.png) [@frold](https://mediasoup.discourse.group/u/frold)\
**Post date:** [March 18, 2020, 8:34am UTC](https://mediasoup.discourse.group/t/install-media-soup-on-a-digital-ocean-setup-need-help/642/16 "2020-03-18T08:34:38Z")

</div>

> [@ibc](#):
>
> But somehow you have not answered to any of the concerns that I’ve told in my previous comments

Im sorry, I dont understand you. Neither do my wife who have read this text as well…

What do I need to answer?

Im not able to even install the demo app. Thats it.

But this might be over my level or skills, or it is! 😃

Sad but it seems like a cool feature / tool.

---

<div class="post-metadata">

**Author:** ![ibc](https://yyz2.discourse-cdn.com/free1/user_avatar/mediasoup.discourse.group/ibc/32/1540_2.png) [@ibc](https://mediasoup.discourse.group/u/ibc)\
**Post date:** [March 18, 2020, 1:48pm UTC](https://mediasoup.discourse.group/t/install-media-soup-on-a-digital-ocean-setup-need-help/642/17 "2020-03-18T13:48:51Z")

</div>

> [@frold](#):
>
> After I did run
> 
> > npm install mediasoup@3 --save

Ok, why are you running that code?

---

<div class="post-metadata">

**Author:** ![fdiazsmith](https://avatars.discourse-cdn.com/v4/letter/f/47e85d/32.png) [@fdiazsmith](https://mediasoup.discourse.group/u/fdiazsmith)\
**Post date:** [April 6, 2020, 2:13pm UTC](https://mediasoup.discourse.group/t/install-media-soup-on-a-digital-ocean-setup-need-help/642/18 "2020-04-06T14:13:33Z")

</div>

I am also interested in spining my own server with mediasoup. I would like to explore and create creative applications.  
@ibc the v4 page that frold link in the first post does that with that line of code. Is that the wrong installation to be looking at?

 ![image](https://global.discourse-cdn.com/free1/uploads/mediasoup/original/1X/263fd27f0e479b46793bf867af248c25dc9ea8a9.png)

cheers

---

<div class="post-metadata">

**Author:** ![ibc](https://yyz2.discourse-cdn.com/free1/user_avatar/mediasoup.discourse.group/ibc/32/1540_2.png) [@ibc](https://mediasoup.discourse.group/u/ibc)\
**Post date:** [April 6, 2020, 2:35pm UTC](https://mediasoup.discourse.group/t/install-media-soup-on-a-digital-ocean-setup-need-help/642/19 "2020-04-06T14:35:22Z")

</div>

Please avoid direct mentions, I’m not the only person here giving support.

I don’t understand your question. The installation instructions is explained in the website. mediasoup is a Node library, not a standalone media server.

---

<div class="post-metadata">

**Author:** ![universeroc](https://yyz2.discourse-cdn.com/free1/user_avatar/mediasoup.discourse.group/universeroc/32/409_2.png) [@universeroc](https://mediasoup.discourse.group/u/universeroc)\
**Post date:** [May 23, 2020, 7:15am UTC](https://mediasoup.discourse.group/t/install-media-soup-on-a-digital-ocean-setup-need-help/642/20 "2020-05-23T07:15:02Z")

</div>

@frold Have you already solved your installation issue. I’ve been successfully installed it and I can help you for your installation problem.

Firstly you should use mediasoup-demo not mediasoup as the demo could run as what you want and the mediasoup is only a library can not run without any others libraries.

> **[versatica/mediasoup-demo](https://github.com/versatica/mediasoup-demo)**
>
> mediasoup official demo application. Contribute to versatica/mediasoup-demo development by creating an account on GitHub.

Follow the README, you can install the demo simply, any question when you meet just reply me.

[Next page](https://mediasoup.discourse.group/t/install-media-soup-on-a-digital-ocean-setup-need-help/642.md?page=2)
