File size: 472 Bytes
07ae658
 
 
 
 
 
 
 
 
 
 
 
 
92fa81d
07ae658
 
6ac357b
07ae658
 
 
 
6ac357b
07ae658
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/bin/bash

# initialize the stream pipes
bash ./scripts/init.sh

# ------ background processes ---------

# starts the streaming server
node ./media-server.js &

sleep 1

# background process that creates an audio stream from audio files
# bash scripts/audio.sh &

# background process that creates a video stream from video files
bash scripts/video.sh &

sleep 1

# background process that sends data to the media server
bash scripts/stream.sh &

sleep 1

npm run start