Results 1 to 6 of 6

Thread: Playlist stream source spec

  1. #1

    Default Playlist stream source spec

    Hi,

    How can I specify a playlist item like this:

    playlist1.addItem("rtmp://myhost:1935/live/myStream", -2, -1);

    ??

    It does not seem to work as is.

    Thanks!
    Atmapuri

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

    Default

    Use .stream file (or alias using the Alias addon) that contained that URL, then start it in StreamManager or Wowza Manager with MediaCaster type "liverepeater". For example a file named mystream.stream in /content folder, with contents "rtmp://myhost:1935/live/myStream"

    playlist1.addItem("mystream.stream", -2, -1);
    mystream.stream has to be started in StreamManager or with the Wowza Manager or the MediaCaster API with MediaCaster type "liverepeater"

    Richard

  3. #3

    Default

    Dear Richard,

    >mystream.stream has to be started .... with the MediaCaster API with MediaCaster type "liverepeater"

    How do I that?

    What I would like to achieve, is that a restart of the application, will automatically also start the stream. Currently the entire server needs to be restarted to get the stream file going again.

    Thanks!
    Atmapuri

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

    Default

    Take a look at this guide, Atmapuri, to start MediaCaster streams interactively. And you can do it in the Wowza Manager where .stream files are managed.

    Or this guide to start MediaCaster streams when Wowza starts up.

    Richard

  5. #5

    Default

    Thank you Richard for your assistance, but my question was how to do that in code not via IDE but via MediaCaster API. What code do I need to put in front of:

    playlist1.addItem("mystream.stream", -2, -1);

    ??
    Atmapuri

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

    Default

    This article shows how to use the MediaCaster API

    Richard

Similar Threads

  1. Playlist with MPEG-TS as source
    By DavidS in forum General Forum
    Replies: 6
    Last Post: 08-20-2014, 07:17 PM
  2. Stream From RTSP Video Source and Dshow Audio Source
    By dariocdj in forum Live Streaming and Encoder Discussion
    Replies: 2
    Last Post: 10-24-2013, 08:17 AM
  3. Server Spec
    By amsl68 in forum General Forum
    Replies: 3
    Last Post: 08-07-2013, 05:13 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
  •