Hey, I was testing repeated calls within one application session and figured out that the camera/microphone do not get dropped safely. From this point on it is a little "random" if the next call will work with video and audio.
You have "GC.Collect()" in several parts of your code. Enabling the one I linked at the bottom does let the camera/microphone drop immediately and every next call does work fine. However this only works in Debug mode. As soon as this is built as "Master" for UWP, this call does cause a crash.
Could you provide some information about the "TO-DO" you placed there? I'm not really sure which references are meant to be cleared by the GC.Collect() call to enable repeated calls in one session. I would like to replace this by the safe calls.
GC.Collect() 1
Hey, I was testing repeated calls within one application session and figured out that the camera/microphone do not get dropped safely. From this point on it is a little "random" if the next call will work with video and audio.
You have "GC.Collect()" in several parts of your code. Enabling the one I linked at the bottom does let the camera/microphone drop immediately and every next call does work fine. However this only works in Debug mode. As soon as this is built as "Master" for UWP, this call does cause a crash.
Could you provide some information about the "TO-DO" you placed there? I'm not really sure which references are meant to be cleared by the GC.Collect() call to enable repeated calls in one session. I would like to replace this by the safe calls.
GC.Collect() 1