Wowza Community

how to have pass the username and password in playback for rtmp streamer

hi,

i am passing the username and password like this “rtmp://[wowza-ip]/live?username&password/streamname

but getting an error in jw player like this “Error loading stream :could not connect to server”

but the same link is working in the "Livestudio" page found in the downloaded “WowzaServerAddOnCollection.zip

please help me …

Thankyou…

Hi,

I suspect the / before streamname is confusing JW Player. You could try changing it to

rtmp://[wowza-ip]/live/streamname?username=x&password=y

But you would would also need to change your code slightly to get the query parameter.

Andrew.

You might try the following to work with onConnect event handler:

rtmp://[wowza-ip]/live?username=x&password=y/streamname

i tried this “rtmp://[wowza-ip]/live/streamname?username=x&password=y” but not working.

can i get the player used in Livestudio