paraslash Paraslash Audio Streaming
About   News   Download   Documentation   Development

Macros | Enumerations | Variables
http_send.c File Reference

Detailed Description

paraslash's http sender

Macros

#define MAX_CQ_BYTES
 
#define FOR_EACH_LISTEN_FD(_n)
 

Enumerations

enum  http_client_status { HTTP_CONNECTED, HTTP_GOT_GET_REQUEST, HTTP_STREAMING, HTTP_INVALID_GET_REQUEST }
 

Variables

const struct sender http_sender
 

Macro Definition Documentation

◆ MAX_CQ_BYTES

#define MAX_CQ_BYTES

◆ FOR_EACH_LISTEN_FD

#define FOR_EACH_LISTEN_FD (   _n)

Enumeration Type Documentation

◆ http_client_status

Enumerator
HTTP_CONNECTED 
HTTP_GOT_GET_REQUEST 
HTTP_STREAMING 
HTTP_INVALID_GET_REQUEST 

Variable Documentation

◆ http_sender

const struct sender http_sender

The HTTP sender.

This sender does not FEC-encode the stream because HTTP sits on top of TCP, a reliable transport which retransmits lost packets automatically. The sender employs per-client queues which queue chunks of audio data if they can not be sent immediately because the write operation would block.