RateStream()

Updated: April 19, 2023

Synopsis:

#include <aoi.h>

int32_t (*RateStream)(AOIStream_t *stream);

Arguments:

stream
A pointer to the AOIStream_t structure for the stream you want to rate.

Description:

This function should return a rating as to how well the addon can handle the stream. This function should only ever call the Sniff() function in the stream's AOStreamer interface.

Returns:

A rating from 0 to 100 for the given stream. 100 is the best rating.