@carlsbad2 Current high end streaming is supposed to be TCP from discussion on A’gon. I have no time to Google this to show proof. In the past I believe music streaming was UDP.
I have ChatGPT open and asked it the question.
Music streaming services typically use a combination of protocols for delivering audio content to users, and TCP (Transmission Control Protocol) is one of them. However, it’s important to understand that the architecture of music streaming services can involve multiple layers of communication, and TCP may not be the only protocol in use. Here’s how it generally works:
HTTP(S) for Control and Metadata: Music streaming services often use HTTP or HTTPS (secure HTTP) for transmitting control commands, metadata (track information, album art, etc.), and user interactions. These protocols are based on TCP.
Media Streaming Protocols for Audio: The actual audio content is usually streamed using specialized protocols designed for efficient media delivery. While TCP can be used for this purpose, some music streaming services may use UDP (User Datagram Protocol) instead. UDP is preferred for real-time multimedia applications because it provides lower latency and faster data transfer, which is crucial for a smooth audio playback experience.
HTTP Live Streaming (HLS): HLS is a popular streaming protocol used by services like Apple Music. It segments audio files into small chunks and serves them over HTTP(S).
Dynamic Adaptive Streaming over HTTP (DASH): DASH is another HTTP-based streaming protocol used by some music services. Like HLS, it segments content into chunks and adapts the quality based on network conditions.
UDP-Based Protocols: Some music streaming services use UDP-based protocols for live streaming, which can provide even lower latency than HTTP-based protocols. These may include RTP (Real-Time Transport Protocol) and WebRTC (Web Real-Time Communication).
In summary, music streaming services use a combination of TCP, HTTP(S), and potentially UDP-based protocols for delivering audio content. While control and metadata often rely on TCP, the actual audio streaming may use protocols designed for efficient real-time multimedia delivery, which can include both TCP and UDP, depending on the service and its specific requirements. The choice of protocol may also depend on factors like network conditions, device capabilities, and the streaming service’s architecture.