Repository navigation
Replies: 1 comment
|
The documented StopWebRtcStream command takes exactly The proposed mock test can also capture the session ID at teardown time and cover a stream that has already expired. A remote stop error should be observable without preventing local peer-connection cleanup. If |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
This isolates a teardown observation already noted in #2131, alongside the refresh discussion in #2224.
In
NestRTCSessionControl.endSession(), the request usesCameraLiveStream.GenerateWebRtcStreamwithmediaSessionId.Google documents
StopWebRtcStreamfor ending that session. Should this call simply usesdm.devices.commands.CameraLiveStream.StopWebRtcStream, keeping the existingmediaSessionIdparameter?A focused regression test could mock
authPost, callendSession(), and assert the stop command and session ID, without Google credentials or an NVR.This is a narrow command-selection question, not a request to add Scrypted NVR support for cloud cameras. I don't have evidence quantifying any resource leakage caused by the current call.
All reactions