Fixed crash when srtp is not initialized properly