Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8017643
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T20:54:21+00:00 2026-06-04T20:54:21+00:00

I’m trying to make some app that will play the stream from wowza. That

  • 0

I’m trying to make some app that will play the stream from wowza.
That part is ok. But next i need to have some option in app, that will comunicate with wowza server. For example how to call a wowza server some method, how to call onConnect method … How to connect from wowza from a app and stay connected until i call a onDisconnect method???
If somebody have some info i will be very grateful… Thanks in advance…

VideoView.setVideoPath("some path") 

does the trick for playing…

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T20:54:22+00:00Added an answer on June 4, 2026 at 8:54 pm

    You call call a method in a Wowza module using a HTTPProvider (http://www.wowza.com/forums/content.php?30-httpproviders). This gives you a url in your Wowza module which your app will be able to call over HTTP.

    So for example you have your Wowza module running under the default of:

    http://localhost:1935.
    

    You can add a HTTPProvider to your VHost.xml, such as:

    <HTTPProvider>
        <BaseClass>com.mycompany.wms.module.SomeModule</BaseClass>
        <RequestFilters>logout*</RequestFilters>
        <AuthenticationMethod>none</AuthenticationMethod>
    </HTTPProvider>
    

    This would let you call a url such as:

    http://localhost:1935/logout?id=123456789
    

    In the Java code for your module, you need implement HTTProvider2Base from which you create a onHTTPRequest method. The variables in the query string (so in this example: ?id=123456789) can be used in the method. You can also call methods in your module from here.

    An example Java class that would use this call is as follows:

    package com.mycompany.wms.module;
    
    import com.wowza.wms.http.HTTProvider2Base;
    import com.wowza.wms.http.IHTTPRequest;
    import com.wowza.wms.http.IHTTPResponse;
    import com.wowza.wms.logging.WMSLogger;
    import com.wowza.wms.logging.WMSLoggerFactory;
    import com.wowza.wms.vhost.IVHost;
    
    public class SomeModule extends HTTProvider2Base {
    
    public void onHTTPRequest(IVHost vhost, IHTTPRequest req, IHTTPResponse resp) {
        //Get the user
        String userId = req.getParameter("id");
        getLogger().info("Logging out user: " + userId );       
    
        logoutUser(userId);
    }
    
    private void logoutUser(String userId){
        //Do stuff here...
    }
    
    private WMSLogger getLogger(){
        return WMSLoggerFactory.getLogger(SomeModule.class);
    }
    }
    

    Some gotchas:

    • Scoping in onHTTPRequest seems to be outside of your instance so be careful of accessing properties in an instance of the module.
    • I had to comment out the HTTPProvider node with HTTPServerVersion in it to get my one to work. It seemed to override all other HTTPProviders in my version of Wowza.
    • I also had trouble with the Wowza running from the IDE not picking up calls to the url via Visual Studio. Once I put my changes into the service version, the calls worked fine.

    The app I built which did this was largely based on the conversation in this article: http://www.wowza.com/forums/content.php?182-HTTPProvider-that-returns-detail-server-info

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I need a function that will clean a strings' special characters. I do NOT
For some reason, after submitting a string like this Jack’s Spindle from a text
I'm parsing an RSS feed that has an &#8217; in it. SimpleXML turns this
I need to clean up various Word 'smart' characters in user input, including but
I'm trying to decode HTML entries from here NYTimes.com and I cannot figure out
I'm trying to create an if statement in PHP that prevents a single post
I am trying to understand how to use SyndicationItem to display feed which is
Basically, what I'm trying to create is a page of div tags, each has
link Im having trouble converting the html entites into html characters, (&# 8217;) i
That's pretty much it. I'm using Nokogiri to scrape a web page what has

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.