Results 1 to 5 of 5

Thread: Start and Stop streams automatically

  1. #1

    Default Start and Stop streams automatically


    I'm trying to develop a module with a simple functionality, it consists in save bandwidth, at a first moment the server don't start any stream, when a client request an stream the server starts the streaming and the first and the following clients can connect to it. Finally when all the clients are disconnected the stream should stop automatically.

    I think that this is very simple, I've tried to follow this thread but it didn't work for my case.

    I hope that somebody could guide me to accomplish this task.


  2. #2
    Join Date
    Dec 2007


    If all the playback clients are Flash RTMP players, you can do this very easily by changing the Application.xml /StreamType from "live" to "rtp-live". You have to do this in a text editor, it is not supported in the Manager. There are security implications in this configuration, however: anyone with a Flash client can start a MediaCaster stream on your server. So you have to use the security aspect of StreamNameAlias in this case, to limit what can be re-streamed.

    Last edited by rrlanham; 05-13-2014 at 04:38 PM.

  3. #3


    Thanks! I've tested with Flash RTMP player and it works fine!

    Could you help me to use this same system for HLS and Android HTTP Streaming? My cameras are streaming in 12 or 18fps I don't know if this is a problem.

    Best regards

  4. #4
    Join Date
    Dec 2007


    There just isn't a built-in or practical way to do this. Wowza has to packetize live streams as they come in, and there has to be 3 packets at least ready for the player to start playing. If HTTP clients are involved, use StreamType "live" and start the IP camera stream with the MediaCaster system (StartUpStreams, for example)


  5. #5


    Thank you so much for this, I'll investigate it.

    Best regards

Similar Threads

  1. automatically start and stop receiving source by wowza
    By vcogha in forum Live Streaming and Encoder Discussion
    Replies: 1
    Last Post: 10-13-2014, 05:07 AM
  2. Automatically stop and start incoming streams
    By Simon245 in forum General Forum
    Replies: 4
    Last Post: 09-19-2014, 08:41 AM
  3. start and stop MediaCaster streams
    By fubalytics in forum General Forum
    Replies: 10
    Last Post: 04-19-2014, 02:08 PM
  4. Replies: 1
    Last Post: 03-05-2012, 07:32 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