Skip to content

Commit d11988e

Browse files
irataxydizcology
authored andcommitted
docs(samples): fix timeout for create input and start channel LROs; first call can take up to 15 minutes (#86)
1 parent c979dc8 commit d11988e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

video/live-stream/create_input.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def create_input(project_id: str, location: str, input_id: str) -> str:
4545
type_="RTMP_PUSH",
4646
)
4747
operation = client.create_input(parent=parent, input=input, input_id=input_id)
48-
response = operation.result(600)
48+
response = operation.result(900)
4949
print(f"Input: {response.name}")
5050

5151
return response

video/live-stream/start_channel.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ def start_channel(project_id: str, location: str, channel_id: str) -> None:
3939

4040
name = f"projects/{project_id}/locations/{location}/channels/{channel_id}"
4141
operation = client.start_channel(name=name)
42-
operation.result(600)
42+
operation.result(900)
4343
print("Started channel")
4444

4545

0 commit comments

Comments
 (0)