SRTP
SAGET Jean-Claude
jean-claude.saget at thalesgroup.com
Wed Oct 23 07:55:29 PDT 2024
Hello Ross,
I'm working at Thales with Yahia. I am writing to inform you that we have encountered two problems regarding SRTP.
First, in method OnDemandServerMediaSubsession::sdpLines(int addressFamily) if the following test if (rtpSink != NULL && rtpSink->srtpROC() != fSRTP_ROC) is true then a temporary sink is created. The problem is that the temporary sink changes the sink in attribute fRTPSink of PresentationTimeSubsessionNormalizer because of the line ssNormalizer->setRTPSink(newSink) in ProxyServerMediaSubsession::createNewRTPSink(...). Next in PresentationTimeSessionNormalizer::normalizePresentationTime(PresentationTimeSubsessionNormalizer* ssNormalizer,...) the temporary and deleted sink is modified at line rtpSink->enableRTCPReports() = True;.
In fact we have a subclass of ProxyServerMediaSubsession with a similar createNewRTPSink method.
The second is minor, there is delete fSDPLines instead of delete[] in OnDemandServerMediaSubsession::sdpLines(int addressFamily).
Regards
Jean-Claude Saget
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20241023/cf1cdb7c/attachment.htm>
More information about the live-devel
mailing list