CameraSrtLiveStreamer
BaseCameraStreamer that sends microphones and camerao frames to a remote Secure Reliable Transport (SRT) device.
Parameters
application context
MPEG-TS service description
Boolean.true to capture audio. False to disable audio capture.
a IBitrateRegulatorFactory implementation. Use it to customized bitrate regulator. If bitrateRegulatorConfig is not null, bitrateRegulatorFactory must not be null.
bitrate regulator configuration. If bitrateRegulatorFactory is not null, bitrateRegulatorConfig must not be null.
initialize OnErrorListener
initialize OnConnectionListener
Constructors
Properties
Get/set bidirectional latency in milliseconds. See: SRT Socket Options
Get/set SRT passphrase. See: SRT Socket Options
Get/set SRT stream ID. See: SRT Socket Options
Functions
Connect to an SRT server with correct Live streaming parameters. To avoid creating an unresponsive UI, do not call on main thread.
Same as BaseCameraLiveStreamer.startStream but also starts bitrate regulator.
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.
Same as BaseCameraLiveStreamer.stopStream but also stops bitrate regulator.