Commit d0708705 authored by Pekka Pessi's avatar Pekka Pessi

Not using soa directly anymore.

darcs-hash:20050928194843-65a35-ed3b9f00edbaa5a0508859742271d7c8384b871c.gz
parent cac5aff1
......@@ -327,7 +327,9 @@ int main(int ac, char *av[])
cli_callback, cli,
NUTAG_URL(cli->cli_contact),
NUTAG_MEDIA_ADDRESS(cli->cli_media),
NUTAG_SOA_SESSION(cli->cli_soa),
NUTAG_SOA_NAME("default"),
/* Used in OPTIONS */
SOATAG_USER_SDP_STR("m=audio 5004 RTP/AVP 8 0"),
TAG_NULL()))) {
int min_se = 0;
int s_e = 0;
......@@ -1874,10 +1876,6 @@ int cli_init(cli_t *cli, char *av[])
su_timer_set(cli->cli_input, handle_input, NULL);
#endif
cli->cli_soa = soa_create("", cli->cli_root, cli);
if (cli->cli_soa)
soa_set_capability_sdp(cli->cli_soa, "m=audio 5004 RTP/AVP 8 0", -1);
cli->cli_init = 1;
return 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment