How to control access to an RTSP/RTP stream

onRTPSessionCreate fires when you start playing a stream from an RTSP device or player. For example VLC using a rtsp url to a Wowza Stream.

You can add a querystring to the rtsp url and retrieve in onRTPSessionCreate with:

String queryStr = rtpSession.getQueryStr();

Richard