Results 1 to 6 of 6

Thread: Is it possible to use Players in example dir through HTTP on running Wowza?

  1. #1
    Join Date
    Jan 2013

    Default Is it possible to use Players in example dir through HTTP on running Wowza?


    Could you please say is is possible to use Players that are situated inside [wowza-root]\examples\LiveVideoStreaming\ to access via HTTP?

    Right now I have next situation:

    1. Wowza is installed on Windows localhost in dir [C:\Wowza\3.5\]

    2. Java application is working on localhost. It makes a screenshot every second in real time, encodes it and sent as VIDEO-stream to Wowza with this parameters:
    3. All necessary folders and files in [wowza-root]/conf and [wowza-root]/applications are created.

    4. When I manually open [wowza-root]\examples\LiveVideoStreaming\FlashRTMPPlayer\player.html and enter values:
    Server: rtmp://localhost/screenshare
    Stream: ss
    And click connect - I got my screenshare live-stream without any problem.

    The same is working for FlashHTTPPlayer, but I need to enter:
    Stream: http://localhost:1935/screenshare/ss/manifest.f4m"
    and click "Connect

    My aim: to generate inside Swing-app direct link to player where correct stream is playing via message like: "Please send link to any person interested in your screen: httl://localhos/FlashRTMPPlayer&link=rtmp://localhost:1935/screenshare/ss/manifest". So anyone who enters this link in browser just will see working live stream, without need to click any buttons. Because different users can generate streams with different IDs this URL to stream really should be dynamic (that is why I can't use solution from "How to use the Adobe Flash Media Playback player with Wowza Media Server" - in the embedded player this URL is static)

    So the questions:
    1. Is it possible to access to players in [wowza-root]/example folder via HTTP on running Wowza-server?
    2. Is it possible to somehow pass correct URL to player in request string?
    3. Any other options?

    Thank you very much

  2. #2
    Join Date
    Dec 2007


    Use the FlashHTTPPlayer (OSMF) examples in Wowza to play sanjose (manifest.f4m) streams.

    Other options that I know of are these:

    Flash Media Playback Player (easy)




  3. #3
    Join Date
    Jan 2013


    Hi Richard. Thank you for reply.

    Could you tell me is is possible to launch FlashHTTPPlayer on running Wowza-server via entering URL in browser? Like I wrote in question - I have no problems launching player by entering directory [wowza-root]\examples\LiveVideoStreaming\FlashHTTPPlayer\ and launching player.html, but it is really interesting - can I do it via browser URL and what the form of URL it will be?

    Maybe to clarify question - on running Wowza server it is possible to launch StreamManager via this URL:

    Is it possible to do something like this for Player?

  4. #4
    Join Date
    Dec 2007


    The example player(s) can be moved to a web server to access them in a remote browser.

    There is not a web server included with Wowza.


  5. #5
    Join Date
    Jan 2013


    Hi Richard. Thanks for reply

    I managed to achieve my goal with your link on Flash Media Playback Player:

    Just embed this player on html page deployed on application server and add a little javascript, that actually extracts necessary stream URL from parameter in request.

    <SCRIPT LANGUAGE="JavaScript">
        var myQueryString =;
        // remove the '?' sign if exists
        if (myQueryString[0] = '?') {
            myQueryString = myQueryString.substr(1, myQueryString.length - 1);
            '<object width="600" height="409">\n' +
                '<param name="movie" value="" />\n' +
                '</param>\n' +
                '<param name="flashvars" value="' + myQueryString +'" />\n' +
                '</param>\n' +
                '<param name="allowFullScreen" value="true" />\n' +
                '</param>\n' +
                '<param name="allowscriptaccess" value="always" />\n' +
                '</param>\n' +
                '<embed src="" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="600" height="409" flashvars="' + myQueryString +'"></embed>\n' +
    But anyway - it worked great.

    Best regards, Dmitry

  6. #6
    Join Date
    Dec 2007



    Cool! Thanks for update and example.


Similar Threads

  1. Replies: 3
    Last Post: 08-28-2014, 11:31 PM
  2. How to terminate a HTTP Session when it is stilll running?
    By hungnguyen88 in forum Wowza Streaming Server Java API
    Replies: 6
    Last Post: 04-28-2014, 10:44 AM

Posting Permissions

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