Results 1 to 2 of 2

Thread: How to use "rtp-live" to start and stop stream.

  1. #1
    Join Date
    Nov 2015

    Default How to use "rtp-live" to start and stop stream.

    Just came across a post

    "It is if you start streams with StreamManager or StartupStreams.xml.

    You can avoid that if you only have Flash RTMP clients, you can use StreamType "rtp-live", then you do not have to use StreamManager or StartUpStreams to start the stream. The first Flash RTMP client that plays the stream will start it and it will stop 60 seconds after the last one stops.


    so can some one provide the steps to implement the "rtp-live" so the stream starts when the first user play the stream and stops when the last user stop playing the stream.


  2. #2
    Join Date
    Jun 2011


    You would set the 'StreamType' to 'rtp-live' in the file [install-dir]/conf/[MyApplicationName]/Application.xml

    As you describe this would allow the first player that requests the stream to actually start it up. This only applies to
    media caster streams, so streams based on RTSP/IP cameras and encoders for instance.
    It does also only apply to RTMP based players. The stream cannot be started by HLS or other HTTP protocols
    and when the last RTMP player stops whating the stream will stop after 60 seconds. SO if any http players are still
    watching then the stream will stop for those. So it really is an RTMP player only workflow in this sense.


Similar Threads

  1. call("setCaption",null,"myStream","hello room","eng","0"); - how to use serverside
    By Eliont in forum Server-side Modules and Code Samples Discussion
    Replies: 0
    Last Post: 10-30-2015, 02:43 AM
  2. Try to use REST API to start and stop recording from a live stream
    By pothibo in forum Wowza Streaming Engine REST API
    Replies: 3
    Last Post: 07-13-2015, 08:05 AM
  3. when stream not "live" playback "standby" media until live?
    By CVP Media in forum Live Streaming and Encoders
    Replies: 1
    Last Post: 09-09-2014, 10:17 AM
  4. Once more about switching between "live live" stream and "file-based live" stream
    By mudropolk in forum Live Streaming and Encoder Discussion
    Replies: 11
    Last Post: 04-25-2012, 06:45 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