# Sending parameters to rtmp protocol

**URL:** <https://community.wowza.com/t/sending-parameters-to-rtmp-protocol/37710>\
**Category:** Wowza Streaming Engine\
**Created:** [December 1, 2011, 12:25pm UTC](https://community.wowza.com/t/sending-parameters-to-rtmp-protocol/37710 "2011-12-01T12:25:08Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Michael\_West](https://avatars.discourse-cdn.com/v4/letter/m/5fc32e/32.png) [@Michael\_West](https://community.wowza.com/u/Michael_West)\
**Post date:** [December 1, 2011, 12:25pm UTC](https://community.wowza.com/t/sending-parameters-to-rtmp-protocol/37710/1 "2011-12-01T12:25:08Z")

</div>

hey, is it possible to send custom parameters to rtmp protocol, and use php to receive the parameters?

for example like this:

rtmp://[wowza-ip-address]:1935/vod/mp4:content.php?video\_id=3214&parameter2=4324

and then put this inside content.php

[PHP]$video\_id = $\_GET[“video\_id”];

$parameter2 = $\_GET[“parameter2”];[/PHP]

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [December 1, 2011, 8:33pm UTC](https://community.wowza.com/t/sending-parameters-to-rtmp-protocol/37710/2 "2011-12-01T20:33:16Z")

</div>

A PHP page might be involved in forming a rtmp url in a http response, but would not be involved in any direct way after that.

Richard

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [December 2, 2011, 4:27pm UTC](https://community.wowza.com/t/sending-parameters-to-rtmp-protocol/37710/3 "2011-12-02T16:27:55Z")

</div>

You can install a web server on same machine as Wowza as long as they both use different IP:Port.

If you have one IP, and use port 80 in a VHost.xml, you can’t use port 80 in the web server. You can use alternative port, e.g. 8080 in the web server.

Richard

---

<div class="post-metadata">

**Author:** ![Michael\_West](https://avatars.discourse-cdn.com/v4/letter/m/5fc32e/32.png) [@Michael\_West](https://community.wowza.com/u/Michael_West)\
**Post date:** [December 1, 2011, 3:30pm UTC](https://community.wowza.com/t/sending-parameters-to-rtmp-protocol/37710/4 "2011-12-01T15:30:25Z")

</div>

is it possible to install apache + php on the same port where wowza server is installed?

im planing to use rtmp streaming on https that way i can run some php codes on the wowza media server,

[PHP]example:

http://[wowza-ip-address]:1935/vod/mp4:content.php?video\_id=3214&parameter2=4324

where (apache+php) and wowza is installed on 1935 port[/PHP]
