func (handler *TestClientConnHandler) OnStreamCreated(conn rtmp.ClientConn, stream rtmp.ClientStream) { log.Printf("Stream created: %d\n", stream.ID()) createStreamChan <- stream }
func (handler *PublishingClientConnHandler) OnStreamCreated(conn rtmp.ClientConn, stream rtmp.ClientStream) { log.Printf("OnStreamCreated, id = %d", stream.ID()) createStreamChan <- stream }
func (handler *PlayingClientConnHandler) OnStreamCreated(conn rtmp.ClientConn, stream rtmp.ClientStream) { log.Printf("play:OnStreamCreated, id = %d", stream.ID()) playCreateStreamChan <- stream }