You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying out toggle_pause, and there seems to be a specific case where it doesn't work as expected.
Here's a table of tests of pause/unpause. For example true true/false true means I called toggle_pause(true, true) to pause, then toggle_pause(false, true) to unpause
true true/false true -> works
true true/false false -> doesn't work.
true false/false true -> works
true false/ false false -> works
I don't know if this is working as intended, but it seems wrong. I think the second parameter should be ignored if I am unpausing and the video stream should come back, right? But if I call true true/false false, the screen stays frozen, the video stream seemingly doesn't come back.
The text was updated successfully, but these errors were encountered:
If you call toggle_pause and you shut down the video stream (true, true), then when resuming you need to turn on the video stream, so you need to call the function with false, true as arguments. Calling the function with true, true then false, false is nonsense. The second parameter should have the same value for both calls.
I am trying out toggle_pause, and there seems to be a specific case where it doesn't work as expected.
Here's a table of tests of pause/unpause. For example
true true/false true
means I calledtoggle_pause(true, true)
to pause, thentoggle_pause(false, true)
to unpausetrue true/false true -> works
true true/false false -> doesn't work.
true false/false true -> works
true false/ false false -> works
I don't know if this is working as intended, but it seems wrong. I think the second parameter should be ignored if I am unpausing and the video stream should come back, right? But if I call
true true/false false
, the screen stays frozen, the video stream seemingly doesn't come back.The text was updated successfully, but these errors were encountered: