Triton Mobile SDK for Android 3.5.1
This is a custom android player made by Triton Digital
Loading...
Searching...
No Matches
com.tritondigital.net.streaming.proxy.dataprovider.rtp.RtpPacketProvider.StateChangedListener Interface Reference

Interface to be implemented in order to be notified about the important changes of state of the server. More...

Classes

enum  ErrorDetail
 All different reason for error, used when notifying the listener about an error (onServerError). More...
 

Public Member Functions

void onProviderSdpConfigReady ()
 Provider can produce the SDP Config without blocking, it has received all the necessary data.
 
void onProviderError (ErrorDetail errorDetail)
 Provider encountered an unrecoverable error that prevents to continue to run.
 

Detailed Description

Interface to be implemented in order to be notified about the important changes of state of the server.

Calls to this listener may come from any thread, so thread safety should be considered when designing the implementation.

Member Function Documentation

◆ onProviderError()

void com.tritondigital.net.streaming.proxy.dataprovider.rtp.RtpPacketProvider.StateChangedListener.onProviderError ( ErrorDetail  errorDetail)

Provider encountered an unrecoverable error that prevents to continue to run.

This is not a punctual error that causes a single packet to be lost (this would instead invoke onProviderPacketLost), but it is an error that causes the provider to stop running.


The documentation for this interface was generated from the following file: