GStreamerBackend

class GStreamerBackend implements SurfaceHolder.Callback, IStream

Constructors

GStreamerBackend

public GStreamerBackend(HashMap<String, String> configParams, Handler notificationHandler)

Methods

commitProperties

public boolean commitProperties(StreamProperties properties)

destroy

public void destroy()

getErrorMsg

public String getErrorMsg()

getName

public String getName()

getProperty

public Object getProperty(StreamProperty property)

getState

public StreamState getState()

getSurfaceView

public SurfaceView getSurfaceView()
Returns:the rendering Surface

getVideoSize

public Size getVideoSize()

loadStillImage

public boolean loadStillImage(String uri)

pause

public void pause()

pause the stream

play

public void play()

Play the stream

prepare

public void prepare(SurfaceView surface)

surfaceChanged

public void surfaceChanged(SurfaceHolder holder, int format, int width, int height)

surfaceCreated

public void surfaceCreated(SurfaceHolder holder)

surfaceDestroyed

public void surfaceDestroyed(SurfaceHolder holder)

surfaceFinalize

public void surfaceFinalize()

surfaceInit

public void surfaceInit(Surface surface)