All Products
Search
Document Center

Dynamic Content Delivery Network:Stream API

Last Updated:Mar 13, 2024

You can use the Stream API to process streaming data such as audio and video on points of presence (POPs). Moreover, the Stream API can transmit streaming data in chunks to accelerate data transmission.

ReadableStream

  • Definition: For more information about the ReadableStream operation, see ReadableStream.ReadableStream().

  • Unsupported property: constructor is not supported.

Note

Only one reader can be locked at a time.

ReadableStreamDefaultReader

  • Definition: For more information about the ReadableStreamDefaultReader operation, see ReadableStreamDefaultReader.

  • Unsupported property: constructor is not in use.

WritableStream

Definition: For more information about the WritableStream operation, see WritableStream.

WritableStreamDefaultWriter

  • Definition: For more information about the WritableStreamDefaultWriter operation, see WritableStreamDefaultWriter.

  • Unsupported properties:

    • constructor is not in use.

    • desiredSize and ready are not supported.

TransformStream

For more information about the TransformStream operation, see TransformStream.

Note

The pipe function in TransformStream can process and respond to requests at the same time. However, the pipe function restricts the buffer size. We recommend that you take this factor into consideration to prevent deadlocks when you use asynchronous APIs.