Results 1 to 3 of 3

Thread: onRTPSessionCreate no called

  1. #1

    Default onRTPSessionCreate no called


    I tried to implement an authentification mechanisim for flash,rtsp and http (iphone) streams. It works very well for the flash version, but the rtsp handeler is not being called. Do I need to implement a specific listener?

    PHP Code:
    public class DbAuthModule extends ModuleBase {

    //gets called by flash on connect
    public void onConnect(IClient clientRequestFunction function,
    AMFDataList params) {
    // gets called on stream start
    public void play(IClient clientRequestFunction function, AMFDataList params)

    // is never called
    public void onRTPSessionCreate(RTPSession rtpSession)

    I also tried
    class ClassRTPSession implements IModuleOnRTPSession
    //RTP (Quicktime - streaming)
    public void onRTPSessionCreate(RTPSession rtpSession){..

    But is is not working. Might there be a problem with the ModuleRTMPAuthenticate ?


  2. #2
    Join Date
    Dec 2007


    Try starting with this example:

    Then try rtsp playback with VLC.


  3. #3


    My code is less than this example. I think the example is wrong. I had to add implements IModuleOnRTPSession, IModuleOnHTTPSession to the main class definition
    public class DbAuthModule extends ModuleBase implements IModuleOnRTPSession, IModuleOnHTTPSession (...
    This was also missing in the example from which i started by the way.

    can anyone confirm that this is correct? I need to be sure, since i need this for authentification.

    Thanks a lot!
    Last edited by devnull; 03-22-2012 at 01:59 PM.

Similar Threads

  1. onStreamDestroy not being called
    By masterkitano in forum General Forum
    Replies: 1
    Last Post: 06-29-2013, 01:15 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