This issue cannot be consistently reproduced. We are seeing NVENCException's occur during init and reconfigure calls infrequently, and the logged parameters are valid.
The following is the exception message from a crash, "terminating with uncaught exception of type NVENCException: Reconfigure : m_nvenc.nvEncReconfigureEncoder(m_hEncoder, const_cast<NV_ENC_RECONFIGURE_PARAMS*>(pReconfigureParams)) returned error 8 at com.unity.webrtc/Plugin~/NvCodec/NvCodec/NvEncoder/NvEncoder.cpp:522"
Expected behavior:
Application won't crash, and will log errors when encoder encounters issues.
How to reproduce:
Expected behavior:
How this was tested: