javax.media.protocol
Interface RateConfigureable


public interface RateConfigureable

DataSources support the RateConfigureable interface if they use different rate-configurations to support multiple media display speeds.

Version:
1.2, 02/08/21.
See Also:
DataSource, RateConfiguration, RateRange

Method Summary
 RateConfiguration[] getRateConfigurations()
          Get the rate configurations that this object supports.
 RateConfiguration setRateConfiguration(RateConfiguration config)
          Set a new RateConfiguration.
 

Method Detail

getRateConfigurations

public RateConfiguration[] getRateConfigurations()
Get the rate configurations that this object supports. There must always be one and only one for a RateConfiguration that covers a rate of 1.0.

Returns:
The collection of RateConfigurations that this source supports.

setRateConfiguration

public RateConfiguration setRateConfiguration(RateConfiguration config)
Set a new RateConfiguration. The new configuration should have been obtained by calling getRateConfigurations. Returns the actual RateConfiguration used.

Parameters:
config - The RateConfiguration to use.
Returns:
The actual RateConfiguration used by the source.