From 4263c6bc1f0f4aff94e7351904102c229c66e47c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Olivier=20Cr=C3=AAte?= Date: Tue, 28 Aug 2012 15:43:19 -0700 Subject: Port simple-call to gst 1.0 --- examples/commandline/simple-call-shm.c | 2 +- examples/commandline/simple-call.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'examples') diff --git a/examples/commandline/simple-call-shm.c b/examples/commandline/simple-call-shm.c index 5d7263a2..981a97c7 100644 --- a/examples/commandline/simple-call-shm.c +++ b/examples/commandline/simple-call-shm.c @@ -36,7 +36,7 @@ #include -#define DEFAULT_AUDIOSRC "audiotestsrc is-live=1 ! audio/x-raw-int, rate=8000 ! identity" +#define DEFAULT_AUDIOSRC "audiotestsrc is-live=1 ! audio/x-raw, rate=8000 ! identity" #define DEFAULT_AUDIOSINK "alsasink sync=false async=false" typedef struct _TestSession diff --git a/examples/commandline/simple-call.c b/examples/commandline/simple-call.c index 82a306a0..b670fd23 100644 --- a/examples/commandline/simple-call.c +++ b/examples/commandline/simple-call.c @@ -32,7 +32,7 @@ #include #include -#define DEFAULT_AUDIOSRC "alsasrc" +#define DEFAULT_AUDIOSRC "audiotestsrc" #define DEFAULT_AUDIOSINK "audioconvert ! audioresample ! audioconvert ! alsasink" typedef struct _TestSession @@ -151,7 +151,7 @@ add_audio_session (GstElement *pipeline, FsConference *conf, guint id, FS_CANDIDATE_TYPE_HOST, FS_NETWORK_PROTOCOL_UDP, remoteip, remoteport)); - res = fs_stream_add_remote_candidates (ses->stream, cands, &error); + res = fs_stream_force_remote_candidates (ses->stream, cands, &error); print_error (error); g_assert (res); -- cgit v1.2.1