Base APIs of mediastreamer2.
More...
Base APIs of mediastreamer2.
Mediastreamer2 expose a low level API to directly control filters, chain and have them running.
Structure for video presets manager object.
Structure for video preset configuration object.
Create a video presets manager object.
- Parameters
-
[in] | The | MSFactory to add the new video presets manager to. |
- Returns
- The new MSVideoPresetsManager object.
Destroy the video presets manager object.
- Parameters
-
[in] | manager | The MSVideoPresetsManager to destroy. |
Register a video preset configuration.
- Parameters
-
[in] | manager | The MSVideoPresetsManager object. |
[in] | name | The name of the video preset to register. |
[in] | tags | A comma-separated list of tags describing the video preset. |
[in] | config | The MSVideoConfiguration that is to be registered in the specified preset with the specified tags. |
Search for a video preset configuration.
- Parameters
-
[in] | manager | The MSVideoPresetsManager object. |
[in] | name | The name of the video preset to search for. |
[in] | codecs_tags | A list of tags describing the codec that will be used to select the video configuration to return. |
- Returns
- The MSVideoConfiguration corresponding to the video preset being searched for and matching the codec_tags and the platform tags.
Get the video configuration corresponding to a video preset configuration.
- Parameters
-
- Returns
- The MSVideoConfiguration corresponding to the video preset configuration.
Get the tags corresponding to a video preset configuration.
- Parameters
-
- Returns
- A comma-separated list of tags describing the video preset configuration.