Defines the Params.mediaExt based on the type of parameters and its endpoint.
This method always assigns a value to params.mediaExt, defaulting to an empty string if indeterminable,
allowing detection of whether the function has been applied to the parameters.
Defines the Params.mediaExt based on the type of parameters and its endpoint. This method always assigns a value to params.mediaExt, defaulting to an empty string if indeterminable, allowing detection of whether the function has been applied to the parameters.