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