mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-22 10:40:05 +08:00
修复rtp(tcp)获取ssrc失败的bug
This commit is contained in:
parent
adf0e09262
commit
655a30081b
@ -67,7 +67,7 @@ void RtpSession::onManager() {
|
||||
|
||||
void RtpSession::onRtpPacket(const char *data, uint64_t len) {
|
||||
if(!_ssrc){
|
||||
_ssrc = RtpSelector::getSSRC(data,len);
|
||||
_ssrc = RtpSelector::getSSRC(data + 2,len - 2);
|
||||
_process = RtpSelector::Instance().getProcess(_ssrc, true);
|
||||
}
|
||||
_process->inputRtp(data + 2,len - 2,&addr);
|
||||
|
Loading…
Reference in New Issue
Block a user