Results 1 to 6 of 6

Thread: Possible to reset a live stream via server side modules

  1. #1

    Default Possible to reset a live stream via server side modules

    Hi,

    I was wondering if there is a way to write a module that can reset a live stream? I've looked at the 'ILiveStreamTranscoder' and 'ILiveStreamTranscoderActionNotify', they both have 'resetStream' methods. Are these the only methods to fully reset a stream? I do not see a reset stream method on 'IMediaStream'.

    Thanks.

  2. #2
    Join Date
    Dec 2007
    Posts
    25,686

    Default

    You can reset a MediaCaster stream. You can use StreamManager or the MediaCaster API,
    Code:
    appInstance.resetMediaCasterStream("your.stream");
    You cannot reset a live RTMP stream.

    Richard

  3. #3

    Default

    Hi Richard,

    Thanks for replying. What does 'resetStream' method do in the 'ILiveStreamTranscoder' and 'ILiveStreamTranscoderActionNotify'.

  4. #4
    Join Date
    Dec 2007
    Posts
    25,686

    Default

    This is actually private, it is not a method you would use in your module. It is used internally when the source changes.

    Richard

  5. #5

    Default

    I was just curious on what happens when that method is called. Does it just resets the transcoder or does it reset RTMP streams involved as well? Or rather that information is private too?

  6. #6
    Join Date
    Dec 2007
    Posts
    25,686

    Default

    You should not call that method yourself. The ServerSide API does have a few of these private methods that really shouldn't be there but are at present. Notice that it says, "Called when the source stream changes". For the case that it is needed it is used internally. There is not another case for which it would be useful.

    Richard

Posting Permissions

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