Wowza Community

Detect Flash stream name?

I am “intercepting” an RTMP request to my Wowza server using the onConnect method:

public void onConnect(IClient client, RequestFunction function, AMFDataList params)

For e.g. MPEG-Dash, I’ve used


for this, successfully using the


method in order to retrieve the name of the stream that the user is trying to play. Are there any equivalent methods that I can use to obtain the name of the stream when it is played using RTMP? I can’t seem to find any methods within the three arguments to




Hi Tommy,

Here is a guide on controlling access to a playback stream (the IClient object is for RTMP). It includes logic in obtaining the stream name.

		IMediaStream stream = getStream(client, function);		
		String streamName = getParamString(params, PARAM1);