-
Notifications
You must be signed in to change notification settings - Fork 638
Spaceport Network Setup
Good news! Our documentation has moved to antmedia.io/docs.
To run Spaceport on multiple machines, all the devices must be on the same local network. While working on multiple machines, you need only one roscore running. Choose one device for it- we will call it master(Subscriber-Ubuntu20.04).
The next part of the tutorial is explained over 2 computers, 4 Jetson Nano, and 6 camera setup. For convenience, the devices are assigned sequential IP addresses. You can customize the devices and network settings for yourself In this scenario, hal
is master. marvin1
, marvin2
, marvin3
, marvin4
, and marvin5
are clients.
Network Options for configuration are:
hal (192.168.0.100) (subscriber - master)
antmedia(192.168.0.102) (publisher - client)
antmedia(192.168.0.109) (publisher - client)
antmedia(192.168.0.106) (publisher - client)
antmedia(192.168.0.103) (publisher - client)
antmedia(192.168.0.107) (publisher - client)
Step 1: We have to tell what the hostname means. To do it edit /etc/hostnames file with sudo privileges for all computers:
sudo gedit /etc/hosts
Add the following lines to the host file:
192.168.0.100 hal
192.168.0.102 marvin1
192.168.0.109 marvin2
192.168.0.103 marvin3
192.168.0.107 marvin4
192.168.0.106 marvin4
Step 2: For all devices open the .bashrc file. Add the following line:
export ROS_MASTER_URL=http://hal:11311
Step 3: Basic check – Please Try to ping each machine from itself.
ping hal
In the terminal, you should see similar lines below:
PING hal(192.168.1.50) 56(84) bytes of data.
64 bytes from hal(192.168.1.50): icmp_seq=1 til=64 time=0.309ms
64 bytes from hal (192.168.1.50): icmp_seq=1 til=64 time=0.233ms
64 bytes from hal (192.168.1.50): icmp_seq=1 til=64 time=0.293ms
64 bytes from hal (192.168.1.50): icmp_seq=1 til=64 time=0.296ms
Step 4: Then please try to ping between all machines
Now, you are ready. After completing this tutorial you should be able to configure your devices to work together and exchange data with each other.
Next Step: Getting Transformation Matrices
- Introduction
- Quick Start
- Installation
- Publishing Live Streams
- Playing Live Streams
- Conference Call
- Peer to Peer Call
- Adaptive Bitrate(Multi-Bitrate) Streaming
- Data Channel
- Video on Demand Streaming
- Simulcasting to Social Media Channels
- Clustering & Scaling
- Monitor Ant Media Servers with Apache Kafka and Grafana
- WebRTC SDKs
- Security
- Integration with your Project
- Advanced
- WebRTC Load Testing
- TURN Servers
- AWS Wavelength Deployment
- Multi-Tenancy Support
- Monitor Ant Media Server with Datadog
- Clustering in Alibaba
- Playlist
- Kubernetes
- Time based One Time Password
- Kubernetes Autoscaling
- Kubernetes Ingress
- How to Install Ant Media Server on EKS
- Release Tests
- Spaceport Volumetric Video
- WebRTC Viewers Info
- Webhook Authentication for Publishing Streams
- Recording Streams
- How to Update Ant Media Server with Cloudformation
- How to Install Ant Media Server on GKE
- Ant Media Server on Docker Swarm
- Developer Quick Start
- Recording HLS, MP4 and how to recover
- Re-streaming update
- Git Branching
- UML Diagrams