aboutsummaryrefslogtreecommitdiffstats
path: root/src/sdp.h
blob: dae2e96c55973f9aee05732864b2712ce933b92b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#pragma once

#include <sofia-sip/sip.h>
#include <sofia-sip/sdp.h>

#include <stdbool.h>

struct sip_call_leg;
struct call_leg;

bool sdp_get_sdp_mode(const sip_t *sip, sdp_mode_t *mode);
bool sdp_screen_sdp(const sip_t *sip);
bool sdp_extract_sdp(struct sip_call_leg *leg, const sip_t *sip, bool any_codec);
char *sdp_create_file(struct sip_call_leg *leg, struct call_leg *other, sdp_mode_t mode);