Upload videos to Youtube using Youtube Data API
Download a live-streaming and upload the dumped video to YouTube after the stream is ended.
If upload video to YouTube failed, uploading to Google Drive instead.
client_secret.json
)client_secret.json
at the same directory with this appyoutube-go.json
(oauth2 file) at ~/.credentials
directorystreaminghandler.go
that you do not want to use.
func notifyVideoId(videoID string)
HttpServer.go
then it will be ready to go
go run HttpServer.go streaminghandler.go
Ctrl+C
to stop itMy GitHub web page template is powered by HTML5 UP
MIT