当RFC4571封装的RTP包大小在0x2400到0x24ff之间时,会被误认为是RTSP Interleaved 封装的数据。因为0x24正好是'$'的ASCII码,而RtpSplitter::onSearchPacketTail通过'$'来识别RTSP Interleaved数据。暂时没有想到什么好的办法能够百分之百的正确区分RFC4571数据和RTSP Interleaved数据。增加一个状态变量记录之前的状态,一旦检测到数据不是RTSP Interleaved格式,则后续不再进行尝试,以减小误判的可能性。
| Name |
Last commit
|
Last Update |
|---|---|---|
| .. | ||
| Decoder.cpp | 正在载入提交数据... | |
| Decoder.h | 正在载入提交数据... | |
| GB28181Process.cpp | 正在载入提交数据... | |
| GB28181Process.h | 正在载入提交数据... | |
| PSDecoder.cpp | 正在载入提交数据... | |
| PSDecoder.h | 正在载入提交数据... | |
| PSEncoder.cpp | 正在载入提交数据... | |
| PSEncoder.h | 正在载入提交数据... | |
| ProcessInterface.h | 正在载入提交数据... | |
| RawEncoder.cpp | 正在载入提交数据... | |
| RawEncoder.h | 正在载入提交数据... | |
| RtpCache.cpp | 正在载入提交数据... | |
| RtpCache.h | 正在载入提交数据... | |
| RtpProcess.cpp | 正在载入提交数据... | |
| RtpProcess.h | 正在载入提交数据... | |
| RtpSelector.cpp | 正在载入提交数据... | |
| RtpSelector.h | 正在载入提交数据... | |
| RtpSender.cpp | 正在载入提交数据... | |
| RtpSender.h | 正在载入提交数据... | |
| RtpServer.cpp | 正在载入提交数据... | |
| RtpServer.h | 正在载入提交数据... | |
| RtpSession.cpp | 正在载入提交数据... | |
| RtpSession.h | 正在载入提交数据... | |
| RtpSplitter.cpp | 正在载入提交数据... | |
| RtpSplitter.h | 正在载入提交数据... | |
| TSDecoder.cpp | 正在载入提交数据... | |
| TSDecoder.h | 正在载入提交数据... |