Thanks for getting back Linvi.
I've made the suggested change and unfortunately no luck in resuming. There aren't any Exceptions being thrown, but the stream doesn't seem to be "connected" anymore. Even removing the adding of tracks, I'm simply trying stream.StopStream() followed by a stream.ResumeStream(). For some reason the stream won't start back up.
It's declared as a private variable in the class:
private Tweetinvi.Core.Interfaces.Streaminvi.IFilteredStream stream;
And is being started on a separate thread:
var t = new Thread( () => stream.StartStreamMatchingAnyCondition() );
t.Start();
Could accessing the stream from a different thread be causing the issue? Can you confirm that calling StopStream() and ResumeStream() multiple times functions as expected on your end?
Thanks helping me out
I've made the suggested change and unfortunately no luck in resuming. There aren't any Exceptions being thrown, but the stream doesn't seem to be "connected" anymore. Even removing the adding of tracks, I'm simply trying stream.StopStream() followed by a stream.ResumeStream(). For some reason the stream won't start back up.
It's declared as a private variable in the class:
private Tweetinvi.Core.Interfaces.Streaminvi.IFilteredStream stream;
And is being started on a separate thread:
var t = new Thread( () => stream.StartStreamMatchingAnyCondition() );
t.Start();
Could accessing the stream from a different thread be causing the issue? Can you confirm that calling StopStream() and ResumeStream() multiple times functions as expected on your end?
Thanks helping me out