Base APIs of mediastreamer2.
More...
Base APIs of mediastreamer2.
Mediastreamer2 expose a low level API to directly control filters, chain and have them running.
◆ MSVideoPresetConfiguration
Structure for video preset configuration object.
◆ MSVideoPresetsManager
Structure for video presets manager object.
◆ ms_video_preset_configuration_get_tags_as_string()
Get the tags corresponding to a video preset configuration.
- Parameters
-
- Returns
- A comma-separated list of tags describing the video preset configuration.
◆ ms_video_preset_configuration_get_video_configuration()
Get the video configuration corresponding to a video preset configuration.
- Parameters
-
- Returns
- The MSVideoConfiguration corresponding to the video preset configuration.
◆ ms_video_presets_manager_destroy()
Destroy the video presets manager object.
- Parameters
-
[in] | manager | The MSVideoPresetsManager to destroy. |
◆ ms_video_presets_manager_find_preset_configuration()
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.
◆ ms_video_presets_manager_new()
Create a video presets manager object.
- Parameters
-
[in] | The | MSFactory to add the new video presets manager to. |
- Returns
- The new MSVideoPresetsManager object.
◆ ms_video_presets_manager_register_preset_configuration()
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. |