func (c *StreamRegistry) Register(streamInfo *StreamInfo) {
	streamInfo.HandlerID = c.nextID
	c.Streams = append(c.Streams, streamInfo)
	c.nextID++
}
// Register registers a stream to the registry
Register registers a stream to the registry
// Register registers a stream to the registry
func (c *StreamRegistry) Register(streamInfo *StreamInfo) {
	streamInfo.HandlerID = c.nextID
	c.Streams = append(c.Streams, streamInfo)
	c.nextID++
}
func ( c * StreamRegistry ) Register ( streamInfo * StreamInfo ) { streamInfo . HandlerID = c . nextID c . Streams = append ( c . Streams , streamInfo ) c . nextID ++ }
Register registers a stream to the registry
Register registers a stream to the registry