--- Begin Message ---
Classified as: {OPEN}

Hi,

We would like to use live555MediaServer as an RTSPS server which is more 
convenient than using testOndemandRTSPServer.

When setting live555MediaServer  with certificate paths 
(rtspServer->setTLSState()), it crashes  at
rtpSink->setupForSRTP(fMIKEYStateMessage, fMIKEYStateMessageSize, fSRTP_ROC) in 
OnDemandServerMediaSubsession::getStreamParameters() because of null pointer to 
fMIKEYStateMessage.

The following code was added to test fMIKEYStateMessage.

           if (fMIKEYStateMessage != NULL) {
                // Use the existing stream's MIKEY info to generate the SDP:
                rtpSink->setupForSRTP(fMIKEYStateMessage, 
fMIKEYStateMessageSize, fSRTP_ROC);
            } else {
                // Create new MIKEY info for this stream:
                fMIKEYStateMessage
                    = 
rtpSink->setupForSRTP(fParentSession->streamingIsEncrypted, fSRTP_ROC,
                                                 fMIKEYStateMessageSize);
               }

The crash disappears but the received packets are rejected by the client due to 
authentication errors.


Thank you for your support.

Yahia




{OPEN}

--- End Message ---
_______________________________________________
live-devel mailing list
[email protected]
http://lists.live555.com/mailman/listinfo/live-devel

Reply via email to