[Live-devel] sdpLines problem

Luca Zappella luca at filibusta.crema.unimi.it
Tue May 3 17:10:25 PDT 2005


Hi Ross,
        I cannot understand the behaviour of the RTSPServer. 
        I can see that my FramedSource derived class is created two
        times:
        the first time when the RTSPServer receives the DESCRIPTION (in
        RTSPServer.cpp session->generateSDPDescription()), and then is
        destroyed, the second time when it receives the SETUP (in
        RTSPServer
        subsession->getStreamParameters(...)) and this time is destroyed
        only
        after the TEARDOWN.
        
        Is that necessary? The problem is that my grabber is extern from
        the
        FramedSource derived class and in this way the first frame
        (usually a
        key-frame, I am streaming in m4v format) is lost. 
        The whole system is working but until the second key-frame is
        grabbed,
        the stream is obviously bad.
        
        Maybe you need a frame to extract information? 
        
        Thanks
        Luca



More information about the live-devel mailing list