libavformat/applehttpproto.c File Reference

Apple HTTP Live Streaming Protocol Handler http://tools.ietf.org/html/draft-pantos-http-live-streaming. More...

#include "libavutil/avstring.h"
#include "avformat.h"
#include "internal.h"
#include <unistd.h>

Go to the source code of this file.

Data Structures

struct  segment
struct  variant
struct  AppleHTTPContext
struct  variant_info

Defines

#define _XOPEN_SOURCE   600

Functions

static int read_chomp_line (AVIOContext *s, char *buf, int maxlen)
static void make_absolute_url (char *buf, int size, const char *base, const char *rel)
static void free_segment_list (AppleHTTPContext *s)
static void free_variant_list (AppleHTTPContext *s)
static void handle_variant_args (struct variant_info *info, const char *key, int key_len, char **dest, int *dest_len)
static int parse_playlist (URLContext *h, const char *url)
static int applehttp_open (URLContext *h, const char *uri, int flags)
static int applehttp_read (URLContext *h, uint8_t *buf, int size)
static int applehttp_close (URLContext *h)

Variables

URLProtocol ff_applehttp_protocol


Detailed Description

Apple HTTP Live Streaming Protocol Handler http://tools.ietf.org/html/draft-pantos-http-live-streaming.

Definition in file applehttpproto.c.


Define Documentation

#define _XOPEN_SOURCE   600

Definition at line 28 of file applehttpproto.c.


Function Documentation

static int applehttp_close ( URLContext h  )  [static]

Definition at line 339 of file applehttpproto.c.

static int applehttp_open ( URLContext h,
const char *  uri,
int  flags 
) [static]

Definition at line 227 of file applehttpproto.c.

static int applehttp_read ( URLContext h,
uint8_t *  buf,
int  size 
) [static]

Definition at line 286 of file applehttpproto.c.

static void free_segment_list ( AppleHTTPContext s  )  [static]

Definition at line 129 of file applehttpproto.c.

static void free_variant_list ( AppleHTTPContext s  )  [static]

Definition at line 138 of file applehttpproto.c.

static void handle_variant_args ( struct variant_info info,
const char *  key,
int  key_len,
char **  dest,
int *  dest_len 
) [static]

Definition at line 151 of file applehttpproto.c.

static void make_absolute_url ( char *  buf,
int  size,
const char *  base,
const char *  rel 
) [static]

Definition at line 78 of file applehttpproto.c.

static int parse_playlist ( URLContext h,
const char *  url 
) [static]

Definition at line 160 of file applehttpproto.c.

static int read_chomp_line ( AVIOContext s,
char *  buf,
int  maxlen 
) [static]

Definition at line 70 of file applehttpproto.c.


Variable Documentation

Initial value:

Definition at line 350 of file applehttpproto.c.


Generated on Mon May 2 19:50:25 2011 for FFmpeg by  doxygen 1.5.6