AudioOnlySrtLiveStreamer
class AudioOnlySrtLiveStreamer(context: Context, tsServiceInfo: TsServiceInfo = context.defaultTsServiceInfo, initialOnErrorListener: OnErrorListener? = null, initialOnConnectionListener: OnConnectionListener? = null) : BaseAudioOnlyLiveStreamer, ISrtLiveStreamer
A BaseAudioOnlyLiveStreamer that sends only microphone frames to a remote Secure Reliable Transport (SRT) device.
Parameters
context
application context
tsServiceInfo
MPEG-TS service description
initialOnErrorListener
initialize OnErrorListener
initialOnConnectionListener
initialize OnConnectionListener
Constructors
Link copied to clipboard
constructor(context: Context, tsServiceInfo: TsServiceInfo = context.defaultTsServiceInfo, initialOnErrorListener: OnErrorListener? = null, initialOnConnectionListener: OnConnectionListener? = null)
Properties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Get/set bidirectional latency in milliseconds. See: SRT Socket Options
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Get/set SRT passphrase. See: SRT Socket Options
Link copied to clipboard
Link copied to clipboard
Get/set SRT stream ID. See: SRT Socket Options
Functions
Link copied to clipboard
Link copied to clipboard
Connect to an SRT server with correct Live streaming parameters. To avoid creating an unresponsive UI, do not call on main thread.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Connect to an SRT server and start stream. Same as calling connect, then startStream. To avoid creating an unresponsive UI, do not call on main thread.
Link copied to clipboard