mp4readrtphint.3

来自「网络MPEG4IP流媒体开发源代码」· 3 代码 · 共 45 行

3
45
字号
.TH "MP4" "3" "Version 0.9" "Cisco Systems Inc." "MP4 File Format Library".SH "NAME".LP \fBMP4ReadRtpHint\fR \- Read an RTP hint.SH "SYNTAX".LP #include <mp4.h>.LP bool \fBMP4ReadRtpHint\fR(.br 	MP4FileHandle \fIhFile\fP,.br 	MP4TrackId \fItrackId\fP,.br 	MP4SampleId \fIsampleId\fP,.br 	u_int16_t* \fIpNumPackets\fP = NULL.br );.SH "ARGUMENTS".LP .TP \fIhFile\fPSpecifies the mp4 file to which the operation applies..TP \fItrackId\fPSpecifies the hint track to which the operation applies..TP \fIsampleId\fPSpecifies which hint sample is to be read. Caveat: the first sample has id 1 not 0..TP \fIpNumPackets\fPPointer to variable that will be hold the number of packets in the hint..SH "RETURN VALUES".LP Upon success, true (1). Upon an error, false (0)..SH "DESCRIPTION".LP \fBMP4ReadRtpHint\fR reads the specified hint sample from the specified hint track and enables subsequent calls to MP4ReadRtpPacket() to read the individual RTP packets associated with this hint. If desired, the number of RTP packets associated with this hint is returned..LP Note that a hint track sample is just like any other track sample. I.e MP4ReadSample(), MP4GetSampleSize(), MP4GetSampleTime(), etc. are all valid. The RTP specific functions are provided to interpret the information contain in the hint track samples that give instructions on how to form the actual RTP packets..SH "SEE ALSO".LP MP4(3) MP4ReadRtpPacket(3)

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?