com.ooyala.android.player.PlayerFactory Interface Reference

The interface that must be implemented by a movie player factory. More...

Inheritance diagram for com.ooyala.android.player.PlayerFactory:
com.ooyala.android.player.DefaultPlayerFactory com.ooyala.android.player.exoplayer.ExoPlayerFactory

Public Member Functions

MoviePlayer createPlayer () throws OoyalaException
 
StreamPlayer createStreamPlayer ()
 
int priority ()
 
Set< String > getSupportedFormats ()
 
boolean hasVRContentSupport ()
 

Detailed Description

The interface that must be implemented by a movie player factory.

Movie player factory can register itself to ooyala player when ooyala player needs to create movie player to playback a stream, it queries all factories from priority high to low, if a factory canPlayVideo returns true the factory will be used to create a player

Member Function Documentation

MoviePlayer com.ooyala.android.player.PlayerFactory.createPlayer ( ) throws OoyalaException
StreamPlayer com.ooyala.android.player.PlayerFactory.createStreamPlayer ( )
Set<String> com.ooyala.android.player.PlayerFactory.getSupportedFormats ( )
boolean com.ooyala.android.player.PlayerFactory.hasVRContentSupport ( )
int com.ooyala.android.player.PlayerFactory.priority ( )