It happens when RTMP stream is in connection phase because it needs data from encoder, but it is destroyed.
RTMP does not have any synchronization for encoder usage, it assumes that encoder is always alive,
How Has This Been Tested?
Windows only, manually
Types of changes
Bug fix (non-breaking change which fixes an issue)
Description
Attempt to fix rash with the following stacktrace
Motivation and Context
It happens when RTMP stream is in connection phase because it needs data from encoder, but it is destroyed. RTMP does not have any synchronization for encoder usage, it assumes that encoder is always alive,
How Has This Been Tested?
Windows only, manually
Types of changes