Wowza Community

Sending parameters to rtmp protocol

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]

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

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

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]