mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-07 13:30:03 -05:00
* add RTP/SAP/SDP reciever module
* use server cookie as RTP SSRC * enable SVN keywords * add new option "loop" for RTP sender module git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@716 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
1fec416db7
commit
f1ddf05236
9 changed files with 1012 additions and 53 deletions
|
|
@ -28,6 +28,23 @@
|
|||
|
||||
#include <polyp/sample.h>
|
||||
|
||||
#define PA_SDP_HEADER "v=0\n"
|
||||
|
||||
typedef struct pa_sdp_info {
|
||||
char *origin;
|
||||
char *session_name;
|
||||
|
||||
struct sockaddr_storage sa;
|
||||
socklen_t salen;
|
||||
|
||||
pa_sample_spec sample_spec;
|
||||
uint8_t payload;
|
||||
} pa_sdp_info;
|
||||
|
||||
char *pa_sdp_build(int af, const void *src, const void *dst, const char *name, uint16_t port, uint8_t payload, const pa_sample_spec *ss);
|
||||
|
||||
pa_sdp_info *pa_sdp_parse(const char *t, pa_sdp_info *info, int is_goodbye);
|
||||
|
||||
void pa_sdp_info_destroy(pa_sdp_info *i);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue