# RTP session create restriction!

**URL:** https://community.wowza.com/t/rtp-session-create-restriction/44485
**Category:** Wowza Streaming Engine
**Created:** [February 15, 2015, 5:36pm UTC](https://community.wowza.com/t/rtp-session-create-restriction/44485 "2015-02-15T17:36:17Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Ahsanul\_Kabir](https://avatars.discourse-cdn.com/v4/letter/a/8edcca/32.png) [@Ahsanul\_Kabir](https://community.wowza.com/u/Ahsanul_Kabir)
#### Post date: [February 15, 2015, 5:36pm UTC](https://community.wowza.com/t/rtp-session-create-restriction/44485/1 "2015-02-15T17:36:17Z")

</div>

we’ve a live Stream running in our wowza server. Now, if user access the stream from vlc player, We get the user agent information from wowza\_access log. and if user access the stream from browser, then the stream is played by vlc player too and we get the user agent information is same! we actually want to restrict the access from vlc player directly. But if the two user agent information is same, the how can we differentiate the access and block the direct access?? the access\_logger information is given below:

2015-02-15 17:33:19 BDT comment server INFO 200 - trueAccessLog: onRTPSessionCreate: 2025882039 - - - 16416.324 – - - - - - - - - - - - - - - - - - - - - – -

2015-02-15 17:33:19 BDT comment server INFO 200 - trueAccessLog: onRTPSessionCreate: ipAddress192.168.56.1 - - - 16416.332 - - - - - - - - - - - - - - - - - - - – - - - -

2015-02-15 17:33:19 BDT comment server INFO 200 - trueAccessLog: onRTPSessionCreate: queryStrnull - - - 16416.333 – - - - - - - - - - - - - - - - - - - - - – -

2015-02-15 17:33:19 BDT comment server INFO 200 - trueAccessLog: onRTPSessionCreate: referrernull - - - 16416.334 – - - - - - - - - - - - - - - - - - - - - – -

2015-02-15 17:33:19 BDT comment server INFO 200 - trueAccessLog: **onRTPSessionCreate: userAgentLibVLC/2.1.5 (LIVE555 Streaming Media v2014.05.27)** - - - 16416.334 - - - - - - - - - - - - - - - – - - - - - - - -

2015-02-15 17:33:19 BDT comment server INFO 200 - trueAccessLog: onRTPSessionCreate: uriStrrtsp://192.168.56.101:1935/live/mystream – - 16416.338 - - - - - - - - - - - - - - - - - – - - - - - -

---

<div class="post-metadata">

### Author: ![Daren\_Johnson](https://avatars.discourse-cdn.com/v4/letter/d/ee59a6/32.png) [@Daren\_Johnson](https://community.wowza.com/u/Daren_Johnson)
#### Post date: [February 15, 2015, 9:29pm UTC](https://community.wowza.com/t/rtp-session-create-restriction/44485/2 "2015-02-15T21:29:22Z")

</div>

Hi,

The [guide given here](https://www.wowza.com/docs/how-to-control-access-to-rtsp-rtp-streams) shows how you would block the user agent.

I don’t think there is a way through userAgent you can tell the difference, and the information is easily changed/faked.

Daren

---

<div class="post-metadata">

### Author: ![Ahsanul\_Kabir](https://avatars.discourse-cdn.com/v4/letter/a/8edcca/32.png) [@Ahsanul\_Kabir](https://community.wowza.com/u/Ahsanul_Kabir)
#### Post date: [February 16, 2015, 4:28pm UTC](https://community.wowza.com/t/rtp-session-create-restriction/44485/3 "2015-02-16T16:28:26Z")

</div>

**daren\_j** , Yes, you are right. The useragent information is not enough to block! then, what can we do to detect direct access to our streaam from vlc player??
