Update RTP sequence after each send
While there, disable the linux frame queue implementation for now. I need think of a way to store a unique RTP sequence for each buffer
This commit is contained in:
parent
b5d07cc0eb
commit
b16956d953
|
|
@ -45,7 +45,7 @@ static rtp_error_t __push_hevc_frame(kvz_rtp::connection *conn, uint8_t *data, s
|
|||
|
||||
LOG_DEBUG("send frag size: %zu, type %u", data_len, nalType);
|
||||
|
||||
#ifdef __linux__
|
||||
#if 0
|
||||
auto fqueue = dynamic_cast<kvz_rtp::writer *>(conn)->get_frame_queue();
|
||||
|
||||
/* all fragment units share the same RTP and HEVC NAL headers
|
||||
|
|
@ -128,6 +128,8 @@ static rtp_error_t __push_hevc_frame(kvz_rtp::connection *conn, uint8_t *data, s
|
|||
if ((ret = kvz_rtp::send::send_frame(conn, buffer, sizeof(buffer))) != RTP_OK)
|
||||
return RTP_GENERIC_ERROR;
|
||||
|
||||
conn->update_rtp_sequence(buffer);
|
||||
|
||||
data_pos += MAX_PAYLOAD;
|
||||
data_left -= MAX_PAYLOAD;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue