A Scaleable Video On Demand experiment utilizing Evernode Nodes.
Two docker containers:
1. The video stream server
2. The load balancer server.
Functionality:
The video stream server is delivering video in chunks. You can have a lot of these servers if you want to divide the traffic among more ...
Search found 5 matches
- Sun Sep 01, 2024 5:09 pm
- Forum: Evernode Tutorials & Ideas
- Topic: VodMeister 1.0.0
- Replies: 0
- Views: 10820
- Fri Aug 30, 2024 7:39 pm
- Forum: Evernode Developing
- Topic: Video Deliver Solution -- Whats your thoughts?
- Replies: 2
- Views: 18582
Re: Video Deliver Solution -- Whats your thoughts?
Solved the remaining part with a javascript on the player site! ;)
You would add your domain there, and have multiple A records in it to multiple load balancers. DNS resolvers are spreading traffic randomly to A records!
public/web.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF ...
You would add your domain there, and have multiple A records in it to multiple load balancers. DNS resolvers are spreading traffic randomly to A records!
public/web.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF ...
- Thu Aug 29, 2024 2:41 pm
- Forum: Evernode Tutorials & Ideas
- Topic: Evernode PWA APP
- Replies: 4
- Views: 25276
Re: Evernode PWA APP
Multiple A record solution would work on static sites only. For a dynamic site, I've found that there is a Docker Plugin named BlockBridge, that provides both encryption and multi-host access to block storage data volumes, it is available at https://github.com/blockbridge/blockbridge-docker-volume ...
- Thu Aug 29, 2024 2:38 pm
- Forum: Evernode Developing
- Topic: Video Deliver Solution -- Whats your thoughts?
- Replies: 2
- Views: 18582
Re: Video Deliver Solution -- Whats your thoughts?
Here's the current load balancer, it's always taking the next chunk from random nodes loacted in the text file servers.txt .
This file can be modified at any point in time, you can remove bad nodes and add good nodes with api calls.
index.js
const https = require('https');
const httpProxy ...
This file can be modified at any point in time, you can remove bad nodes and add good nodes with api calls.
index.js
const https = require('https');
const httpProxy ...
- Thu Aug 29, 2024 2:31 pm
- Forum: Evernode Developing
- Topic: Video Deliver Solution -- Whats your thoughts?
- Replies: 2
- Views: 18582
Video Deliver Solution -- Whats your thoughts?
This video delivery solution is compiling videochunks into a stream, you make the chunks with ffmpeg
ffmpeg
ffmpeg -i "path to videoname.mp4" -codec: copy -start_number 0 -hls_time 6 -hls_list_size 0 -f hls index.m3u8
Folder name for video chunks: video_segments
it contains a bunch of ts files ...
ffmpeg
ffmpeg -i "path to videoname.mp4" -codec: copy -start_number 0 -hls_time 6 -hls_list_size 0 -f hls index.m3u8
Folder name for video chunks: video_segments
it contains a bunch of ts files ...