示例#1
0
func (handler *PublishingClientConnHandler) OnConnMessageReceived(conn rtmp.Conn, message *rtmp.Message) {
	log.Println("OnConnMessageReceived")
	message.LogDump("fromserver")
}
示例#2
0
文件: server.go 项目: berndfo/gortmp
// ConnHandler methods
func (handler *ServerHandler) OnConnMessageReceived(conn rtmp.Conn, message *rtmp.Message) {
	log.Printf("OnReceived, cs id = %d, message type %d (%s)", message.ChunkStreamID, message.Type, message.TypeDisplay())
}