Initial POC works with IPFS

This commit is contained in:
Gabe Kangas
2020-05-29 18:08:33 -07:00
parent cc48f86b85
commit af698063bd
40 changed files with 826 additions and 29 deletions

View File

@ -10,6 +10,12 @@ import (
)
func main() {
createIPFSDirectory()
resetDirectories()
touch("hls/stream.m3u8")
go monitorVideoContent("./hls/")
go startChatServer()
tcpAddr, err := net.ResolveTCPAddr("tcp", ":1935")
@ -43,6 +49,7 @@ func main() {
if err := srv.Serve(listener); err != nil {
log.Panicf("Failed: %+v", err)
}
}
func startChatServer() {