Skip to content

Commit 3aceb7b

Browse files
committed
Stop Stream corrected
1 parent fb3d68d commit 3aceb7b

File tree

2 files changed

+9
-7
lines changed

2 files changed

+9
-7
lines changed

ai_services/vision/python/stream-video/README.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ cd ~/stream-video
2424

2525
## 2. Upload Public Key
2626
```
27-
# Upload your oci_api_key_public.pem to the console:
27+
28+
Upload your oci_api_key_public.pem to the console:
2829
https://docs.oracle.com/en-us/iaas/Content/API/Concepts/apisigningkey.htm#three
2930
3031
If you do not have your own config and oci_api_key.pem ready to use, we have
@@ -42,7 +43,8 @@ Python 3.9.6
4243

4344
## 4. Install all dependencies (including our beta version SDK):
4445
```
45-
# Make sure you are on either Oracle Corp VPN or OCNA, and have enabled the proxy
46+
Make sure you are on either Oracle Corp VPN or OCNA, and have enabled the proxy
47+
4648
export http_proxy=http://www-proxy-adcq7.us.oracle.com:80;
4749
export https_proxy=http://www-proxy-adcq7.us.oracle.com:80;
4850
export no_proxy=localhost,127.0.0.1,.us.oracle.com,oraclecorp.com;
@@ -54,16 +56,16 @@ pip install -r requirements.txt
5456
```
5557
Follow these steps to configure secure private connectivity in Oracle Cloud Infrastructure:
5658
57-
### A. Create a Virtual Cloud Network (VCN):
59+
A. Create a Virtual Cloud Network (VCN):
5860
Set up a new VCN with your chosen CIDR block in the appropriate compartment.
5961
60-
### B. Create a Private Subnet:
62+
B. Create a Private Subnet:
6163
Add a private subnet within your VCN to isolate internal resources.
6264
63-
### C. Create a NAT Gateway:
65+
C. Create a NAT Gateway:
6466
Provision a NAT Gateway in the VCN so that private resources can access the internet for updates and patches, while remaining inaccessible from the public internet.
6567
66-
### D. Configure Route Table:
68+
D. Configure Route Table:
6769
Add a route table entry to direct all outbound internet traffic from the private subnet through the NAT Gateway.
6870
6971
```

ai_services/vision/python/stream-video/stream_video_demo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ def stop_Stream_Job(self, stream_job_ocid):
290290
"""
291291

292292
logger.info("stop stream job id %s",stream_job_ocid)
293-
stop_stream_job_response = self.client.start_stream_job(stream_job_ocid)
293+
stop_stream_job_response = self.client.stop_stream_job(stream_job_ocid)
294294
logger.info("checking stopping stream job work request id %s", stop_stream_job_response.headers['opc-work-request-id'])
295295
timeout_seconds = 120 # 2 minutes
296296
start_time = time.time()

0 commit comments

Comments
 (0)