mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-06-13 03:31:45 +08:00
Refine: 消除编译警告
This commit is contained in:
@@ -843,7 +843,9 @@ void WebRtcTransportImp::onBeforeEncryptRtp(const char *buf, int &len, void *ctx
|
||||
|
||||
auto origin_seq = ntohs(header->seq);
|
||||
//seq跟原来的不一样
|
||||
header->seq = htons(_rtx_seq[pr->second->media->type]++);
|
||||
header->seq = htons(_rtx_seq[pr->second->media->type]);
|
||||
++_rtx_seq[pr->second->media->type];
|
||||
|
||||
auto payload = header->getPayloadData();
|
||||
auto payload_size = header->getPayloadSize(len);
|
||||
if (payload_size) {
|
||||
|
||||
Reference in New Issue
Block a user