Results 1 to 4 of 4

Thread: Reset stream without MediaCaster

  1. Default Reset stream without MediaCaster

    A server streams IP-camera feeds with an application configured with stream type "rtp-live". Advantage is that the stream automatically starts the moment the first client connects. The backside is that I can't seem to control the stream with the MediaCasterStreamManager. The following code does a stop/start of the stream, so that the contents of the .stream file will be reloaded. It works fine when the stream type is "live" but with "rtp-live" it just says "stream not found".

    Is there a way to control rtp-live streams (start/stop/reset) in the same way?

    IApplicationInstance appInstance = this.getAppInstance(appInstanceStr);
    if (appInstance != null) {
      MediaCasterStreamMap mediaCasterMap = appInstance.getMediaCasterStreams();
      MediaCasterStreamManager mediaCasterStreamManager = mediaCasterMap.getStreamManager();
      boolean success = mediaCasterStreamManager.stopStream(streamName);
      if (success) {
        success = mediaCasterStreamManager.startStream(streamName, mediaCasterType);

  2. #2
    Join Date
    Dec 2007


    There is no reason to use StreamType "rtp-live" if you want to do that, just use StreamType "live". Once a Flash client has connected it will have the lock on the stream that you want to reserve for the MediaCaster system.


  3. Default

    Problem is that with the StreamType "live", the streams need to be started manually (or added to StartupStreams.xml) which is quite a job since we're talking about thousands of stream files that also change regularly. It's a big advantage with the "rtp-live" stream type that the stream starts automatically when the first client connects.

  4. Default

    So, no possibility to do this with StreamType "rtp-live"?

Similar Threads

  1. Stream not getting reset
    By deeptikohli in forum Video On Demand Streaming Discussion
    Replies: 3
    Last Post: 07-19-2012, 03:12 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