Master uri must be set before parsing (as in the examples).
This may be true for all playlist / uri parsing.
Setting the uri should be optional, so need to support both a null terminated string and null value.
Consider adding an argument to the init or parse function to provide the stream uri.