Ejemplo n.º 1
0
func (handler *TestOutboundConnHandler) OnStreamCreated(conn rtmp.OutboundConn, stream rtmp.OutboundStream) {
	fmt.Printf("Stream created: %d\n", stream.ID())
	createStreamChan <- stream
}
Ejemplo n.º 2
0
func (handler *ConnHandler) OnStreamCreated(conn rtmp.OutboundConn, stream rtmp.OutboundStream) {
	log.Printf("rtmp stream created: %d\n", stream.ID())
	createStreamChan <- stream
}