Reference documentation and code samples for the Google Cloud Video Live Stream V1 Client class State.
State of the DVR session.
Protobuf type google.cloud.video.livestream.v1.DvrSession.State
Namespace
Google \ Cloud \ Video \ LiveStream \ V1 \ DvrSession
Methods
static::name
Parameter
Name
Description
value
mixed
static::value
Parameter
Name
Description
name
mixed
Constants
STATE_UNSPECIFIED
Value: 0
State is not specified.
Generated from protobuf enum STATE_UNSPECIFIED = 0;
PENDING
Value: 1
The operation is pending to be picked up by the server.
Generated from protobuf enum PENDING = 1;
UPDATING
Value: 2
The session is being updated.
Generated from protobuf enum UPDATING = 2;
SCHEDULED
Value: 3
The session is scheduled and waiting for the start time.
Generated from protobuf enum SCHEDULED = 3;
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.
Generated from protobuf enum LIVE = 4;
FINISHED
Value: 5
Outputs are available in the specified Cloud Storage bucket. For
additional information, see the dvr_manifests.output_uri field.
Generated from protobuf enum FINISHED = 5;
FAILED
Value: 6
The operation has failed. For additional information, see the error
field.
Generated from protobuf enum FAILED = 6;
DELETING
Value: 7
The session is being deleted.
Generated from protobuf enum DELETING = 7;
POST_PROCESSING
Value: 8
The session is being post processed.
Generated from protobuf enum POST_PROCESSING = 8;
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.
Generated from protobuf enum COOLDOWN = 9;
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"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[],[],null,["# Google Cloud Video Live Stream V1 Client - Class State (1.2.1)\n\nVersion latestkeyboard_arrow_down\n\n- [1.2.1 (latest)](/php/docs/reference/cloud-video-live-stream/latest/V1.DvrSession.State)\n- [1.2.0](/php/docs/reference/cloud-video-live-stream/1.2.0/V1.DvrSession.State)\n- [1.1.3](/php/docs/reference/cloud-video-live-stream/1.1.3/V1.DvrSession.State)\n- [1.0.0](/php/docs/reference/cloud-video-live-stream/1.0.0/V1.DvrSession.State)\n- [0.7.5](/php/docs/reference/cloud-video-live-stream/0.7.5/V1.DvrSession.State)\n- [0.6.2](/php/docs/reference/cloud-video-live-stream/0.6.2/V1.DvrSession.State)\n- [0.5.0](/php/docs/reference/cloud-video-live-stream/0.5.0/V1.DvrSession.State)\n- [0.4.2](/php/docs/reference/cloud-video-live-stream/0.4.2/V1.DvrSession.State)\n- [0.3.2](/php/docs/reference/cloud-video-live-stream/0.3.2/V1.DvrSession.State)\n- [0.2.6](/php/docs/reference/cloud-video-live-stream/0.2.6/V1.DvrSession.State) \nReference documentation and code samples for the Google Cloud Video Live Stream V1 Client class State.\n\nState of the DVR session.\n\nProtobuf type `google.cloud.video.livestream.v1.DvrSession.State`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Video \\\\ LiveStream \\\\ V1 \\\\ DvrSession\n\nMethods\n-------\n\n### static::name\n\n### static::value\n\nConstants\n---------\n\n### STATE_UNSPECIFIED\n\n Value: 0\n\nState is not specified.\n\nGenerated from protobuf enum `STATE_UNSPECIFIED = 0;`\n\n### PENDING\n\n Value: 1\n\nThe operation is pending to be picked up by the server.\n\nGenerated from protobuf enum `PENDING = 1;`\n\n### UPDATING\n\n Value: 2\n\nThe session is being updated.\n\nGenerated from protobuf enum `UPDATING = 2;`\n\n### SCHEDULED\n\n Value: 3\n\nThe session is scheduled and waiting for the start time.\n\nGenerated from protobuf enum `SCHEDULED = 3;`\n\n### LIVE\n\n Value: 4\n\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\nGenerated from protobuf enum `LIVE = 4;`\n\n### FINISHED\n\n Value: 5\n\nOutputs are available in the specified Cloud Storage bucket. For\nadditional information, see the `dvr_manifests.output_uri` field.\n\nGenerated from protobuf enum `FINISHED = 5;`\n\n### FAILED\n\n Value: 6\n\nThe operation has failed. For additional information, see the `error`\nfield.\n\nGenerated from protobuf enum `FAILED = 6;`\n\n### DELETING\n\n Value: 7\n\nThe session is being deleted.\n\nGenerated from protobuf enum `DELETING = 7;`\n\n### POST_PROCESSING\n\n Value: 8\n\nThe session is being post processed.\n\nGenerated from protobuf enum `POST_PROCESSING = 8;`\n\n### COOLDOWN\n\n Value: 9\n\nThe session is in cooldown. The cooldown period lasts for 60 seconds.\n\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\nGenerated from protobuf enum `COOLDOWN = 9;`\n\n### STOPPING\n\n Value: 10\n\nThe session is being stopped. The session will move to STOPPING state, if\nthe parent channel is updated.\n\nGenerated from protobuf enum `STOPPING = 10;`"]]