Results 1 to 4 of 4

Thread: Sending parameters to rtmp protocol

  1. #1
    Join Date
    Dec 2011
    Posts
    2

    Talking 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 Code:
    $video_id $_GET["video_id"];
    $parameter2 $_GET["parameter2"]; 

  2. #2
    Join Date
    Dec 2007
    Posts
    21,962

    Default

    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

  3. #3
    Join Date
    Dec 2011
    Posts
    2

    Default

    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 Code:
    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 
    Last edited by ds5010101; 12-01-2011 at 04:34 PM.

  4. #4
    Join Date
    Dec 2007
    Posts
    21,962

    Default

    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •