Updated: October 28, 2024 |
#include <aoi.h> int32_t (*GetInfo)(void *ctx, AOStreamerMimeInfo_t *buf);
This function is meant to find the MIME type and file extension supported by the given streamer and to write this information into the given structure. The values written to the mimetype or extension fields can be NULL if these properties are not applicable or their values are unknown.
You can use this function to optimize code that looks for addon streamers. For example, the reported file extension can be rated by the AOExtInspector interface and the MIME type by the AOMimeTypeInspector interface.
0 if successful, -1 if an error occurred.