Diana
Elixir Video Chat Streaming Server
This is what it is able to do now:
- Play videos on demand in HLS format.
- Seek in the videos.
- Accept streams from a webcam.
- Encode multiple videos in multiple resolutions using tasks.
- Stream live video to the server from webcam or encoders.
- Play live video from camera or live source.
TODO: Complete the quick start guide
Quick start
Build using make build
Streaming
- Use ffmpeg, obs or any other program to stream to rtmp://localhost:1935/live/diana
- Each stream has a unique key
/live/<Key>
. In this example you should stream to/live/diana
Playback
-
Run
make dev_rtmp
-
Visit localhost:80 to watch the video
-
Configure environment variables, or edit.profile.example.
-
Make tmp directory with a video file named video.mp4 -
Start the server usingdocker-compose up
, orbin/start
-
Visit http://localhost:3000 to watch a demo. -
Replace the video under./tmp/video.mp4
Streaming to the server
Stream to udp://localhost:3001, or run bin/udp
.
MacOS webcam client and video player
You can try this webcam client