#include <sys/socket.h>
#include <netinet/in.h>
Include dependency graph for rtp.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Classes | |
struct | rtpbits |
struct | rtpheader |
Functions | |
void | initrtp (struct rtpheader *foo) |
int | sendrtp (int fd, struct sockaddr_in *sSockAddr, struct rtpheader *foo, const void *data, int len) |
int | makesocket (char *szAddr, unsigned short port, unsigned char TTL, struct sockaddr_in *sSockAddr) |
void | rtp_output (const char *mp3buffer, int mp3size) |
void initrtp | ( | struct rtpheader * | foo | ) |
Definition at line 74 of file rtp.c.
References rtpheader::b, rtpbits::cc, rtpheader::iAudioHeader, rtpbits::m, rtpbits::p, rtpbits::pt, rtpbits::sequence, rtpheader::ssrc, rtpheader::timestamp, rtpbits::v, and rtpbits::x.
Referenced by main().
int makesocket | ( | char * | szAddr, | |
unsigned short | port, | |||
unsigned char | TTL, | |||
struct sockaddr_in * | sSockAddr | |||
) |
Definition at line 111 of file rtp.c.
References error_printf().
Referenced by main().
Here is the call graph for this function:
void rtp_output | ( | const char * | mp3buffer, | |
int | mp3size | |||
) |
Definition at line 71 of file mp3rtp.c.
References rtpheader::b, RTPheader, rtpsi, rtpsocket, sendrtp(), rtpbits::sequence, and rtpheader::timestamp.
Referenced by main().
Here is the call graph for this function:
int sendrtp | ( | int | fd, | |
struct sockaddr_in * | sSockAddr, | |||
struct rtpheader * | foo, | |||
const void * | data, | |||
int | len | |||
) |
Definition at line 94 of file rtp.c.
References alloca(), and memmove.
Referenced by rtp_output().
Here is the call graph for this function: