📝 Streaming live audio video protocols (15 MCQs)
Continuous Delivery of Media Generated in Real Time
Live audio and video streaming distributes media while it is being captured or produced, rather than waiting for a complete recording. A sender encodes the current content and transmits successive media units to viewers. The system must balance coding delay, network variation, buffering and audience scale so that playback remains continuous and reasonably close to the live event. The content source continues generating new media throughout the event.
Live Encoders, Media Servers and Distribution Paths
A live distribution system may include cameras or microphones, an encoder, an ingest server, processing services and delivery servers. RTP is commonly used for real-time packet transport, RTCP reports reception and timing information, and RTSP can control a media session. HTTP-based systems can also distribute live content as a sequence of short segments.
Capturing, Encoding, Packetizing and Presenting Live Media
The source captures media, the encoder produces compressed audio and video, and the delivery system sends packets or segments to clients. Receivers buffer incoming data, decode the media and schedule presentation. In RTP systems, timestamps support playout timing, while sequence numbers help detect packet loss and restore packet order where possible.
A Live Broadcast from Camera to Viewer
A news camera sends its programme to an encoder, which produces an H.264 video stream and an audio stream. A distribution server forwards the live output to viewers. An RTP receiver uses packet sequence numbers and timestamps to arrange media for playback, while RTCP reports can help operators observe reception quality.
RTP, RTCP, RTSP and HTTP-Based Live Delivery
RTP-based live delivery is suited to time-sensitive media, while HTTP live streaming can pass through widely deployed web infrastructure and scale through caches. RTSP provides session controls such as setup, play, pause and teardown; it does not itself define the audio or video codec. The delivery method depends on latency and compatibility needs.
Live Streaming Is Not Always Interactive
'Every live stream is interactive' is false because one-way broadcasts have no participant conversation. 'RTCP carries the programme audio' confuses control reports with RTP media payloads. 'RTP guarantees packet delivery before playback' is incorrect because RTP provides timing and sequence information, not reliable or deadline-guaranteed transport. This distinction matters when evaluating codec behavior and media delivery.
Comparing Latency, Buffering and Audience Scale
Compare live broadcast with stored streaming and interactive conferencing by examining source timing, feedback, buffering and latency. Identify each protocol role instead of treating RTP, RTCP, RTSP and HTTP as interchangeable. Explain how packet loss, jitter and encoding delay influence the viewer experience. Consider whether the audience sends feedback. carefully.
Live Media Delivery Protocol Terms
- Ingest - Receives media from a live source.
- Encoder - Compresses captured media for delivery.
- RTP - Carries timed media packets.
- RTCP - Reports reception statistics and synchronization.
- RTSP - Controls streaming session playback.
- Latency - Measures delay from source to presentation.
📝 All Streaming live audio video protocols MCQs
Q1. If a live video stream uses a constant bitrate of 4 Mbps and the network experiences a packet loss that reduces effective throughput by 25 %, what is the maximum duration (in seconds) that can be streamed without buffering assuming a buffer size of 10 MB?
📖 Explanation: Effective throughput = 4 Mbps × 0.75 = 3 Mbps = 0.375 MB/s. Buffer of 10 MB divided by 0.375 MB/s gives ≈ 26.67 s. Therefore option B is correct. The calculation shows how reduced bandwidth directly limits uninterrupted playback time.
Q2. Which protocol is primarily used for streaming live audio/video over the internet?
📖 Explanation: The Real-time Transport Protocol (RTP) is designed to deliver audio and video over IP networks with timing information, making it the standard choice for live streaming, unlike HTTP or FTP which are not optimized for real‑time media.
Q3. Given a binary sequence with long runs of zeros, which statement best explains why run‑length coding typically achieves a higher compression ratio than dictionary coding?
📖 Explanation: Run‑length coding captures the count of consecutive zeros in a single code, so long sequences are represented by a short length/value pair. Dictionary coding must store the entire pattern as a dictionary entry, which adds overhead when the pattern is simple, making run‑length more efficient for such data.
Q4. Using a 4‑bit fixed‑length code per digit, a run‑length encoded sequence of 26 bits is stored in 16 bits. What is the compression ratio expressed as a fraction?
📖 Explanation: Compression ratio is defined as original size divided by compressed size. Here the original size is 26 bits and the compressed size is 16 bits, giving a ratio of . This fraction directly reflects the saving achieved.
Q5. If a playback buffer introduces a fixed delay of 2 seconds and network jitter can add up to 0.5 seconds of variance, what is the worst‑case end‑to‑end latency for a live stream?
📖 Explanation: The worst‑case latency occurs when both the buffer delay and the maximum jitter happen together: 2 s + 0.5 s = 2.5 s. This additive effect shows how each component contributes to total latency, making option A correct.
Q6. What does the acronym 'RTSP' stand for?
📖 Explanation: RTSP stands for Real Time Streaming Protocol, which provides control commands such as PLAY, PAUSE, and TEARDOWN for media sessions. It does not transport media itself, distinguishing it from protocols like RTP.
Q7. When deciding between increasing the video bitrate and employing adaptive bitrate streaming for a live event, which statement most accurately reflects the trade‑off?
📖 Explanation: Adaptive bitrate streaming monitors current bandwidth and dynamically selects an appropriate stream quality, preventing buffer underruns that cause stalls. While higher bitrate can improve quality, it risks rebuffering under limited bandwidth, making option B the correct trade‑off description.
Q8. According to the Nyquist theorem, what is the minimum sampling rate required to faithfully reproduce an audio signal with a maximum frequency component of 20 kHz?
📖 Explanation: Nyquist states that the sampling rate must be at least twice the highest frequency present. For a 20 kHz signal, the minimum rate is . Sampling below this causes aliasing, so option C is correct.
Q9. A file of 8 MB is compressed with a ratio of 1.62 (original/compressed). What is the size of the compressed file rounded to two decimal places?
📖 Explanation: Compressed size = original size ÷ compression ratio = 8 MB ÷ 1.62 ≈ 4.938 MB, which rounds to 4.94 MB. This calculation directly applies the definition of compression ratio, confirming option A.
Q10. Which of the following best differentiates RTP from RTSP in a live streaming architecture?
📖 Explanation: RTP is responsible for delivering time‑sensitive media packets, whereas RTSP issues commands such as PLAY or PAUSE to manage the session. This separation of data and control planes makes option A the accurate distinction.
Q11. Why is buffering essential when streaming live audio/video over networks with variable bandwidth?
📖 Explanation: A buffer temporarily holds incoming data, allowing the player to continue playback during brief periods of reduced bandwidth. By absorbing these fluctuations, buffering prevents interruptions, which is the primary reason for its use in live streaming.
Q12. A live stream divides video into 2‑second chunks. If each chunk experiences a network delay of 0.8 seconds, what is the total end‑to‑end delay after three chunks have been transmitted?
📖 Explanation: Each chunk arrives after its duration plus delay: 2 s + 0.8 s = 2.8 s. After three chunks the cumulative delay is . This adds both playback time and network latency, confirming option A.
Q13. Which codec is most commonly employed for low‑latency live video streaming?
📖 Explanation: H.264, especially in its baseline profile, is widely adopted for live streaming due to its balance of compression efficiency and low encoding/decoding latency. While newer codecs like H.265 offer better compression, they typically introduce higher processing delay, making H.264 the preferred choice for low‑latency applications.
Q14. Consider two live streaming setups: (1) a high bitrate stream with a large 5‑second buffer, (2) an adaptive bitrate stream with a small 1‑second buffer. Which setup generally provides lower average latency?
📖 Explanation: Adaptive bitrate streaming can quickly switch to lower‑quality segments when bandwidth drops, allowing a smaller buffer to be sufficient. The reduced buffer size directly shortens the time between capture and playback, yielding lower average latency than a large static buffer, thus option B is correct.
Q15. How does increasing the compression ratio typically affect perceived quality in live streaming?
📖 Explanation: A higher compression ratio means fewer bits are used to represent the same content. When the bit rate drops below the level needed to preserve detail, artifacts appear, lowering perceived quality. Therefore, option B correctly describes the trade‑off between compression efficiency and visual fidelity.