📄 rtpheaderutil.c
字号:
/*------------------------------------------------------------------------- * rtpheaderutil.c - rtpntoh, rtphton *------------------------------------------------------------------------- */#include <rtp.h>/*------------------------------------------------------------------------ * rtpntoh - convert header fields from network to host byte order *------------------------------------------------------------------------ */voidrtpntoh(struct rtp *header){ header->rtp_seq = ntohs(header->rtp_seq); header->rtp_time = ntohl(header->rtp_time); header->rtp_ssrc = ntohl(header->rtp_ssrc);}/*------------------------------------------------------------------------ * rtohton - convert header fields from host to network byte order *------------------------------------------------------------------------ */voidrtphton(struct rtp *header){ rtpntoh(header);}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -