Results 1 to 4 of 4

Thread: How to get the recording status of a stream when using liveStreamRecord

  1. #1

    Default How to get the recording status of a stream when using liveStreamRecord

    I've been trying to get the status of a stream if it's being recorded but can't with the isRecord() method on the stream object on the server side. Is there another way to get the status of a stream if it's being recorded? For example, if you use the admin 8086 ported "livestreamrecord" page then you can see the streams that are in there and if they are being recorded or not. How would I retrieve that value?

  2. #2


    Hello there.

    You can grab a reference to your IStreamRecorder objects and check them as follows:
    Map<String, IStreamRecorder> recordingMap = vhost.getLiveStreamRecordManager().getRecordersMap(appInstance);
    Then you could iterate through the recorders and check the recorder.getRecorderState() as follows:
    int recordState = recorder.getRecorderState();
    if(recordState == IStreamRecorderConstants.RECORDER_STATE_RECORDING){
      // do something
    I hope this answers your question.

    Kind regards,


  3. #3


    Thanks Salvadore. How would I check on particular streams? It looks like I have to iterate over every single application instance on the server, collect all the recorders, then look inside that map? Does the map hold information on the stream name? If so, how would I retrieve that?

  4. #4


    You can add this code to an Application module, and then iterate through only the streams published to that application.

    You might do something like this:
    if (recorder.getStreamName().equals("mySpeciaStream")) {
    // doSomthing

    Kind regards,


Similar Threads

  1. Recording status of a stream file via HTTP Provider
    By bluestone in forum Wowza Streaming Server Java API
    Replies: 3
    Last Post: 10-31-2014, 02:55 AM
  2. How to play the recording part of LiveStreamRecord
    By andy_c in forum Tutorials Discussion
    Replies: 3
    Last Post: 07-23-2013, 04:44 AM
  3. LiveStreamRecord - app stop recording for no reason
    By Volive in forum AddOn: Other AddOns
    Replies: 3
    Last Post: 10-09-2012, 05:24 PM
  4. LiveStreamRecord recording a Stream class created stream
    By jachai in forum Server-side Modules and Code Samples Discussion
    Replies: 5
    Last Post: 06-26-2012, 12:11 PM

Posting Permissions

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