mirror of
https://github.com/LizardByte/Sunshine.git
synced 2024-11-19 14:14:14 +00:00
Use a valid RTP version to fix Wireshark parsing
This commit is contained in:
parent
42472bec85
commit
e8feb00b33
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user