What is the intended way of reopening / reconnecting to streams that might not be working properly?
I am playing streams over RTP and checking the stream MediaState and DecodingBitRate every 10 seconds - if the MediaState says the stream is stopped stopped or the bitrate goes under a certain threshold I manually reopen the stream. This is done by calling the Close() and Open() functions.
The problem is, when watching multiple (sometimes faulty, behind a bad connection etc) streams simultaneously this seems to hog up a lot of memory. Is there some kind of a intended way of reopening streams? Can or should I use the ReadTimeout to my advantage somehow?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Hello.
What is the intended way of reopening / reconnecting to streams that might not be working properly?
I am playing streams over RTP and checking the stream MediaState and DecodingBitRate every 10 seconds - if the MediaState says the stream is stopped stopped or the bitrate goes under a certain threshold I manually reopen the stream. This is done by calling the Close() and Open() functions.
The problem is, when watching multiple (sometimes faulty, behind a bad connection etc) streams simultaneously this seems to hog up a lot of memory. Is there some kind of a intended way of reopening streams? Can or should I use the ReadTimeout to my advantage somehow?
Issue Categories
Version Information
[ x] NuGet Package 4.1.310