{
"camera_live_view_session": {
"camera_live_view_session_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"device_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"expires_at": "2023-11-07T05:31:56Z",
"token": "<string>"
}
}Cameras
Create a Camera Live View Session
Creates a short-lived live view session for a single camera. Reference for POST /cameras/live_views/create in the Seam API, with request and response details.
POST
/
cameras
/
live_views
/
create
{
"camera_live_view_session": {
"camera_live_view_session_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"device_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"expires_at": "2023-11-07T05:31:56Z",
"token": "<string>"
}
}Creates a short-lived live view session for a single camera. Pass the returned session ID and token to
/cameras/live_views/offer to start a WebRTC stream, and to /cameras/live_views/stop to end the session.
Camera live view is in beta. To enable it for your workspace, contact Seam support. To check whether a camera supports live view, use device.can_stream_live_video.Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
Response
OK
Represents a short-lived live view session for a single camera. Use the session ID and token to start a WebRTC stream and to stop the session. See the camera_live_view_session object.
Show child attributes
Show child attributes
Was this page helpful?