I am trying SEMS ...
I have issues with rtcp receiver.
SEMS failes with segfault if rtcp socket receives packets after session
was closed. Destructor is called after session was closed, but it
doesn't close rtcp socket and packet still can be received.
In this case AmRtpReceiverThread calls AmRtpStream::recvPacket for
already destructed class.
To fix this I made some changes to destructor.
AmRtpStream::~AmRtpStream()
{
if(l_sd){
if (AmRtpReceiver::haveInstance()){
AmRtpReceiver::instance()->removeStream(l_sd);
AmRtpReceiver::instance()->removeStream(l_rtcp_sd);
}
close(l_sd);
close(l_rtcp_sd);
}
}
Can you please comment this patch, and merge it if it's ok.
Thanks.
_______________________________________________
Semsdev mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/semsdev