You can manage the latency of your live streams to reduce delay between audio capturing and listening:
Adjust the buffer burst that the Triton streaming server sends to the player with the
burst-time
query parameter. For details, see Playback Buffer.To reduce the latency even more, Triton offers Low Delay (LD) and Super Low Delay (SLD) streaming. This requires the activation of a new mount (stream) and possible changes to your streaming infrastructure. For details, please contact Triton Digital.
También puede ver:
Low Delay and Super Low Delay Streams
For normal live streams, stability is the most important factor. For this reason, streams are configured with a buffer of 30 seconds or more, which translates to an equivalent delay from live. Dynamic ad injection can further extend this delay when ads are inserted that are longer than the master stream's break.
But this approach poses a problem in use cases such as in-stadium streaming, where the delay from live needs to be as small as possible. For this reason, Triton offers these specialized streams:
Low Delay (LD): 3-10 second delay
Super Low Delay (SLD): 1 second delay
LD streams work well when a player needs more flexibility in managing its buffer compared to a normal stream. SLD also provides this flexibility but can also handle use cases where the shortest latency is needed, like live sporting events or concerts.
Player Setup and Testing
Before requesting LD or SLD streaming from Triton, make sure you can configure your player not to force buffering.
When connecting to an SLD stream, the player will by default get a burst of 100 ms. To control this, use the burst-time-ms
parameter to specify the desired burst in milliseconds. It can be used to request a larger buffer, but should probably not be used with a value lower than 100 ms. Note that the lower the value of burst-time-ms
, the more vulnerable the connection is to network glitches.
For testing purposes, you can use the VLC media player by configuring it to use minimal buffering:
Download and install the VLC media player app, 3.0 or later.
In VLC, open the Preferences dialog, then in Show settings select All.
Go to Input > Codecs, then in Advanced, change Network Caching (ms) to 50 or 100.
Notas de uso
SLD mounts must also be Icecast streams, not Station Manager streams.
Dynamic ad insertion and SLD are not a good match. Triton highly recommends disabling ad injection on SLD mounts to keep the delay within acceptable limits.
For SLD streams, Triton recommends that listeners and Triton MediaGateway (MG) servers be geographically close to each other, as the delay will be affected by any network latency. Usability of SLD streams is limited when this proximity cannot be guaranteed. For details, please contact Triton Digital.
An SLD source must be nearly flawless, as any interruption in the stream can quickly exhaust a player's meager buffer, causing it to drop its connection. Ensure that your streams and encoders are up to the task.