Gst.StreamError

Stream errors are for anything related to the stream being processed: format errors, media type errors, ... They're typically used by decoders, demuxers, converters, ...

StreamError.FAILED

a general error which doesn't fit in any other category. Make sure you add a custom message to the error call.

StreamError.TOO_LAZY

do not use this except as a placeholder for deciding where to go while developing code.

StreamError.NOT_IMPLEMENTED

use this when you do not want to implement this functionality yet.

StreamError.TYPE_NOT_FOUND

used when the element doesn't know the stream's type.

StreamError.WRONG_TYPE

used when the element doesn't handle this type of stream.

StreamError.CODEC_NOT_FOUND

used when there's no codec to handle the stream's type.

StreamError.DECODE

used when decoding fails.

StreamError.ENCODE

used when encoding fails.

StreamError.DEMUX

used when demuxing fails.

StreamError.MUX

used when muxing fails.

StreamError.FORMAT

used when the stream is of the wrong format (for example, wrong caps).

StreamError.DECRYPT

used when the stream is encrypted and can't be decrypted because this is not supported by the element.

StreamError.DECRYPT_NOKEY

used when the stream is encrypted and can't be decrypted because no suitable key is available.

StreamError.NUM_ERRORS

the number of stream error types.