com.ooyala.android.player.exoplayer.ExoDataSourceFactory Class Reference

A ExoDataSourceFactory that produces DefaultDataSourceFactory instances. More...

Inheritance diagram for com.ooyala.android.player.exoplayer.ExoDataSourceFactory:
com.ooyala.android.player.exoplayer.DataSourceFactory

Public Member Functions

 ExoDataSourceFactory (Context context, String userAgent)
 
 ExoDataSourceFactory (Context context, String userAgent, TransferListener listener)
 
 ExoDataSourceFactory (Context context, TransferListener listener, DataSource.Factory baseDataSourceFactory)
 
TransferListener getBandwidthMeter ()
 
DataSource.Factory createDataSourceFactory ()
 Produces DataSource factory instances through that media data is loaded. More...
 

Detailed Description

Constructor & Destructor Documentation

com.ooyala.android.player.exoplayer.ExoDataSourceFactory.ExoDataSourceFactory ( Context  context,
String  userAgent 
)
Parameters
contextA context.
userAgentThe User-Agent string that should be used.
com.ooyala.android.player.exoplayer.ExoDataSourceFactory.ExoDataSourceFactory ( Context  context,
String  userAgent,
TransferListener  listener 
)
Parameters
contextA context.
userAgentThe User-Agent string that should be used.
listenerAn optional listener.
com.ooyala.android.player.exoplayer.ExoDataSourceFactory.ExoDataSourceFactory ( Context  context,
TransferListener  listener,
DataSource.Factory  baseDataSourceFactory 
)
Parameters
contextA context.
listenerAn optional listener.
baseDataSourceFactoryA DataSource.Factory to be used to create a base DataSource for DefaultDataSource.
See also
DefaultDataSource::DefaultDataSource(Context, TransferListener, DataSource)

Member Function Documentation

DataSource.Factory com.ooyala.android.player.exoplayer.ExoDataSourceFactory.createDataSourceFactory ( )

Produces DataSource factory instances through that media data is loaded.

Returns
new instance of DataSource.Factory

Implements com.ooyala.android.player.exoplayer.DataSourceFactory.

TransferListener com.ooyala.android.player.exoplayer.ExoDataSourceFactory.getBandwidthMeter ( )