Set marker bit only if there are multiple packets
This commit is contained in:
parent
e185160f94
commit
0102bb2801
|
@ -353,6 +353,7 @@ rtp_error_t uvg_rtp::frame_queue::flush_queue()
|
|||
}
|
||||
|
||||
/* set the marker bit of the last packet to 1 */
|
||||
if (active_->packets.size() > 1)
|
||||
((uint8_t *)&active_->rtp_headers[active_->rtphdr_ptr - 1])[1] |= (1 << 7);
|
||||
|
||||
transaction_mtx_.lock();
|
||||
|
|
Loading…
Reference in New Issue