diff options
author | Olivier CrĂȘte <olivier.crete@collabora.com> | 2012-08-28 15:43:19 -0700 |
---|---|---|
committer | Olivier CrĂȘte <olivier.crete@collabora.com> | 2012-08-28 15:43:19 -0700 |
commit | 4263c6bc1f0f4aff94e7351904102c229c66e47c (patch) | |
tree | 46584afa4e715f3b8a170b919f0e8941580137dd /examples | |
parent | 462fd20e8174f59cf8835871a0f3fed5eb75c5c6 (diff) | |
download | farstream-4263c6bc1f0f4aff94e7351904102c229c66e47c.tar.gz |
Port simple-call to gst 1.0
Diffstat (limited to 'examples')
-rw-r--r-- | examples/commandline/simple-call-shm.c | 2 | ||||
-rw-r--r-- | examples/commandline/simple-call.c | 4 |
2 files changed, 3 insertions, 3 deletions
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 <farstream/fs-conference.h> -#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 <gst/gst.h> #include <farstream/fs-conference.h> -#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); |