Hello @Vitalii Brydinskyi , Thanks for using Microsoft Q&A Platform.
Is it possible to share more details regarding the SDK version details? Here is a similar issue : https://github.com/Azure-Samples/cognitive-services-speech-sdk/issues/2436
If you still face issue, please raise this issue here : https://github.com/Azure-Samples/cognitive-services-speech-sdk/issues/