Reference documentation and code samples for the Live Stream V1 API module Google::Cloud::Video::LiveStream::V1::DvrSession::State.
State of the DVR session.
Constants
STATE_UNSPECIFIED
value: 0 State is not specified.
PENDING
value: 1 The operation is pending to be picked up by the server.
UPDATING
value: 2 The session is being updated.
SCHEDULED
value: 3 The session is scheduled and waiting for the start time.
LIVE
value: 4 The session is currently in progress and the outputs are available in the
specified Cloud Storage bucket. For additional information, see the
dvr_manifests.output_uri field.
FINISHED
value: 5 Outputs are available in the specified Cloud Storage bucket. For
additional information, see the dvr_manifests.output_uri field.
FAILED
value: 6 The operation has failed. For additional information, see the error
field.
DELETING
value: 7 The session is being deleted.
POST_PROCESSING
value: 8 The session is being post processed.
COOLDOWN
value: 9 The session is in cooldown. The cooldown period lasts for 60 seconds.
When the DVR session is updated by the user to have a new end time that
is likely already in the past, the DVR manifest will end as soon as
possible and the DVR session will move to this state. This is done to
prevent the players to receive a manifest update that removes a segment
that has already been played. After the cooldown period ends, a new
manifest is generated that honors the new end time.
STOPPING
value: 10 The session is being stopped. The session will move to STOPPING state, if
the parent channel is updated.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Live Stream V1 API - Module Google::Cloud::Video::LiveStream::V1::DvrSession::State (v2.2.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.2.0 (latest)](/ruby/docs/reference/google-cloud-video-live_stream-v1/latest/Google-Cloud-Video-LiveStream-V1-DvrSession-State)\n- [2.1.0](/ruby/docs/reference/google-cloud-video-live_stream-v1/2.1.0/Google-Cloud-Video-LiveStream-V1-DvrSession-State)\n- [2.0.1](/ruby/docs/reference/google-cloud-video-live_stream-v1/2.0.1/Google-Cloud-Video-LiveStream-V1-DvrSession-State)\n- [1.3.0](/ruby/docs/reference/google-cloud-video-live_stream-v1/1.3.0/Google-Cloud-Video-LiveStream-V1-DvrSession-State)\n- [1.2.0](/ruby/docs/reference/google-cloud-video-live_stream-v1/1.2.0/Google-Cloud-Video-LiveStream-V1-DvrSession-State)\n- [1.1.1](/ruby/docs/reference/google-cloud-video-live_stream-v1/1.1.1/Google-Cloud-Video-LiveStream-V1-DvrSession-State)\n- [1.0.0](/ruby/docs/reference/google-cloud-video-live_stream-v1/1.0.0/Google-Cloud-Video-LiveStream-V1-DvrSession-State)\n- [0.9.0](/ruby/docs/reference/google-cloud-video-live_stream-v1/0.9.0/Google-Cloud-Video-LiveStream-V1-DvrSession-State)\n- [0.8.2](/ruby/docs/reference/google-cloud-video-live_stream-v1/0.8.2/Google-Cloud-Video-LiveStream-V1-DvrSession-State)\n- [0.7.0](/ruby/docs/reference/google-cloud-video-live_stream-v1/0.7.0/Google-Cloud-Video-LiveStream-V1-DvrSession-State)\n- [0.6.0](/ruby/docs/reference/google-cloud-video-live_stream-v1/0.6.0/Google-Cloud-Video-LiveStream-V1-DvrSession-State)\n- [0.5.1](/ruby/docs/reference/google-cloud-video-live_stream-v1/0.5.1/Google-Cloud-Video-LiveStream-V1-DvrSession-State)\n- [0.4.0](/ruby/docs/reference/google-cloud-video-live_stream-v1/0.4.0/Google-Cloud-Video-LiveStream-V1-DvrSession-State)\n- [0.3.0](/ruby/docs/reference/google-cloud-video-live_stream-v1/0.3.0/Google-Cloud-Video-LiveStream-V1-DvrSession-State)\n- [0.2.0](/ruby/docs/reference/google-cloud-video-live_stream-v1/0.2.0/Google-Cloud-Video-LiveStream-V1-DvrSession-State)\n- [0.1.0](/ruby/docs/reference/google-cloud-video-live_stream-v1/0.1.0/Google-Cloud-Video-LiveStream-V1-DvrSession-State) \nReference documentation and code samples for the Live Stream V1 API module Google::Cloud::Video::LiveStream::V1::DvrSession::State.\n\nState of the DVR session.\n\nConstants\n---------\n\n### STATE_UNSPECIFIED\n\n**value:** 0 \nState is not specified.\n\n### PENDING\n\n**value:** 1 \nThe operation is pending to be picked up by the server.\n\n### UPDATING\n\n**value:** 2 \nThe session is being updated.\n\n### SCHEDULED\n\n**value:** 3 \nThe session is scheduled and waiting for the start time.\n\n### LIVE\n\n**value:** 4 \nThe session is currently in progress and the outputs are available in the\nspecified Cloud Storage bucket. For additional information, see the\n`dvr_manifests.output_uri` field.\n\n### FINISHED\n\n**value:** 5 \nOutputs are available in the specified Cloud Storage bucket. For\nadditional information, see the `dvr_manifests.output_uri` field.\n\n### FAILED\n\n**value:** 6 \nThe operation has failed. For additional information, see the `error`\nfield.\n\n### DELETING\n\n**value:** 7 \nThe session is being deleted.\n\n### POST_PROCESSING\n\n**value:** 8 \nThe session is being post processed.\n\n### COOLDOWN\n\n**value:** 9 \nThe session is in cooldown. The cooldown period lasts for 60 seconds.\nWhen the DVR session is updated by the user to have a new end time that\nis likely already in the past, the DVR manifest will end as soon as\npossible and the DVR session will move to this state. This is done to\nprevent the players to receive a manifest update that removes a segment\nthat has already been played. After the cooldown period ends, a new\nmanifest is generated that honors the new end time.\n\n### STOPPING\n\n**value:** 10 \nThe session is being stopped. The session will move to STOPPING state, if\nthe parent channel is updated."]]