Get pion/ion up and running
Things we need install before installing ion
- nats.io
- redis
- Golang (latest version)
1. Installing Nats.io
On MacOs
| |
On Windows
| |
On Linux
| |
2. Installing Redis
On Macos
| |
On Windows
| |
On Ubuntu
| |
3. Installing golang
On MacOs
| |
On Windows
| |
On Linux
| |
to verify the go version
| |
| |
Lets begin building
Now we have everthing we need to build ion from source, things we need clone the source code from github.
things we need
- ion
- ion-app-web
- ion-app-flutter
lets make a directory to put everthing into
| |
1. clone ion source
| |
2. clone ion web app
| |
3. clone ion flutter app
| |
Now we should have all 3 projects in our ionapp directory we can start building from source now.
Building ion from source
| |
this will download all the dependencies and build the bin files into the bin folder, once its finished.
| |
you should see 4 files name as follow, avp, biz, islb and sfu.
once its confirm its there lets spin up the server
Start all services
| |
Stop all services
| |
now all the server side stuff is up and running, we will spin up the clients to do some testing.
Start up the webapp
| |
wait until this finishes then
| |
bob’s your uncle you should see the ion web app, just enter an room name and a user name and you can test it out
Start up the flutter app
first
| |
| |
For Android/IOS
| |
For MacOS
| |
For Web
| |
as of flutter 2.0 the web and desktop has been stable, other words you have one code base that can build mobile/desktop clients.
Conclusion
I hope this help you get started with pion/ion, as this is a truely a turn key solution for web conferencing system/cluster, especially with the advantage of having the cross platform clients, below i will provide the links for you also there is a slack channel for pion and ion, see you in there
Resource links
my github: https://github.com/jason-shen
ion github: https://github.com/pion/ion
ion-app-web github: https://github.com/pion/ion-app-web
ion-app-flutter gihub: https://github.com/pion/ion-app-flutter
pion slack channel: https://gophers.slack.com/archives/CAK2124AG
ion slack channel: https://gophers.slack.com/archives/C01EVC86FAR
