Results 1 to 6 of 6

Thread: Wowza textchat without flash?

  1. #1

    Default Wowza textchat without flash?

    I have seen that some camera chats use html to display the page and only use flash for cameras and sound. The applications are possible to use without flash installed (if you only use text-chat part).

    Is there any possibility to interact with Wowza with html/javascript/ajax only without flash installed (so that it is possible to build a non-flash based text chat) or are the applications that I have seen using some other technology?

  2. #2

    Default

    Hi, there is nothing built in to do this without flash, but you could do this with some custom code and HTTPProviders:
    How to make an HTML page with graphics and scripts using an HTTPProvider

    If you need more direct help with this you can post to find a consultant or you can email support@wowza.com

    Salvadore

  3. #3

    Default Would interaction to a HTTPProvider be possible directly from HTML/javascript/ajax?

    Quote Originally Posted by salvadore View Post
    Hi, there is nothing built in to do this without flash, but you could do this with some custom code and HTTPProviders:
    How to make an HTML page with graphics and scripts using an HTTPProvider

    If you need more direct help with this you can post to find a consultant or you can email support@wowza.com

    Salvadore
    I understand that a HTTPProvider could generate HTML that could include information about different variable values from the memory etc.

    But would any interaction or function calling back to Wowza (or the HTPProvider itself) via the generated HTML be possible? In a text chat for example there has to be a post button that informs the application that the user wants to post text.

    If this button is done in HTML/javascript/ajax it has to call functions in the application or it would not be a functional application. Would this be by posting parameters in the adress field or some other method?

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

    Default

    You can interact with everything in Wowza with an HTTPProvider, except streams. There are more examples here:

    http://www.wowza.com/forums/content....-httpproviders

    Richard

  5. #5

    Default

    Quote Originally Posted by rrlanham View Post
    You can interact with everything in Wowza with an HTTPProvider, except streams. There are more examples here:

    http://www.wowza.com/forums/content....-httpproviders

    Richard
    Thank you for your answer. However I was more looking for info about how a possible interaction between a HTML/javascript/ajax button and a HTTPProvider function may look like, and if its at all possible to call HTTPProvider functionality from HTML/javascript/ajax directly. (If it is why is it then impossible to call Wowza server side code directly (without using Flash)?)
    Last edited by olarsson; 05-22-2013 at 07:27 PM.

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

    Default

    The easiest way to see how HTTPProviders work is to look at the built-in ones. Open /conf/VHost.xml and look at the first HostPort (with /Port "1935"). There are 4 HTTPProviders in this HostPort. These all use port 1935 since they are in that HostPort. Look at the RequestFilter of the first one:
    <RequestFilters>*crossdomain.xml</RequestFilters>
    Knowing the Port and RequestFilter, you can form a url:

    http://[wowza-address]:1935/crossdomain.xml

    Notice that the last HTTPProvider has RequestFilter "*". There can only be one HTTPProvider in a HostPort with "*" for RequestFilter. It must be last, because anything below will not run. This is the HTTPProvider that runs with no RequestFilter for that Port:

    http://[wowza-address]:1935

    It returns Wowza version

    Take a look at the Wowza IDE and its guide for more info:
    http://www.wowza.com/media-server/developers#wowza-ide

    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
  •