|
mediastreamer2 5.4.130
|
Base APIs of mediastreamer2. More...

Base APIs of mediastreamer2.
Mediastreamer2 expose a low level API to directly control filters, chain and have them running.
| typedef struct _MSVideoPresetConfiguration MSVideoPresetConfiguration |
Structure for video preset configuration object.
| typedef struct _MSVideoPresetsManager MSVideoPresetsManager |
Structure for video presets manager object.
| char * ms_video_preset_configuration_get_tags_as_string | ( | MSVideoPresetConfiguration * | vpc | ) |
Get the tags corresponding to a video preset configuration.
| [in] | vpc | MSVideoPresetConfiguration object obtained with ms_video_presets_manager_find_preset_configuration() |
| MSVideoConfiguration * ms_video_preset_configuration_get_video_configuration | ( | MSVideoPresetConfiguration * | vpc | ) |
Get the video configuration corresponding to a video preset configuration.
| [in] | vpc | MSVideoPresetConfiguration object obtained with ms_video_presets_manager_find_preset_configuration() |
| void ms_video_presets_manager_destroy | ( | MSVideoPresetsManager * | manager | ) |
Destroy the video presets manager object.
| [in] | manager | The MSVideoPresetsManager to destroy. |
| MSVideoPresetConfiguration * ms_video_presets_manager_find_preset_configuration | ( | MSVideoPresetsManager * | manager, |
| const char * | name, | ||
| MSList * | codec_tags ) |
Search for a video preset configuration.
| [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. |
| MSVideoPresetsManager * ms_video_presets_manager_new | ( | MSFactory * | factory | ) |
Create a video presets manager object.
| [in] | The | MSFactory to add the new video presets manager to. |
| void ms_video_presets_manager_register_preset_configuration | ( | MSVideoPresetsManager * | manager, |
| const char * | name, | ||
| const char * | tags, | ||
| MSVideoConfiguration * | config ) |
Register a video preset configuration.
| [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. |