Do not break from the loop if an invalid fragment is received
It is highly likely that an invalid fragment will be received so stopping the receiver after that and restarting the call after each invalid fragment is very user-hostile
This commit is contained in:
parent
46c88b4b0b
commit
e6adc09751
|
|
@ -129,7 +129,7 @@ rtp_error_t __hevc_receiver(kvz_rtp::reader *reader)
|
|||
if (type == FT_INVALID) {
|
||||
LOG_WARN("invalid frame received!");
|
||||
(void)kvz_rtp::frame::dealloc_frame(frame);
|
||||
break;
|
||||
continue;
|
||||
}
|
||||
|
||||
/* TODO: this is ugly */
|
||||
|
|
|
|||
Loading…
Reference in New Issue