Skip to content

berndfo/gortmp

 
 

Repository files navigation

GoRTMP, revised edition

====== Codeship Status for berndfo/gortmp

RTMP protocol implementation.

Spec:

Dependencies

depends solely on

Running the server:

start the standalone server

go run src/github.com/berndfo/gortmp/server/main/server.go

the server listens on the default RTMP port 1935.

the server will accept client connections for either 'publish' or 'play' netstreams. if the publish mode is 'record' or 'append' it will write the stream to FLV files in the local file system.

the server exposes runtime variables on localhost via the URL http://localhost:8000/debug/vars.

Running a publishing client:

if you want to publish a FLV file named myvideo.flv to the server, run

go run src/github.com/berndfo/gortmp/demo/publisher/rtmp_publisher.go -FLV myvideo.flv -Stream myvideo

optionally, specify the server URL by appending for example

-URL rtmp://localhost:1935/stream

About

RTMP protocol implementation in Go

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 100.0%