Readonly
threadOptional
aInstancePtr: objectA run time mechanism for interface discovery.
NS_OK if the interface is supported by the associated instance, NS_NOINTERFACE if it is not.
aInstancePtr must not be null.
[in] A requested interface IID
[out] A pointer to an interface pointer to receive the result.
Get a video decoder that supports the specified tags. The array of tags should at least contain a codec tag, and optionally other tags such as for EME keysystem. Callable only on GMP thread. This is an asynchronous operation, the Done method of the callback object will be called on the GMP thread with the result (which might be null in the case of failure). This method always takes ownership of the callback object, but if this method returns an error then the Done method of the callback object will not be called at all.
Get a video encoder that supports the specified tags. The array of tags should at least contain a codec tag, and optionally other tags. Callable only on GMP thread. This is an asynchronous operation, the Done method of the callback object will be called on the GMP thread with the result (which might be null in the case of failure). This method always takes ownership of the callback object, but if this method returns an error then the Done method of the callback object will not be called at all.
Generated using TypeDoc
The GMP thread. Callable from any thread.