RtNalIsApplicationFrame
RtNalIsApplicationFrame queries whether the NAL frame is owned by the application.
Syntax
BOOL RtNalIsApplicationFrame( PRTNAL_FRAME pFrame );
Parameters
pFrame
A pointer to a NAL frame allocated by RtNalAllocateFrame.
Return Value
Returns TRUE if the call succeeds. Otherwise it returns FALSE. Call GetLastError to obtain an error code. The possible error codes are listed below:
Error Code | Meaning |
---|---|
ERROR_INVALID_ADDRESS | Parameter pFrame does not point to a frame allocated by RtNalAllocateFrame. |
ERROR_NOT_OWNER | The frame is owned by the NAL. |
ERROR_NOT_READY | RtNalInit has not completed successfully. |
Remarks
When owned by the NAL application, the NAL frame can be used for transmission.
Neither RTNAL_FRAME nor its data buffer should be modified by the NAL application when the frame is owned by NAL.
Requirements
Minimum Supported Version | RTX64 4.0 |
Header | rtnapi.h, RtNalApi.h |
Library | RtNal.lib |
See Also: