Creating a Stream
Initialize a DIS SDK client instance as instructed in Initializing a DIS SDK Client Instance.
For details about how to configure parameters, see configuration methods in .
- stream_type= " " #Not specified.
If stream_type is not specified, configure the parameters of Dump_switch in the createstream_sample.py file.
- stream_type= "FILE" #Set to file.
If stream_type is set to File, configure the parameters of Dump_switch_FILE in the createstream_sample.py file.
After configuring the parameters, run the createstream_sample.py file to call createStream_test by default. If response code 201 is returned, the stream is successfully created.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot