The CMStreaming (C3V Media Streaming API) is a set of streaming APIs for C3V media that depend on GStreamer. It wraps some of the GStreamer functionality in an API way to simplify the development process.
What can CM Streaming API do?
Provide easy-to-use streaming APIs for c3v platforms, helping users quickly develop stream-related applications like this sample.
Why use CM Streaming API?
The GStreamer is a very powerful media framework, but it can be a bit complicated to use. For some commonly used functions, wrapping them in APIs can achieve the effect of reuse, thus reducing redundant code.
...
In the CM Streaming API way, the main code will be like this.
How to use CM Streaming API?
Info |
---|
The CM Streaming API is based on the GStreamer v1.20.1, it needs many plugins support, such as ALSA, V4L2, AAC, OPUS, and so on. We also made some changes to the GStreamer source code for the C3V platform. Before using the CM Streaming API, please ensure that the environment is set correctly. For more details, please refer to here. |
All functions of the CM streaming are included in a library called libcmstreaming.so. The user just needs to include the header files and add the library to the depends to use it.
...
For details, please refer to the API documents and demo.
How to get the library and demo code?
View file | ||
---|---|---|
|
What’s more?
Note |
---|
|