Results 1 to 3 of 3

Thread: 1 Central function for all connection types?

  1. #1

    Default 1 Central function for all connection types?


    Is there 1 central function that all stream types (RTMP, HTTP and RTSP) call when connecting or starting a stream?

    I need to validate the connections. Right now I have to do it in 3 different places; onConnect for RTMP, and individual access control modules for HTTP and RTSP.

    I've tried the IMediaStreamActionNotify3 onPlay function. But it does not work for HTTP and errors on RTSP streams.


  2. #2
    Join Date
    Dec 2007



    There is not a catch-all for this. onHTTPSessionCreate is fired for new cupertino, sanjpose and smooth streaming sessions, but you need to handle RTSP and RTMP separately.


  3. #3


    Thanks Richard.

    After making that post, I realized the functions onRTPSessionCreate and onHTTPSessionCreate could be used in my main module. Before I had them in their own modules.

    Having them in the same module is good enough for what I need to do.

    take care,

Similar Threads

  1. Replies: 4
    Last Post: 06-20-2013, 06:05 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