Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
MP4(3)			    MP4	File Format Library			MP4(3)

NAME
       MP4AddRtpSampleData - Add media sample data to an RTP packet

SYNTAX
       #include	<mp4.h>

       bool MP4AddRtpSampleData(
	    MP4FileHandle hFile,
	    MP4TrackId hintTrackId,
	    MP4SampleId	sampleId,
	    u_int32_t dataOffset,
	    u_int32_t dataLength
       );

ARGUMENTS
       hFile  Specifies	the mp4	file to	which the operation applies.

       hintTrackId
	      Specifies	the hint track to which	the operation applies.

       sampleId
	      Specifies	 the  reference	 media	sample id from which the media
	      data should be taken.

       dataOffset
	      Specifies	the byte offset	in the specified  media	 sample	 where
	      data should be taken from	for the	current	RTP packet.

       dataLength
	      Specifies	 the  length in	bytes of the media data	that should be
	      included in the current RTP packet.

RETURN VALUES
       Upon success, true (1). Upon an error, false (0).

DESCRIPTION
       MP4AddRtpSampleData adds	a reference in the current pending RTP	packet
       to  the media data in the specified media sample	of the reference media
       track. Note this	is a reference,	not a copy, of the media data.

SEE ALSO
       MP4(3) MP4AddRtpPacket (3) MP4AddRtpImmediateData (3)

Cisco Systems Inc.		  Version 0.9				MP4(3)

NAME | SYNTAX | ARGUMENTS | RETURN VALUES | DESCRIPTION | SEE ALSO

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=MP4AddRtpSampleData&sektion=3&manpath=FreeBSD+12.0-RELEASE+and+Ports>

home | help