Results 1 to 9 of 9

Thread: How do I play a saved stream from a live application?

  1. #1

    Default How do I play a saved stream from a live application?

    I have an application called "recorder" set to record all incoming streams. It's meant to accept streams, and store them.
    The Streaming File Directory is set to ${com.wowza.wms.context.VHostConfigHome}/content/recorder

    How do I playback these saved streams by using the same application?

    I've tried going to rtmp://[server-ip]/recorder/[streamname], and that doesn't work.

    I've only gotten it to work by creating a video-on-demand application, setting the Streaming File Directory to the location that the recorder's Streaming File Directory is set to, and playing the file by accessing that application instead of the recorder.

    Can you playback saved streams from a live application, or can you only playback using vod applications?

    I've tried following this tutorial http://www.wowza.com/forums/content.php?35#playback but I always get a "Stream not found" when I try to play my streams using the built-in test players through the recorder application
    Last edited by jHouseman; 10-02-2014 at 01:11 PM.

  2. #2

    Default

    Hi there,

    I am not sure this is exactly what you want but you could use the Stream Class to play the VOD file as the source of a live stream:
    How to do basic server-side publishing with Stream class streams

    Thank you,

    Salvadore

  3. #3

    Default

    To play VOD files located in a sub-folder you will need to add _definst_ to the stream name:
    rtmp://[server-ip]:1935/[app-name]/_definst_/recorder/[streamname]
    Salvadore

  4. #4

    Default

    The application's name is recorder Are you saying I should do recorder/_definst_/recorder ?

    rtmp://54.188.88.9:1935/recorder/_definst_/recorder/[streamname].mp4 didn't work.

    rtmp://54.188.88.9:1935/_definst_/recorder/[streamname].mp4 didn't work either.

    Is it even possible to playback recorded streams from a LIVE application?
    Last edited by jHouseman; 10-02-2014 at 01:50 PM.

  5. #5

    Default

    Sorry, I thought you said the VOD files were in a sub-folder called "recorder"

    If this is the case, and the application name is "recorder" and the file is located in a sub-folder inside of /content called "recorder", then yes.

    Otherwise this is the URL format for playing content in a sub-folder:
    rtmp://[server-ip]:1935/[app-name]/_definst_/[sub-dir]/[streamname]
    Salvadore

  6. #6

    Default

    And what do you mean by a VOD file?

    I'm using a LIVE application with the "Record all incoming streams" option in order to enable my flash client to publish a stream to Wowza and have it stored there when the client is finished publishing.

    So, after the client is finished publishing and the stream is stored on the server, would the resulting file be considered a VOD file?

  7. #7

    Default

    I tried

    rtmp://[server-ip]:1935/recorder/_definst_/content/[streamname].mp4
    And that didn't work.

  8. #8

    Default

    I am sorry. No, you can not play back a recorded stream in the same live application.
    But you can use the Stream class to use the recorded file as the source of a live stream, which will allow you to play a recorded stream (file) as a live stream:
    How to do basic server-side publishing with Stream class streams

    And the last post about using _definst_ was because I thought you were having trouble playing the recorded file in a VOD application, which looking back sounds like that was not the case.

    I don't think you would want to play the recorded file in an app that is set to record all incoming streams.

    Sorry for all this confusion. I hope I cleared it up here.

    Salvadore

  9. #9

    Default

    Okay, thanks.

    This works differently than in Adobe Media Sever, where you can stream to and from using the same live application. I was used to this architecture, rather than having two different applications, one for "uploading" and another for "downloading".

Similar Threads

  1. what is the problem when i play multiple stream on same live application. ?
    By sagar123AHER in forum Live Streaming and Encoder Discussion
    Replies: 3
    Last Post: 10-10-2013, 05:01 AM
  2. Replies: 1
    Last Post: 10-09-2013, 06:04 AM
  3. what is the problem when i play multiple stream on same live application. ?
    By sagar123AHER in forum Performance Tuning Discussion
    Replies: 1
    Last Post: 10-09-2013, 04:46 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
  •