Rename get_hevc_rtp_header() to get_hevc_nal_header()
I have no idea why it was called RTP header..
This commit is contained in:
parent
2c447fcf2f
commit
b619a86132
|
|
@ -173,7 +173,7 @@ uint8_t *kvz_rtp::frame::get_opus_header(kvz_rtp::frame::rtp_frame *frame)
|
|||
return frame->data + HEADER_SIZE_RTP;
|
||||
}
|
||||
|
||||
uint8_t *kvz_rtp::frame::get_hevc_rtp_header(kvz_rtp::frame::rtp_frame *frame)
|
||||
uint8_t *kvz_rtp::frame::get_hevc_nal_header(kvz_rtp::frame::rtp_frame *frame)
|
||||
{
|
||||
if (!frame || !frame->data || frame->type != FRAME_TYPE_HEVC_FU) {
|
||||
rtp_errno = RTP_INVALID_VALUE;
|
||||
|
|
|
|||
|
|
@ -110,7 +110,7 @@ namespace kvz_rtp {
|
|||
uint8_t *get_opus_header(rtp_frame *frame);
|
||||
|
||||
/* get pointer to hevc rtp header start or nullptr if frame is invalid */
|
||||
uint8_t *get_hevc_rtp_header(rtp_frame *frame);
|
||||
uint8_t *get_hevc_nal_header(rtp_frame *frame);
|
||||
|
||||
/* get pointer to hevc fu header start or nullptr if frame is invalid */
|
||||
uint8_t *get_hevc_fu_header(rtp_frame *frame);
|
||||
|
|
|
|||
Loading…
Reference in New Issue