Error Events
If the event queried is of type NvSciStreamEventType_Error
, an error not
directly triggered by user action occurred in the block. Applications can retrieve the
error code by NvSciStreamBlockErrorGet()
. If multiple errors occur
before this retrieval, only the first error code is available. All subsequent errors are
ignored until the error code is retrieved, with the assumption that they are related to
the first error.
NvSciError
NvSciStreamBlockErrorGet(
NvSciStreamBlock const block,
NvSciError* const status
)
For PCIe errors, such as NvSciError_PcieUncorrectableFatal
,
NvSciError_PcieUncorrectableNonFatal
, and
NvSciError_PcieEdmaTransferErr
, the application must ensure
NvSciIpcEndpoint
is in a usable state before recreating the
NvSciStream
pipeline.