Skip to content
This repository has been archived by the owner on May 5, 2020. It is now read-only.

gqf2008/rtmp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rtmp

Golang rtmp server

Run a simple server

package main

import "github.com/go-av/rtmp"

func main() {
	rtmp.SimpleServer()
}

Use avconv to publish stream

avconv -re -i a.mp4 -c:a copy -c:v copy -f flv rtmp://localhost/myapp/1

Use avplay to play stream

avplay rtmp://localhost/myapp/1

About

Golang rtmp server

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published