unnecessary or operator with always passed in argument in getStreamUrl