Repository navigation
Replies: 1 comment
|
Incorporating upstream |
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.
Following the Nest WebRTC → RTSP investigation in #2224, I found a separate consent-check behavior in Scrypted's bundled werift fork.
At the pinned fork revision c66a9bd,
queryConsent()setsdisconnectedand breaks after a failed STUN transaction. Scrypted'swaitClosed()treats that state as terminal, closing the peer rather than allowing another consent check.This is not a claim that one dropped packet causes disconnection: the bundled transaction retries, taking about 6.35 seconds to exhaust its default attempts. It also does not establish the network cause of any particular camera outage.
Upstream werift PR #649, released in v0.24.2, reworks consent timing and expiry. Since Scrypted bundles its fork, updating a standalone npm dependency would not incorporate that fix.
Would adapting that upstream change into the bundled fork be the preferred approach? A regression test could exhaust one transaction, then restore valid responses and check recovery before consent expires. Expiry/revocation should still stop media and resolve Scrypted's terminal-state wait; source and integrity validation must remain intact.
I'm asking about the library/session behavior rather than support for cloud cameras in Scrypted NVR.
All reactions