Results 1 to 5 of 5

Thread: per stream enabling of LiveStreamPacketizers, HTTPStreamers

  1. #1
    Join Date
    Jan 2013
    Posts
    25

    Default per stream enabling of LiveStreamPacketizers, HTTPStreamers

    Hi,

    I'm trying to connect a lot of rtsp streams, from ip cameras on one server.

    There was a notable increase in cpu usage when enabling "dvrstreamingpacketizer, cupertinostreamingpacketizer, sanjosestreamingpacketizer".
    With only 10 incoming streams.

    My intention is to offer a flash client to all users, and a cupertino stream to a select few (iOS) users.
    When a user is not watching the http stream, I would like to be able to stop the unnecessary "packetizing" of the stream.

    So my question is: is it possible to enable or disable (via an api call) certain Packetizers for certain streams?
    The same question for "HTTPStreamers", although I don't know if they consume resources, when no clients are connected.


    Kind regards, Jim

  2. #2
    Join Date
    Jan 2013
    Posts
    25

    Default

    i guess this is not possible?

  3. #3

    Default

    Hi,

    It is not possible to turn it on/off once the stream has started. You can do it at the point of starting a stream, but after that point it can not be selectively done.

    Andrew.

  4. #4
    Join Date
    Jan 2013
    Posts
    25

    Default

    ok, but how do i turn them on/off per stream then?

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

    Default

    There is IMediaStream.setLiveStreamPacketizer() or IMediaStream.setLiveStreamPacketizerList() but I think these would have to be used per incoming live stream, and you would have to do it in an override of the publish command.

    I think setting IMediaStream.setLiveStreamPacketizer("") to empty string should turn off live stream packetizers,

    Richard

Similar Threads

  1. LiveStreamPacketizers on a per stream basis
    By nitinkaplan in forum Live Streaming and Encoder Discussion
    Replies: 5
    Last Post: 11-19-2013, 01:44 PM
  2. extanding classes in httpstreamers.xml
    By notreg in forum Server-side Modules and Code Samples Discussion
    Replies: 2
    Last Post: 10-08-2012, 01:27 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
  •