Results 1 to 7 of 7

Thread: Stop/start remotely a live stream

  1. #1

    Default Stop/start remotely a live stream

    Hello,

    Currently I have a setup like this:
    transcoder -> multicast stream (h264, mpeg2-ts) -> wowza origin -> rtmp/hls/smoothstreaming -> wowza edge -> devices (pc, android, ios, windows)

    There are certain intervals when I want to stop/start a live stream remotely, from an automation system. Is there an URL on the Wowza Media Server that allows me to do it via POST/GET URL calls to the origin server?


    Cheers,
    Iulian

  2. #2

    Default

    Hi Iulian,

    You can use this HTTPProvider:
    How to parse post or get variables in an HTTPProvider

    There is also this API for starting and stopping a stream using methods that are part of the IApplicationInstance interface:
    How to use the MediaCaster API

    Salvadore

  3. #3
    Join Date
    Jun 2012
    Posts
    723

    Default

    Hi,

    There isn't anything built in, but you could create your own HTTP provider through a custom Wowza module and have it manage published streams.
    Please take a look at the following HTTP provider examples and custom module samples that you might find useful:
    http://www.wowza.com/forums/content....-httpproviders
    http://www.wowza.com/forums/content....ediaCaster-API
    http://www.wowza.com/forums/content....mActionNotify2

    Zoran

  4. #4

    Default

    I'm interested in this as well. If I understand correctly the MediaCaster API is local to the Wowza server machine. So I'm guessing that JMX is not something that can control streams, and I need to pursue this HTTP provider to accomplish this?

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

    Default

    Wowza HTTPProviders is the easiest option for integration. Any system that can load an HTTP resource and handle the response can use a Wowza HTTPProvider for integration.

    If you take a look at the guide that Sal posted above, there are two examples, and they both start MediaCaster streams. The 2nd one is more complete, but they are both basic starting places, that could be used as-is in many cases.

    Richard

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

    Default

    One note: Those examples are using a deprecated method of starting MediaCaster streams, you should adapt the current method shown by Zoran here.

    Those examples only start MediaCaster streams as something to do; the main focus of the example is handling query string (GET) or POST data in an HTTPProvider

    Richard

  7. #7

    Default

    Quote Originally Posted by rrlanham View Post
    One note: Those examples are using a deprecated method of starting MediaCaster streams, you should adapt the current method shown by Zoran here.

    Those examples only start MediaCaster streams as something to do; the main focus of the example is handling query string (GET) or POST data in an HTTPProvider

    Richard
    Thanks, this helps a lot.

    JohnA

Posting Permissions

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