The problem was that RTSP was not finished before we tried to recreate it, so the server skipped the new one.
To drop the current StreamState before having a new one, we wrapped it around an Option, allowing us to take and drop it instead of dropping it when dereferencing and overwriting it.
Closes #360
The problem was that RTSP was not finished before we tried to recreate it, so the server skipped the new one.
To drop the current StreamState before having a new one, we wrapped it around an Option, allowing us to take and drop it instead of dropping it when dereferencing and overwriting it.