Non-Interactive Live Streaming
Last updated
Last updated
Guide to Uploading Streams to Sariska
Welcome to the comprehensive guide on uploading content to Sariska. Whether you're connecting your backend to Sariska for sports streaming cameras, utilizing HTTP backend servers, or integrating with OTT platforms and surveillance systems, this guide has got you covered. If you have use cases such as server-side ad ingestion or adding interactivity within the stream for the mentioned scenarios, you'll need to incorporate the conferencing SDK to achieve the same. This is the reason we have divided all live streaming use cases into two buckets: interactive and non-interactive. This categorization can quickly provide you with ideas on which method to use for your specific use cases.
Follow this concise guide to achieve everything in minutes.
1. Start streaming api call:
2. Output of the API:
3. Stop streaming api call: There is no api call for stop streaming call, stop streaming hook auto detected in the backend in case direct ingestion method.
Now, let's delve into the reasons behind having multiple player and ingestion URLs, examining each of them in detail. Understanding these elements is crucial as they directly impact the experience of live streams and integration time.
Players URL's:
HLS (HTTP Live Streaming): Widely adopted globally, HLS operates over HTTP, offering compatibility with various devices and CDNs. By employing in-memory transcoding and optimized distribution( also called low-latency HLS), latency has been reduced to remarkable levels, reaching 1-2 seconds. You can use the low-latency HLS URL for the most optimal performance, as it falls back to normal when low latency is not supported by players.
SRT: Boasting a low latency of 100 ms, SRT is not widely supported for video playback, limiting its usage in comparison to other protocols.
RTMP: With a latency of 1-3 seconds, RTMP is well-suited for backend use cases and flash based devices, providing a reliable streaming solution.
FLV: Featuring a latency of 3-5 seconds, FLV is suitable for backend use cases and flash based devices, catering to specific streaming needs.
Ingestion URL's:
FLV Ingestion: Effortlessly upload FLV files to the Sariska streaming server via simple HTTP post calls, making the process as straightforward as posting your file through HTTP.
RTMP Ingestion: RTMP (Real-Time Messaging Protocol) stands out as a well-established choice for live streaming, especially with Adobe Flash players. Note its limitations for newer applications and HEVC-encoded content due to the discontinuation of Adobe Flash.
SRT Ingestion: SRT (Secure Reliable Transport) is an open-source, codec-agnostic protocol offering codec flexibility and gaining prominence as an RTMP successor. Its enhanced security features and improved reliability make it a preferred choice for content creators, broadcasters, and streaming platforms.
RTSP Ingestion: RTSP (Real-Time Streaming Protocol) is ideal for ingesting streams from IP cameras to the Sariska server. This standard protocol ensures real-time control and delivery of audio and video data, making it suitable for diverse streaming applications.
Note: For RTSP, minimal manual effort is required, as the streaming process involves providing the RTSP server URL for configuration. Once configured, the system seamlessly pulls streams from IP cameras.
For a comprehensive understanding of API flags and enhanced features, please refer to the Swagger URL provided below. Enabling each feature is straightforward, requiring a simple 'true' parameter.
We have presented this information from a technical standpoint, emphasizing the versatility of this approach, given the myriad potential use cases. Explore the Swagger documentation for a detailed overview of API flags and enhanced functionalities