tomeshnet / ipfs-live-streaming

Like HTTP live streaming, but with IPFS which is maybe better?
GNU General Public License v3.0
449 stars 74 forks source link

[wip] HLS Client added #23

Closed darkdrgn2k closed 6 years ago

darkdrgn2k commented 6 years ago

Included HLS Client into the build, and added the client into the mirrors as well

Todo - bootstrap for ipfs mirror

echo "originalgw='http://ipfs-server.$DOMAIN_NAME:8080/''" >> /var/www/html/common.js FQDN for the ipfs-server (same that shows up in the m3u8 file that is generated there)

echo "gw='http://ipfs-mirror.$DOMAIN_NAME:8080/''" >> /var/www/html/common.js FQDN for the ipfs mirror. This is where the player will actually get the ipns file and the hashes in the m3u8 file

echo "ipnsm3u8='http://ipfs-server.$DOMAIN_NAME:8080/ipns/$IPFS_ID''" >> /var/www/html/common.js Same playlist as in ipfs-server. This will be re-written automatically by the play to reflect the new gw

darkdrgn2k commented 6 years ago

Had problems with copying files.. Didn't want to copy each file individually

Now that things are working we can unzip and just copy

Also its needed in both locations mirror and server

darkdrgn2k commented 6 years ago

Also openvpn ext should be ovpn not opvn