mirror of
https://github.com/LizardByte/Sunshine.git
synced 2025-08-10 00:52:16 +00:00
Use a valid RTP version to fix Wireshark parsing
This commit is contained in:
@@ -674,7 +674,7 @@ void videoBroadcastThread(udp::socket &sock) {
|
||||
video_packet->packet.flags |= FLAG_EOF;
|
||||
}
|
||||
|
||||
video_packet->rtp.header = FLAG_EXTENSION;
|
||||
video_packet->rtp.header = 0x80 | FLAG_EXTENSION;
|
||||
video_packet->rtp.sequenceNumber = util::endian::big<uint16_t>(lowseq + fecIndex);
|
||||
});
|
||||
|
||||
@@ -691,7 +691,7 @@ void videoBroadcastThread(udp::socket &sock) {
|
||||
|
||||
inspect->packet.frameIndex = packet->pts;
|
||||
|
||||
inspect->rtp.header = FLAG_EXTENSION;
|
||||
inspect->rtp.header = 0x80 | FLAG_EXTENSION;
|
||||
inspect->rtp.sequenceNumber = util::endian::big<uint16_t>(lowseq + x);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user