chore: add webrtc bind base

This commit is contained in:
braginini
2021-11-04 08:43:52 +01:00
parent c9b5a0e5fd
commit f71a46d27d
10 changed files with 298 additions and 173 deletions
-18
View File
@@ -1,18 +0,0 @@
package main
import (
"fmt"
"log"
"net/http"
)
func main() {
log.Print("listening on http://localhost:9090")
err := http.ListenAndServe(":9090", http.FileServer(http.Dir("/home/braginini/Documents/projects/my/wiretrustee/wiretrustee/browser/assets")))
//err := http.ListenAndServe(":9090", http.FileServer(http.Dir("/home/braginini/Documents/projects/my/wiretrustee/rtctunnel/examples/browser-http/dist")))
if err != nil {
fmt.Println("Failed to start server", err)
return
}
}