feat(webapp): remove frame fallback from runtime stream path

This commit is contained in:
2026-03-05 16:10:00 +00:00
parent 19baf76169
commit d03b22a99f
5 changed files with 69 additions and 170 deletions

View File

@@ -50,9 +50,7 @@ export const api = {
body: JSON.stringify({ cameraDeviceId, reason: 'on_demand' })
}),
accept: (id) => request(`/streams/${id}/accept`, { method: 'POST', body: JSON.stringify({}) }),
end: (id) => request(`/streams/${id}/end`, { method: 'POST', body: JSON.stringify({ reason: 'completed' }) }),
getPublishCreds: (id) => request(`/streams/${id}/publish-credentials`),
getSubscribeCreds: (id) => request(`/streams/${id}/subscribe-credentials`)
end: (id) => request(`/streams/${id}/end`, { method: 'POST', body: JSON.stringify({ reason: 'completed' }) })
},
events: {
startMotion: () =>
@@ -69,4 +67,3 @@ export const api = {
listNotifications: () => request('/push-notifications/me')
}
};