rtmp:Go中Adobe的RTMP 1.0协议的服务器实现

时间:2021-05-11 08:08:02
【文件属性】:
文件名称:rtmp:Go中Adobe的RTMP 1.0协议的服务器实现
文件大小:18KB
文件格式:ZIP
更新时间:2021-05-11 08:08:02
rtmp rtmp-server Go rtmp Go中RTMP 1.0协议的服务器实现。 入门 用法是这样的: package main import ( "flag" "log" "github.com/c-bata/rtmp" ) func main () { var addr string flag . StringVar ( & addr , "addr" , ":1935" , `TCP address to listen on, ":1935" if empty` ) flag . Parse () log . Printf ( "Serving RTMP on %s" , addr ) err := rtmp . ListenAndServe ( addr ) if err != nil { log . Fatalf ( "Catch Error: %s" , err ) } } 通
【文件预览】:
rtmp-master
----.gitignore(242B)
----_example()
--------server()
--------proxy()
----README.md(2KB)
----command_message_test.go(13KB)
----LICENSE(1KB)
----chunk.go(7KB)
----command_message.go(5KB)
----handshake_test.go(1KB)
----user_control_message.go(713B)
----chunk_test.go(3KB)
----protocol_control_message_test.go(1KB)
----handshake.go(4KB)
----protocol_control_message.go(1KB)
----user_control_message_test.go(444B)
----server.go(2KB)
----Makefile(805B)
----conn.go(17KB)

网友评论