Codebase list farstream-0.2 / 4a54245
Merge commit 'upstream/0.0.12' into debian Sjoerd Simons 14 years ago
37 changed file(s) with 242 addition(s) and 138 deletion(s). Raw diff Collapse all Expand all
0 commit 2267454214e5e026c0e77003e728ae335b1d5d9b
1 Author: Olivier Crête <olivier.crete@collabora.co.uk>
2 Date: Mon May 25 14:06:15 2009 -0400
3
4 Version 0.0.11
5
6 commit c396561f25ca8d7f8a35c86df2f3b231894fefb4
7 Author: Olivier Crête <olivier.crete@collabora.co.uk>
8 Date: Mon May 25 16:24:55 2009 -0400
9
10 Revert "Add test for changing the sending ssrc"
0 commit 3f40b79a04bfc89d9fd318b5bf9ef7857b539dea
1 Author: Olivier Crête <olivier.crete@collabora.co.uk>
2 Date: Thu May 28 17:50:18 2009 -0400
3
4 Version 0.0.12
5
6 commit 8a64db4a0035559a34b84ab5593512a8061ff232
7 Author: Olivier Crête <olivier.crete@collabora.co.uk>
8 Date: Thu May 28 17:39:21 2009 -0400
9
10 Disable RTCP CNAME based association tests
1111
12 This reverts commit c8ccc1d254a167e88fc25bf28547c90609385230.
12 The message is broken in gst-plugins-bad 0.10.12, so it won't work.
13
14 commit 4c476d49211f2f387b5f050a6bde853765dd4303
15 Author: Olivier Crête <olivier.crete@collabora.co.uk>
16 Date: Thu May 28 17:36:57 2009 -0400
17
18 rtp: Check for the new name of the sdes message
19
20 commit 4a60b35295dbc1f9b70f33cb15bbbc6b8df5502a
21 Author: Olivier Crête <olivier.crete@collabora.co.uk>
22 Date: Thu May 28 16:38:49 2009 -0400
23
24 tests: Reduce nice test debug output
25
26 commit 8c46154df085bf91c71ac62e18a19c8a93393356
27 Author: Olivier Crête <olivier.crete@collabora.co.uk>
28 Date: Thu May 28 14:05:33 2009 -0400
29
30 tests: Name multicast rtp tests more accurately
31
32 commit a53438667b01b10fd15645c53764be071a0d1361
33 Author: Olivier Crête <olivier.crete@collabora.co.uk>
34 Date: Tue May 26 20:46:25 2009 -0400
35
36 Revert "nice: remove useless state unlock"
37
38 This reverts commit bbefabf9da7fc4a695a8e18591fe1309e79b1479.
39
40 commit 42181a7499c669fdb29b6dbc3c3bc995c426f356
41 Author: Olivier Crête <olivier.crete@collabora.co.uk>
42 Date: Tue May 26 15:52:27 2009 -0400
43
44 Set link to playing before linking it
45
46 commit 586b649e80f316a2dfc0cef8df398ea68e3f3673
47 Author: Olivier Crête <olivier.crete@collabora.co.uk>
48 Date: Tue May 26 15:51:20 2009 -0400
49
50 rtp: Do proper locking when removing send codec bin
51
52 commit d443e642c4e453cb028b5670536cf1699a843a68
53 Author: Olivier Crête <olivier.crete@collabora.co.uk>
54 Date: Mon May 25 17:16:55 2009 -0400
55
56 Version 0.0.11.1
57
58 Version 0.0.11 is in a branch
1359
1460 commit a46e57c168338c8a2e3b39771e10aa5e626abeda
1561 Author: Olivier Crête <olivier.crete@collabora.co.uk>
00 #! /bin/sh
11 # Guess values for system-dependent variables and create Makefiles.
2 # Generated by GNU Autoconf 2.63 for Farsight2 0.0.11.
2 # Generated by GNU Autoconf 2.63 for Farsight2 0.0.12.
33 #
44 # Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=Farsight>.
55 #
749749 # Identity of this package.
750750 PACKAGE_NAME='Farsight2'
751751 PACKAGE_TARNAME='farsight2'
752 PACKAGE_VERSION='0.0.11'
753 PACKAGE_STRING='Farsight2 0.0.11'
752 PACKAGE_VERSION='0.0.12'
753 PACKAGE_STRING='Farsight2 0.0.12'
754754 PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=Farsight'
755755
756756 ac_unique_file="gst-libs/gst/farsight/fs-candidate.c"
16451645 # Omit some internal or obsolete options to make the list less imposing.
16461646 # This message is too long to be a string in the A/UX 3.1 sh.
16471647 cat <<_ACEOF
1648 \`configure' configures Farsight2 0.0.11 to adapt to many kinds of systems.
1648 \`configure' configures Farsight2 0.0.12 to adapt to many kinds of systems.
16491649
16501650 Usage: $0 [OPTION]... [VAR=VALUE]...
16511651
17151715
17161716 if test -n "$ac_init_help"; then
17171717 case $ac_init_help in
1718 short | recursive ) echo "Configuration of Farsight2 0.0.11:";;
1718 short | recursive ) echo "Configuration of Farsight2 0.0.12:";;
17191719 esac
17201720 cat <<\_ACEOF
17211721
18771877 test -n "$ac_init_help" && exit $ac_status
18781878 if $ac_init_version; then
18791879 cat <<\_ACEOF
1880 Farsight2 configure 0.0.11
1880 Farsight2 configure 0.0.12
18811881 generated by GNU Autoconf 2.63
18821882
18831883 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
18911891 This file contains any messages produced by compilers while
18921892 running configure, to aid debugging if configure makes a mistake.
18931893
1894 It was created by Farsight2 $as_me 0.0.11, which was
1894 It was created by Farsight2 $as_me 0.0.12, which was
18951895 generated by GNU Autoconf 2.63. Invocation command line was
18961896
18971897 $ $0 $@
26122612
26132613 # Define the identity of the package.
26142614 PACKAGE='farsight2'
2615 VERSION='0.0.11'
2615 VERSION='0.0.12'
26162616
26172617
26182618 cat >>confdefs.h <<_ACEOF
27562756
27572757
27582758
2759 PACKAGE_VERSION_MAJOR=$(echo 0.0.11 | cut -d'.' -f1)
2760 PACKAGE_VERSION_MINOR=$(echo 0.0.11 | cut -d'.' -f2)
2761 PACKAGE_VERSION_MICRO=$(echo 0.0.11 | cut -d'.' -f3)
2759 PACKAGE_VERSION_MAJOR=$(echo 0.0.12 | cut -d'.' -f1)
2760 PACKAGE_VERSION_MINOR=$(echo 0.0.12 | cut -d'.' -f2)
2761 PACKAGE_VERSION_MICRO=$(echo 0.0.12 | cut -d'.' -f3)
27622762
27632763
27642764
27692769 { $as_echo "$as_me:$LINENO: checking nano version" >&5
27702770 $as_echo_n "checking nano version... " >&6; }
27712771
2772 NANO=$(echo 0.0.11 | cut -d'.' -f4)
2772 NANO=$(echo 0.0.12 | cut -d'.' -f4)
27732773
27742774 if test x"$NANO" = x || test "x$NANO" = "x0" ; then
27752775 { $as_echo "$as_me:$LINENO: result: 0 (release)" >&5
2629626296 # report actual input values of CONFIG_FILES etc. instead of their
2629726297 # values after options handling.
2629826298 ac_log="
26299 This file was extended by Farsight2 $as_me 0.0.11, which was
26299 This file was extended by Farsight2 $as_me 0.0.12, which was
2630026300 generated by GNU Autoconf 2.63. Invocation command line was
2630126301
2630226302 CONFIG_FILES = $CONFIG_FILES
2635926359 _ACEOF
2636026360 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2636126361 ac_cs_version="\\
26362 Farsight2 config.status 0.0.11
26362 Farsight2 config.status 0.0.12
2636326363 configured by $0, generated by GNU Autoconf 2.63,
2636426364 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
2636526365
44 dnl initialize autoconf
55 dnl releases only do -Wall, cvs and prerelease does -Werror too
66 dnl use a three digit version number for releases, and four for cvs/prerelease
7 AC_INIT(Farsight2, 0.0.11,
7 AC_INIT(Farsight2, 0.0.12,
88 https://bugs.freedesktop.org/enter_bug.cgi?product=Farsight,
99 farsight2)
1010
116116 ><span class="type">GstBus</span></a>.
117117 </p>
118118 <div class="refsect2" lang="en">
119 <a name="id2938357"></a><h3>The "<code class="literal">farsight-error</code>" message</h3>
119 <a name="id3021234"></a><h3>The "<code class="literal">farsight-error</code>" message</h3>
120120 <div class="informalexample"><pre class="programlisting">
121121 "src-object" <a
122122 href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"
265265 FS_ERROR_NO_CODECS_LEFT,
266266 FS_ERROR_CONNECTION_FAILED,
267267 FS_ERROR_DISPOSED,
268 FS_ERROR_ALREADY_EXISTS
269268 } FsError;
270269 </pre>
271270 <p>
346345 <tr>
347346 <td><p><a name="FS-ERROR-DISPOSED--CAPS"></a><span class="term"><code class="literal">FS_ERROR_DISPOSED</code></span></p></td>
348347 <td> The object has been disposed.
349 </td>
350 </tr>
351 <tr>
352 <td><p><a name="FS-ERROR-ALREADY-EXISTS--CAPS"></a><span class="term"><code class="literal">FS_ERROR_ALREADY_EXISTS</code></span></p></td>
353 <td> The object already exists
354348 </td>
355349 </tr>
356350 </tbody>
174174 ><span class="type">GstBus</span></a>.
175175 </p>
176176 <div class="refsect2" lang="en">
177 <a name="id3019396"></a><h3>The "<code class="literal">farsight-send-codec-changed</code>"
177 <a name="id3092463"></a><h3>The "<code class="literal">farsight-send-codec-changed</code>"
178178 message</h3>
179179 <div class="informalexample"><pre class="programlisting">
180180 "session" <a class="link" href="FsSession.html" title="FsSession">FsSession</a> The session that emits the message
187187 </div>
188188 <hr>
189189 <div class="refsect2" lang="en">
190 <a name="id3019439"></a><h3>The "<code class="literal">farsight-codecs-changed</code>"
190 <a name="id3092507"></a><h3>The "<code class="literal">farsight-codecs-changed</code>"
191191 message</h3>
192192 <div class="informalexample"><pre class="programlisting">
193193 "session" <a class="link" href="FsSession.html" title="FsSession">FsSession</a> The session that emits the message
130130 "<a class="link" href="FsStream.html#FsStream--participant" title='The "participant" property'>participant</a>" <a class="link" href="FsParticipant.html" title="FsParticipant">FsParticipant</a>* : Read / Write / Construct Only
131131 "<a class="link" href="FsStream.html#FsStream--remote-codecs" title='The "remote-codecs" property'>remote-codecs</a>" FsCodecGList* : Read
132132 "<a class="link" href="FsStream.html#FsStream--session" title='The "session" property'>session</a>" <a class="link" href="FsSession.html" title="FsSession">FsSession</a>* : Read / Write / Construct Only
133 "<a class="link" href="FsStream.html#FsStream--stream-transmitter" title='The "stream-transmitter" property'>stream-transmitter</a>" <a class="link" href="FsStreamTransmitter.html" title="FsStreamTransmitter">FsStreamTransmitter</a>* : Write / Construct Only
133134 </pre>
134135 </div>
135136 <div class="refsect1" lang="en">
157158 ><span class="type">GstBus</span></a>.
158159 </p>
159160 <div class="refsect2" lang="en">
160 <a name="id2999024"></a><h3>The "<code class="literal">farsight-new-local-candidate</code>" message</h3>
161 <a name="id3111177"></a><h3>The "<code class="literal">farsight-new-local-candidate</code>" message</h3>
161162 <div class="informalexample"><pre class="programlisting">
162163 "stream" <a class="link" href="FsStream.html" title="FsStream">FsStream</a> The stream that emits the message
163164 "candidate" <a class="link" href="farsight2-libs-FsCandidate.html#FsCandidate" title="FsCandidate">FsCandidate</a> The new candidate
168169 </div>
169170 <hr>
170171 <div class="refsect2" lang="en">
171 <a name="id2999060"></a><h3>The "<code class="literal">farsight-local-candidates-prepared</code>" message</h3>
172 <a name="id3111213"></a><h3>The "<code class="literal">farsight-local-candidates-prepared</code>" message</h3>
172173 <div class="informalexample"><pre class="programlisting">
173174 "stream" <a class="link" href="FsStream.html" title="FsStream">FsStream</a> The stream that emits the message
174175 </pre></div>
179180 </div>
180181 <hr>
181182 <div class="refsect2" lang="en">
182 <a name="id2999092"></a><h3>The "<code class="literal">farsight-new-active-candidate-pair</code>" message</h3>
183 <a name="id3076017"></a><h3>The "<code class="literal">farsight-new-active-candidate-pair</code>" message</h3>
183184 <div class="informalexample"><pre class="programlisting">
184185 "stream" <a class="link" href="FsStream.html" title="FsStream">FsStream</a> The stream that emits the message
185186 "local-candidate" <a class="link" href="farsight2-libs-FsCandidate.html#FsCandidate" title="FsCandidate">FsCandidate</a> Local candidate being used
195196 </div>
196197 <hr>
197198 <div class="refsect2" lang="en">
198 <a name="id2999141"></a><h3>The "<code class="literal">farsight-recv-codecs-changed</code>" message</h3>
199 <a name="id3076067"></a><h3>The "<code class="literal">farsight-recv-codecs-changed</code>" message</h3>
199200 <div class="informalexample"><pre class="programlisting">
200201 "stream" <a class="link" href="FsStream.html" title="FsStream">FsStream</a> The stream that emits the message
201202 "codecs" FsCodecGList A <a
213214 </div>
214215 <hr>
215216 <div class="refsect2" lang="en">
216 <a name="id2999209"></a><h3>The "<code class="literal">farsight-component-state-changed</code>" message</h3>
217 <a name="id3076134"></a><h3>The "<code class="literal">farsight-component-state-changed</code>" message</h3>
217218 <div class="informalexample"><pre class="programlisting">
218219 "stream" <a class="link" href="FsStream.html" title="FsStream">FsStream</a> The stream that emits the message
219220 "component" <a
763764 <p>
764765 </p>
765766 </div>
767 <hr>
768 <div class="refsect2" lang="en">
769 <a name="FsStream--stream-transmitter"></a><h3>The <code class="literal">"stream-transmitter"</code> property</h3>
770 <pre class="programlisting"> "stream-transmitter" <a class="link" href="FsStreamTransmitter.html" title="FsStreamTransmitter">FsStreamTransmitter</a>* : Write / Construct Only</pre>
771 <p>
772 The <a class="link" href="FsStreamTransmitter.html" title="FsStreamTransmitter"><span class="type">FsStreamTransmitter</span></a> for this stream.</p>
773 <p>
774 </p>
775 </div>
766776 </div>
767777 <div class="refsect1" lang="en">
768778 <a name="FsStream.signal-details"></a><h2>Signal Details</h2>
2828 </tr></table>
2929 <div class="chapter" lang="en">
3030 <div class="titlepage"><div><div><h2 class="title">
31 <a name="id2972261"></a>Farsight GStreamer Interfaces</h2></div></div></div>
31 <a name="id3055137"></a>Farsight GStreamer Interfaces</h2></div></div></div>
3232 <div class="toc"><dl><dt>
3333 <span class="refentrytitle"><a href="FsConference.html">FsConference</a></span><span class="refpurpose"> — Interface for farsight conference elements</span>
3434 </dt></dl></div>
2828 </tr></table>
2929 <div class="chapter" lang="en">
3030 <div class="titlepage"><div><div><h2 class="title">
31 <a name="id2933627"></a>Farsight Core Library</h2></div></div></div>
31 <a name="id3016503"></a>Farsight Core Library</h2></div></div></div>
3232 <div class="toc"><dl>
3333 <dt>
3434 <span class="refentrytitle"><a href="FsParticipant.html">FsParticipant</a></span><span class="refpurpose"> — A participant in a conference</span>
2828 </tr></table>
2929 <div class="chapter" lang="en">
3030 <div class="titlepage"><div><div><h2 class="title">
31 <a name="id2933655"></a>Farsight Utility Functions and Objects</h2></div></div></div>
31 <a name="id3016531"></a>Farsight Utility Functions and Objects</h2></div></div></div>
3232 <div class="toc"><dl>
3333 <dt>
3434 <span class="refentrytitle"><a href="FsElementAddedNotifier.html">FsElementAddedNotifier</a></span><span class="refpurpose"> — Recursive element addition notifier</span>
2828 </tr></table>
2929 <div class="chapter" lang="en">
3030 <div class="titlepage"><div><div><h2 class="title">
31 <a name="id2972309"></a>Farsight Classes Base Implementations</h2></div></div></div>
31 <a name="id3055185"></a>Farsight Classes Base Implementations</h2></div></div></div>
3232 <div class="toc"><dl><dt>
3333 <span class="refentrytitle"><a href="FsBaseConference.html">FsBaseConference</a></span><span class="refpurpose"> — Base class for Farsight Conference Gstreamer Elements</span>
3434 </dt></dl></div>
2828 </tr></table>
2929 <div class="chapter" lang="en">
3030 <div class="titlepage"><div><div><h2 class="title">
31 <a name="id2972320"></a>Farsight Transmitter Classes</h2></div></div></div>
31 <a name="id3055196"></a>Farsight Transmitter Classes</h2></div></div></div>
3232 <div class="toc"><dl>
3333 <dt>
3434 <span class="refentrytitle"><a href="FsTransmitter.html">FsTransmitter</a></span><span class="refpurpose"> — A transmitter object linked to a session</span>
2828 </tr></table>
2929 <div class="chapter" lang="en">
3030 <div class="titlepage"><div><div><h2 class="title">
31 <a name="id2972335"></a>Farsight Plugins Infrastructure</h2></div></div></div>
31 <a name="id3055211"></a>Farsight Plugins Infrastructure</h2></div></div></div>
3232 <div class="toc"><dl><dt>
3333 <span class="refentrytitle"><a href="farsight2-libs-FsPlugin.html">FsPlugin</a></span><span class="refpurpose"> — A class for defining Farsight plugins</span>
3434 </dt></dl></div>
3131 </sub>
3232 </chapters>
3333 <functions>
34 <function name="The &quot;farsight-error&quot; message" link="FsConference.html#id2938357"/>
34 <function name="The &quot;farsight-error&quot; message" link="FsConference.html#id3021234"/>
3535 <function name="FsConference" link="FsConference.html#FsConference-struct"/>
3636 <function name="fs_conference_new_session ()" link="FsConference.html#fs-conference-new-session"/>
3737 <function name="fs_conference_new_participant ()" link="FsConference.html#fs-conference-new-participant"/>
4444 <function name="FS_PARTICIPANT_DATA_UNLOCK()" link="FsParticipant.html#FS-PARTICIPANT-DATA-UNLOCK--CAPS"/>
4545 <function name="The &quot;cname&quot; property" link="FsParticipant.html#FsParticipant--cname"/>
4646 <function name="The &quot;error&quot; signal" link="FsParticipant.html#FsParticipant-error"/>
47 <function name="The &quot;farsight-send-codec-changed&quot;&#10; message" link="FsSession.html#id3019396"/>
48 <function name="The &quot;farsight-codecs-changed&quot;&#10; message" link="FsSession.html#id3019439"/>
47 <function name="The &quot;farsight-send-codec-changed&quot;&#10; message" link="FsSession.html#id3092463"/>
48 <function name="The &quot;farsight-codecs-changed&quot;&#10; message" link="FsSession.html#id3092507"/>
4949 <function name="enum FsDTMFEvent" link="FsSession.html#FsDTMFEvent"/>
5050 <function name="enum FsDTMFMethod" link="FsSession.html#FsDTMFMethod"/>
5151 <function name="FsSession" link="FsSession.html#FsSession-struct"/>
6666 <function name="The &quot;media-type&quot; property" link="FsSession.html#FsSession--media-type"/>
6767 <function name="The &quot;sink-pad&quot; property" link="FsSession.html#FsSession--sink-pad"/>
6868 <function name="The &quot;error&quot; signal" link="FsSession.html#FsSession-error"/>
69 <function name="The &quot;farsight-new-local-candidate&quot; message" link="FsStream.html#id2999024"/>
70 <function name="The &quot;farsight-local-candidates-prepared&quot; message" link="FsStream.html#id2999060"/>
71 <function name="The &quot;farsight-new-active-candidate-pair&quot; message" link="FsStream.html#id2999092"/>
72 <function name="The &quot;farsight-recv-codecs-changed&quot; message" link="FsStream.html#id2999141"/>
73 <function name="The &quot;farsight-component-state-changed&quot; message" link="FsStream.html#id2999209"/>
69 <function name="The &quot;farsight-new-local-candidate&quot; message" link="FsStream.html#id3111177"/>
70 <function name="The &quot;farsight-local-candidates-prepared&quot; message" link="FsStream.html#id3111213"/>
71 <function name="The &quot;farsight-new-active-candidate-pair&quot; message" link="FsStream.html#id3076017"/>
72 <function name="The &quot;farsight-recv-codecs-changed&quot; message" link="FsStream.html#id3076067"/>
73 <function name="The &quot;farsight-component-state-changed&quot; message" link="FsStream.html#id3076134"/>
7474 <function name="FsStream" link="FsStream.html#FsStream-struct"/>
7575 <function name="FsStreamClass" link="FsStream.html#FsStreamClass"/>
7676 <function name="enum FsStreamDirection" link="FsStream.html#FsStreamDirection"/>
8787 <function name="The &quot;participant&quot; property" link="FsStream.html#FsStream--participant"/>
8888 <function name="The &quot;remote-codecs&quot; property" link="FsStream.html#FsStream--remote-codecs"/>
8989 <function name="The &quot;session&quot; property" link="FsStream.html#FsStream--session"/>
90 <function name="The &quot;stream-transmitter&quot; property" link="FsStream.html#FsStream--stream-transmitter"/>
9091 <function name="The &quot;error&quot; signal" link="FsStream.html#FsStream-error"/>
9192 <function name="The &quot;src-pad-added&quot; signal" link="FsStream.html#FsStream-src-pad-added"/>
9293 <function name="FsCandidate" link="farsight2-libs-FsCandidate.html#FsCandidate"/>
3131 </sub>
3232 </chapters>
3333 <functions>
34 <keyword type="" name="The &quot;farsight-error&quot; message" link="FsConference.html#id2938357"/>
34 <keyword type="" name="The &quot;farsight-error&quot; message" link="FsConference.html#id3021234"/>
3535 <keyword type="struct" name="FsConference" link="FsConference.html#FsConference-struct"/>
3636 <keyword type="function" name="fs_conference_new_session ()" link="FsConference.html#fs-conference-new-session"/>
3737 <keyword type="function" name="fs_conference_new_participant ()" link="FsConference.html#fs-conference-new-participant"/>
4444 <keyword type="macro" name="FS_PARTICIPANT_DATA_UNLOCK()" link="FsParticipant.html#FS-PARTICIPANT-DATA-UNLOCK--CAPS"/>
4545 <keyword type="property" name="The &quot;cname&quot; property" link="FsParticipant.html#FsParticipant--cname"/>
4646 <keyword type="signal" name="The &quot;error&quot; signal" link="FsParticipant.html#FsParticipant-error"/>
47 <keyword type="" name="The &quot;farsight-send-codec-changed&quot;&#10; message" link="FsSession.html#id3019396"/>
48 <keyword type="" name="The &quot;farsight-codecs-changed&quot;&#10; message" link="FsSession.html#id3019439"/>
47 <keyword type="" name="The &quot;farsight-send-codec-changed&quot;&#10; message" link="FsSession.html#id3092463"/>
48 <keyword type="" name="The &quot;farsight-codecs-changed&quot;&#10; message" link="FsSession.html#id3092507"/>
4949 <keyword type="enum" name="enum FsDTMFEvent" link="FsSession.html#FsDTMFEvent"/>
5050 <keyword type="enum" name="enum FsDTMFMethod" link="FsSession.html#FsDTMFMethod"/>
5151 <keyword type="struct" name="FsSession" link="FsSession.html#FsSession-struct"/>
6666 <keyword type="property" name="The &quot;media-type&quot; property" link="FsSession.html#FsSession--media-type"/>
6767 <keyword type="property" name="The &quot;sink-pad&quot; property" link="FsSession.html#FsSession--sink-pad"/>
6868 <keyword type="signal" name="The &quot;error&quot; signal" link="FsSession.html#FsSession-error"/>
69 <keyword type="" name="The &quot;farsight-new-local-candidate&quot; message" link="FsStream.html#id2999024"/>
70 <keyword type="" name="The &quot;farsight-local-candidates-prepared&quot; message" link="FsStream.html#id2999060"/>
71 <keyword type="" name="The &quot;farsight-new-active-candidate-pair&quot; message" link="FsStream.html#id2999092"/>
72 <keyword type="" name="The &quot;farsight-recv-codecs-changed&quot; message" link="FsStream.html#id2999141"/>
73 <keyword type="" name="The &quot;farsight-component-state-changed&quot; message" link="FsStream.html#id2999209"/>
69 <keyword type="" name="The &quot;farsight-new-local-candidate&quot; message" link="FsStream.html#id3111177"/>
70 <keyword type="" name="The &quot;farsight-local-candidates-prepared&quot; message" link="FsStream.html#id3111213"/>
71 <keyword type="" name="The &quot;farsight-new-active-candidate-pair&quot; message" link="FsStream.html#id3076017"/>
72 <keyword type="" name="The &quot;farsight-recv-codecs-changed&quot; message" link="FsStream.html#id3076067"/>
73 <keyword type="" name="The &quot;farsight-component-state-changed&quot; message" link="FsStream.html#id3076134"/>
7474 <keyword type="struct" name="FsStream" link="FsStream.html#FsStream-struct"/>
7575 <keyword type="struct" name="FsStreamClass" link="FsStream.html#FsStreamClass"/>
7676 <keyword type="enum" name="enum FsStreamDirection" link="FsStream.html#FsStreamDirection"/>
8787 <keyword type="property" name="The &quot;participant&quot; property" link="FsStream.html#FsStream--participant"/>
8888 <keyword type="property" name="The &quot;remote-codecs&quot; property" link="FsStream.html#FsStream--remote-codecs"/>
8989 <keyword type="property" name="The &quot;session&quot; property" link="FsStream.html#FsStream--session"/>
90 <keyword type="property" name="The &quot;stream-transmitter&quot; property" link="FsStream.html#FsStream--stream-transmitter"/>
9091 <keyword type="signal" name="The &quot;error&quot; signal" link="FsStream.html#FsStream-error"/>
9192 <keyword type="signal" name="The &quot;src-pad-added&quot; signal" link="FsStream.html#FsStream-src-pad-added"/>
9293 <keyword type="struct" name="FsCandidate" link="farsight2-libs-FsCandidate.html#FsCandidate"/>
175176 <keyword type="constant" name="FS_ERROR_NO_CODECS_LEFT" link="FsConference.html#FS-ERROR-NO-CODECS-LEFT--CAPS"/>
176177 <keyword type="constant" name="FS_ERROR_CONNECTION_FAILED" link="FsConference.html#FS-ERROR-CONNECTION-FAILED--CAPS"/>
177178 <keyword type="constant" name="FS_ERROR_DISPOSED" link="FsConference.html#FS-ERROR-DISPOSED--CAPS"/>
178 <keyword type="constant" name="FS_ERROR_ALREADY_EXISTS" link="FsConference.html#FS-ERROR-ALREADY-EXISTS--CAPS"/>
179179 <keyword type="constant" name="FS_DTMF_METHOD_AUTO" link="FsSession.html#FS-DTMF-METHOD-AUTO--CAPS"/>
180180 <keyword type="constant" name="FS_DTMF_METHOD_RTP_RFC4733" link="FsSession.html#FS-DTMF-METHOD-RTP-RFC4733--CAPS"/>
181181 <keyword type="constant" name="FS_DTMF_METHOD_IN_BAND" link="FsSession.html#FS-DTMF-METHOD-IN-BAND--CAPS"/>
2222 <div>
2323 <div><table class="navigation" id="top" width="100%" cellpadding="2" cellspacing="0"><tr><th valign="middle"><p class="title">Farsight2 Reference Manual</p></th></tr></table></div>
2424 <div><p class="releaseinfo">
25 for version 0.0.10.1.
25 for version 0.0.11.1.
2626 The latest version of this documentation can be found on-line at
2727 <a class="ulink" href="http://farsight.freedesktop.org/apidoc/farsight2/" target="_top">http://farsight.freedesktop.org/apidoc/farsight2/</a>.
2828 </p></div>
7979 <ANCHOR id="FsStream--participant" href="farsight2-libs-0.10/FsStream.html#FsStream--participant">
8080 <ANCHOR id="FsStream--remote-codecs" href="farsight2-libs-0.10/FsStream.html#FsStream--remote-codecs">
8181 <ANCHOR id="FsStream--session" href="farsight2-libs-0.10/FsStream.html#FsStream--session">
82 <ANCHOR id="FsStream--stream-transmitter" href="farsight2-libs-0.10/FsStream.html#FsStream--stream-transmitter">
8283 <ANCHOR id="FsStream.signal-details" href="farsight2-libs-0.10/FsStream.html#FsStream.signal-details">
8384 <ANCHOR id="FsStream-error" href="farsight2-libs-0.10/FsStream.html#FsStream-error">
8485 <ANCHOR id="FsStream-src-pad-added" href="farsight2-libs-0.10/FsStream.html#FsStream-src-pad-added">
2828 </tr></table>
2929 <div class="part" lang="en">
3030 <div class="titlepage"><div><div><h1 class="title">
31 <a name="id2972274"></a>Part I. User-oriented classes, interfaces and functions</h1></div></div></div>
31 <a name="id3055150"></a>Part I. User-oriented classes, interfaces and functions</h1></div></div></div>
3232 <div class="toc">
3333 <p><b>Table of Contents</b></p>
3434 <dl>
2828 </tr></table>
2929 <div class="part" lang="en">
3030 <div class="titlepage"><div><div><h1 class="title">
31 <a name="id2972304"></a>Part II. Classes used to implement Farsight plugins</h1></div></div></div>
31 <a name="id3055180"></a>Part II. Classes used to implement Farsight plugins</h1></div></div></div>
3232 <div class="toc">
3333 <p><b>Table of Contents</b></p>
3434 <dl>
2424 </tr></table>
2525 <div class="chapter" lang="en">
2626 <div class="titlepage"><div><div><h2 class="title">
27 <a name="id2936558"></a>Core interface classes</h2></div></div></div>
27 <a name="id2597682"></a>Core interface classes</h2></div></div></div>
2828 <div class="toc"><dl>
2929 <dt>
3030 <span class="refentrytitle"><a href="farsight2-plugins-FsRtpConference.html">FsRtpConference</a></span><span class="refpurpose"> — Farsight RTP Conference Gstreamer Elements</span>
2424 </tr></table>
2525 <div class="chapter" lang="en">
2626 <div class="titlepage"><div><div><h2 class="title">
27 <a name="id2897935"></a>Transmitters</h2></div></div></div>
27 <a name="id2559059"></a>Transmitters</h2></div></div></div>
2828 <div class="toc"><dl>
2929 <dt>
3030 <span class="refentrytitle"><a href="farsight2-plugins-FsRawUdpStreamTransmitter.html">FsRawUdpStreamTransmitter</a></span><span class="refpurpose"> — A stream transmitter object for UDP with STUN</span>
5151 <div class="refsynopsisdiv">
5252 <h2>Synopsis</h2>
5353 <div class="refsect2" lang="en">
54 <a name="id2983872"></a><h3>Element Information</h3>
54 <a name="id2627432"></a><h3>Element Information</h3>
5555 <div class="variablelist"><table border="0">
5656 <col align="left" valign="top">
5757 <tbody>
7474 </div>
7575 <hr>
7676 <div class="refsect2" lang="en">
77 <a name="id2976843"></a><h3>Element Pads</h3>
77 <a name="id2627659"></a><h3>Element Pads</h3>
7878 <div class="variablelist"><table border="0">
7979 <col align="left" valign="top">
8080 <tbody>
9494 href="/usr/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"
9595 ><span class="type">GList</span></a>
9696 of <a
97 href="../farsight2-libs-0.10/farsight2-libs-FsCandidate.html#FsCandidate"
97 href="../farsight-libs/farsight-libs-FsCandidate.html#FsCandidate"
9898 ><span class="type">FsCandidate</span></a>. These <a
99 href="../farsight2-libs-0.10/farsight2-libs-FsCandidate.html#FsCandidate"
99 href="../farsight-libs/farsight-libs-FsCandidate.html#FsCandidate"
100100 ><span class="type">FsCandidate</span></a> must be for <span class="type">FS_NETWORK_PROTOCOL_UDP</span>.
101101 These port and/or the ip can be set on these candidates to force them,
102102 and this is per-component. If not all components have a port set, the
7878 This is the core gstreamer element for a RTP conference. It must be added
7979 to your pipeline before anything else is done. Then you create the session,
8080 participants and streams according to the <a
81 href="../farsight2-libs-0.10/FsConference.html"
81 href="../farsight-libs/FsConference.html"
8282 ><span class="type">FsConference</span></a> interface.
8383 </p>
8484 <p>
8787 <div class="refsynopsisdiv">
8888 <h2>Synopsis</h2>
8989 <div class="refsect2" lang="en">
90 <a name="id2977047"></a><h3>Element Information</h3>
90 <a name="id2638171"></a><h3>Element Information</h3>
9191 <div class="variablelist"><table border="0">
9292 <col align="left" valign="top">
9393 <tbody>
110110 </div>
111111 <hr>
112112 <div class="refsect2" lang="en">
113 <a name="id2902762"></a><h3>Element Pads</h3>
113 <a name="id2563886"></a><h3>Element Pads</h3>
114114 <div class="variablelist"><table border="0">
115115 <col align="left" valign="top">
116116 <tbody>
6363 <p>
6464 This object represents one session, it is created by called
6565 <a
66 href="../farsight2-libs-0.10/FsConference.html#fs-conference-new-session"
66 href="../farsight-libs/FsConference.html#fs-conference-new-session"
6767 ><code class="function">fs_conference_new_session()</code></a> on a <a class="link" href="farsight2-plugins-FsRtpConference.html#FsRtpConference" title="FsRtpConference"><span class="type">FsRtpConference</span></a>. It can be either
6868 Audio or Video. It also represents data send with one and only one
6969 SSRC (although if there is a SSRC collision, that SSRC may change).
7070 </p>
7171 <div class="refsect2" lang="en">
72 <a name="id2986094"></a><h3>Codec profiles</h3>
72 <a name="id2647218"></a><h3>Codec profiles</h3>
7373 <p>
7474 It is possible to define "codec profiles", that is non-autodetected
7575 encoding and decoding pipelines for codecs. It is even possible to declare
5050 <a name="farsight2-plugins-FsRtpStream.properties"></a><h2>Properties</h2>
5151 <pre class="synopsis">
5252 "<a class="link" href="farsight2-plugins-FsRtpStream.html#FsRtpStream--stream-transmitter" title='The "stream-transmitter" property'>stream-transmitter</a>" <a
53 href="../farsight2-libs-0.10/FsStreamTransmitter.html"
53 href="../farsight-libs/FsStreamTransmitter.html"
5454 >FsStreamTransmitter</a>* : Write / Construct Only
5555 </pre>
5656 </div>
5959 <p>
6060 This is the conjunction of a <a class="link" href="farsight2-plugins-FsRtpParticipant.html#FsRtpParticipant" title="FsRtpParticipant"><span class="type">FsRtpParticipant</span></a> and a <a class="link" href="farsight2-plugins-FsRtpSession.html#FsRtpSession" title="FsRtpSession"><span class="type">FsRtpSession</span></a>,
6161 it is created by calling <a
62 href="../farsight2-libs-0.10/FsSession.html#fs-session-new-stream"
62 href="../farsight-libs/FsSession.html#fs-session-new-stream"
6363 ><code class="function">fs_session_new_stream()</code></a> on a
6464 <a class="link" href="farsight2-plugins-FsRtpSession.html#FsRtpSession" title="FsRtpSession"><span class="type">FsRtpSession</span></a>.</p>
6565 <p>
8484 <div class="refsect2" lang="en">
8585 <a name="FsRtpStream--stream-transmitter"></a><h3>The <code class="literal">"stream-transmitter"</code> property</h3>
8686 <pre class="programlisting"> "stream-transmitter" <a
87 href="../farsight2-libs-0.10/FsStreamTransmitter.html"
87 href="../farsight-libs/FsStreamTransmitter.html"
8888 >FsStreamTransmitter</a>* : Write / Construct Only</pre>
89 <p>
90 The <a
91 href="../farsight2-libs-0.10/FsStreamTransmitter.html"
92 ><span class="type">FsStreamTransmitter</span></a> for this stream.</p>
93 <p>
94 </p>
89 <p>An FsStreamTransmitter used by this stream.</p>
9590 </div>
9691 </div>
9792 </div>
5151 <div class="refsynopsisdiv">
5252 <h2>Synopsis</h2>
5353 <div class="refsect2" lang="en">
54 <a name="id2981863"></a><h3>Element Information</h3>
54 <a name="id2618260"></a><h3>Element Information</h3>
5555 <div class="variablelist"><table border="0">
5656 <col align="left" valign="top">
5757 <tbody>
7474 </div>
7575 <hr>
7676 <div class="refsect2" lang="en">
77 <a name="id2978128"></a><h3>Element Pads</h3>
77 <a name="id2616508"></a><h3>Element Pads</h3>
7878 <div class="variablelist"><table border="0">
7979 <col align="left" valign="top">
8080 <tbody>
2020 </sub>
2121 </chapters>
2222 <functions>
23 <function name="Element Information" link="farsight2-plugins-FsRtpConference.html#id2977047"/>
24 <function name="Element Pads" link="farsight2-plugins-FsRtpConference.html#id2902762"/>
23 <function name="Element Information" link="farsight2-plugins-FsRtpConference.html#id2638171"/>
24 <function name="Element Pads" link="farsight2-plugins-FsRtpConference.html#id2563886"/>
2525 <function name="FsRtpConference" link="farsight2-plugins-FsRtpConference.html#FsRtpConference"/>
2626 <function name="The &quot;sdes-cname&quot; property" link="farsight2-plugins-FsRtpConference.html#FsRtpConference--sdes-cname"/>
2727 <function name="The &quot;sdes-email&quot; property" link="farsight2-plugins-FsRtpConference.html#FsRtpConference--sdes-email"/>
3131 <function name="The &quot;sdes-phone&quot; property" link="farsight2-plugins-FsRtpConference.html#FsRtpConference--sdes-phone"/>
3232 <function name="The &quot;sdes-tool&quot; property" link="farsight2-plugins-FsRtpConference.html#FsRtpConference--sdes-tool"/>
3333 <function name="FsRtpParticipant" link="farsight2-plugins-FsRtpParticipant.html#FsRtpParticipant"/>
34 <function name="Codec profiles" link="farsight2-plugins-FsRtpSession.html#id2986094"/>
34 <function name="Codec profiles" link="farsight2-plugins-FsRtpSession.html#id2647218"/>
3535 <function name="FsRtpSession" link="farsight2-plugins-FsRtpSession.html#FsRtpSession"/>
3636 <function name="The &quot;no-rtcp-timeout&quot; property" link="farsight2-plugins-FsRtpSession.html#FsRtpSession--no-rtcp-timeout"/>
3737 <function name="The &quot;conference&quot; property" link="farsight2-plugins-FsRtpSession.html#FsRtpSession--conference"/>
5656 <function name="The &quot;stream-id&quot; property" link="farsight2-plugins-FsNiceStreamTransmitter.html#FsNiceStreamTransmitter--stream-id"/>
5757 <function name="The &quot;stun-ip&quot; property" link="farsight2-plugins-FsNiceStreamTransmitter.html#FsNiceStreamTransmitter--stun-ip"/>
5858 <function name="The &quot;stun-port&quot; property" link="farsight2-plugins-FsNiceStreamTransmitter.html#FsNiceStreamTransmitter--stun-port"/>
59 <function name="Element Information" link="farsight2-plugins-FsFunnel.html#id2983872"/>
60 <function name="Element Pads" link="farsight2-plugins-FsFunnel.html#id2976843"/>
59 <function name="Element Information" link="farsight2-plugins-FsFunnel.html#id2627432"/>
60 <function name="Element Pads" link="farsight2-plugins-FsFunnel.html#id2627659"/>
6161 <function name="FsFunnel" link="farsight2-plugins-FsFunnel.html#FsFunnel"/>
62 <function name="Element Information" link="farsight2-plugins-GstVideoanyrate.html#id2981863"/>
63 <function name="Element Pads" link="farsight2-plugins-GstVideoanyrate.html#id2978128"/>
62 <function name="Element Information" link="farsight2-plugins-GstVideoanyrate.html#id2618260"/>
63 <function name="Element Pads" link="farsight2-plugins-GstVideoanyrate.html#id2616508"/>
6464 <function name="GstVideoanyrate" link="farsight2-plugins-GstVideoanyrate.html#GstVideoanyrate"/>
6565 </functions>
6666 </book>
2020 </sub>
2121 </chapters>
2222 <functions>
23 <keyword type="" name="Element Information" link="farsight2-plugins-FsRtpConference.html#id2977047"/>
24 <keyword type="" name="Element Pads" link="farsight2-plugins-FsRtpConference.html#id2902762"/>
23 <keyword type="" name="Element Information" link="farsight2-plugins-FsRtpConference.html#id2638171"/>
24 <keyword type="" name="Element Pads" link="farsight2-plugins-FsRtpConference.html#id2563886"/>
2525 <keyword type="struct" name="FsRtpConference" link="farsight2-plugins-FsRtpConference.html#FsRtpConference"/>
2626 <keyword type="property" name="The &quot;sdes-cname&quot; property" link="farsight2-plugins-FsRtpConference.html#FsRtpConference--sdes-cname"/>
2727 <keyword type="property" name="The &quot;sdes-email&quot; property" link="farsight2-plugins-FsRtpConference.html#FsRtpConference--sdes-email"/>
3131 <keyword type="property" name="The &quot;sdes-phone&quot; property" link="farsight2-plugins-FsRtpConference.html#FsRtpConference--sdes-phone"/>
3232 <keyword type="property" name="The &quot;sdes-tool&quot; property" link="farsight2-plugins-FsRtpConference.html#FsRtpConference--sdes-tool"/>
3333 <keyword type="struct" name="FsRtpParticipant" link="farsight2-plugins-FsRtpParticipant.html#FsRtpParticipant"/>
34 <keyword type="" name="Codec profiles" link="farsight2-plugins-FsRtpSession.html#id2986094"/>
34 <keyword type="" name="Codec profiles" link="farsight2-plugins-FsRtpSession.html#id2647218"/>
3535 <keyword type="struct" name="FsRtpSession" link="farsight2-plugins-FsRtpSession.html#FsRtpSession"/>
3636 <keyword type="property" name="The &quot;no-rtcp-timeout&quot; property" link="farsight2-plugins-FsRtpSession.html#FsRtpSession--no-rtcp-timeout"/>
3737 <keyword type="property" name="The &quot;conference&quot; property" link="farsight2-plugins-FsRtpSession.html#FsRtpSession--conference"/>
5656 <keyword type="property" name="The &quot;stream-id&quot; property" link="farsight2-plugins-FsNiceStreamTransmitter.html#FsNiceStreamTransmitter--stream-id"/>
5757 <keyword type="property" name="The &quot;stun-ip&quot; property" link="farsight2-plugins-FsNiceStreamTransmitter.html#FsNiceStreamTransmitter--stun-ip"/>
5858 <keyword type="property" name="The &quot;stun-port&quot; property" link="farsight2-plugins-FsNiceStreamTransmitter.html#FsNiceStreamTransmitter--stun-port"/>
59 <keyword type="" name="Element Information" link="farsight2-plugins-FsFunnel.html#id2983872"/>
60 <keyword type="" name="Element Pads" link="farsight2-plugins-FsFunnel.html#id2976843"/>
59 <keyword type="" name="Element Information" link="farsight2-plugins-FsFunnel.html#id2627432"/>
60 <keyword type="" name="Element Pads" link="farsight2-plugins-FsFunnel.html#id2627659"/>
6161 <keyword type="struct" name="FsFunnel" link="farsight2-plugins-FsFunnel.html#FsFunnel"/>
62 <keyword type="" name="Element Information" link="farsight2-plugins-GstVideoanyrate.html#id2981863"/>
63 <keyword type="" name="Element Pads" link="farsight2-plugins-GstVideoanyrate.html#id2978128"/>
62 <keyword type="" name="Element Information" link="farsight2-plugins-GstVideoanyrate.html#id2618260"/>
63 <keyword type="" name="Element Pads" link="farsight2-plugins-GstVideoanyrate.html#id2616508"/>
6464 <keyword type="struct" name="GstVideoanyrate" link="farsight2-plugins-GstVideoanyrate.html#GstVideoanyrate"/>
6565 </functions>
6666 </book>
1818 <div>
1919 <div><table class="navigation" id="top" width="100%" cellpadding="2" cellspacing="0"><tr><th valign="middle"><p class="title">Farsight2 Plugins Manual</p></th></tr></table></div>
2020 <div><p class="releaseinfo">
21 for version 0.0.10.1.
21 for version 0.0.11.1.
2222 The latest version of this documentation can be found on-line at
2323 <a class="ulink" href="http://farsight.freedesktop.org/apidoc/farsight2-plugins/" target="_top">http://farsight.freedesktop.org/apidoc/farsight2-plugins/</a>.
2424 </p></div>
2424 </tr></table>
2525 <div class="part" lang="en">
2626 <div class="titlepage"><div><div><h1 class="title">
27 <a name="id2936571"></a>Part I. RTP Plugin</h1></div></div></div>
27 <a name="id2597695"></a>Part I. RTP Plugin</h1></div></div></div>
2828 <div class="toc">
2929 <p><b>Table of Contents</b></p>
3030 <dl>
2424 </tr></table>
2525 <div class="part" lang="en">
2626 <div class="titlepage"><div><div><h1 class="title">
27 <a name="id2936588"></a>Part II. Utility elements</h1></div></div></div>
27 <a name="id2597712"></a>Part II. Utility elements</h1></div></div></div>
2828 <div class="toc">
2929 <p><b>Table of Contents</b></p>
3030 <dl>
682682 const GstStructure *s = gst_message_get_structure (message);
683683
684684 /* we change the structure name and add the session ID to it */
685 if (gst_structure_has_name (s, "GstRTPBinSDES") &&
685 if (gst_structure_has_name (s, "application/x-rtp-source-sdes") &&
686686 gst_structure_has_field_typed (s, "session", G_TYPE_UINT) &&
687687 gst_structure_has_field_typed (s, "ssrc", G_TYPE_UINT) &&
688688 gst_structure_has_field_typed (s, "cname", G_TYPE_STRING))
18561856 goto error;
18571857 }
18581858
1859 gst_element_sync_state_with_parent (sink);
1860
18591861 if (!_get_request_pad_and_link (self->priv->transmitter_rtp_tee,
18601862 "rtp tee", sink, "sink1", GST_PAD_SINK, error))
18611863 goto error;
18631865 if (!_get_request_pad_and_link (self->priv->transmitter_rtcp_tee,
18641866 "rtcp tee", sink, "sink2", GST_PAD_SINK, error))
18651867 goto error;
1866
1867 gst_element_sync_state_with_parent (sink);
18681868
18691869 gst_object_unref (sink);
18701870
32733273 FsCodec *codec_without_config,
32743274 gboolean error_emit)
32753275 {
3276 FS_RTP_SESSION_LOCK (self);
3277
32763278 if (self->priv->send_codecbin)
32773279 {
3278 gst_element_set_locked_state (self->priv->send_codecbin, TRUE);
3279 if (gst_element_set_state (self->priv->send_codecbin, GST_STATE_NULL) !=
3280 GstElement *codecbin = self->priv->send_codecbin;
3281 self->priv->send_codecbin = NULL;
3282
3283 FS_RTP_SESSION_UNLOCK (self);
3284
3285 gst_element_set_locked_state (codecbin, TRUE);
3286 if (gst_element_set_state (codecbin, GST_STATE_NULL) !=
32803287 GST_STATE_CHANGE_SUCCESS)
32813288 {
3282 gst_element_set_locked_state (self->priv->send_codecbin, FALSE);
3289 gst_element_set_locked_state (codecbin, FALSE);
32833290 GST_ERROR ("Could not stop the codec bin, setting it to NULL did not"
32843291 " succeed");
32853292 if (error_emit)
32893296 return FALSE;
32903297 }
32913298
3292 gst_bin_remove (GST_BIN (self->priv->conference),
3293 self->priv->send_codecbin);
3294 self->priv->send_codecbin = NULL;
3295 }
3296
3297 FS_RTP_SESSION_LOCK (self);
3299 gst_bin_remove (GST_BIN (self->priv->conference), codecbin);
3300 FS_RTP_SESSION_LOCK (self);
3301 }
3302
32983303 fs_codec_destroy (self->priv->current_send_codec);
32993304 self->priv->current_send_codec = NULL;
33003305 FS_RTP_SESSION_UNLOCK (self);
12761276 static void
12771277 multicast_cname_init(void)
12781278 {
1279 associate_cnames_init ();
12791280 multicast_init();
1280 associate_cnames_init ();
1281 }
1282
1283
1284 GST_START_TEST (test_rtpconference_multicast_two_way_cname_assoc)
1281 }
1282
1283
1284 GST_START_TEST (test_rtpconference_multicast_three_way_cname_assoc)
12851285 {
12861286 gchar *mcast_addr = find_multicast_capable_address ();
12871287
13281328 }
13291329
13301330
1331 GST_START_TEST (test_rtpconference_multicast_two_way_ssrc_assoc)
1331 GST_START_TEST (test_rtpconference_multicast_three_way_ssrc_assoc)
13321332 {
13331333 gchar *mcast_addr = find_multicast_capable_address ();
13341334
14111411
14121412 tc_chain = tcase_create ("fsrtpconference_three_way_cname_assoc");
14131413 tcase_add_test (tc_chain, test_rtpconference_three_way_cname_assoc);
1414 suite_add_tcase (s, tc_chain);
1414 //suite_add_tcase (s, tc_chain);
14151415
14161416 tc_chain = tcase_create ("fsrtpconference_simple_profile");
14171417 tcase_add_test (tc_chain, test_rtpconference_simple_profile);
14251425 tcase_add_test (tc_chain, test_rtpconference_dispose);
14261426 suite_add_tcase (s, tc_chain);
14271427
1428 tc_chain = tcase_create ("fsrtpconference_multicast_two_way_cname_assoc");
1428 tc_chain = tcase_create ("fsrtpconference_multicast_three_way_cname_assoc");
14291429 min_timeout (tc_chain, 30);
1430 tcase_add_test (tc_chain, test_rtpconference_multicast_two_way_cname_assoc);
1430 tcase_add_test (tc_chain, test_rtpconference_multicast_three_way_cname_assoc);
1431 //suite_add_tcase (s, tc_chain);
1432
1433 tc_chain = tcase_create ("fsrtpconference_multicast_three_way_ssrc_assoc");
1434 tcase_add_test (tc_chain, test_rtpconference_multicast_three_way_ssrc_assoc);
14311435 suite_add_tcase (s, tc_chain);
14321436
1433 tc_chain = tcase_create ("fsrtpconference_multicast_two_way_ssrc_assoc");
1434 tcase_add_test (tc_chain, test_rtpconference_multicast_two_way_ssrc_assoc);
1435 suite_add_tcase (s, tc_chain);
1436
14371437 return s;
14381438 }
14391439
392392 GST_END_TEST;
393393
394394
395 static void
396 change_ssrc_handler (GstPad *pad, GstBuffer *buf, gpointer user_data)
397 {
398 guint sess_ssrc;
399 guint buf_ssrc;
400 static gboolean checked = FALSE;
401
402 ts_fail_unless (gst_rtp_buffer_validate (buf));
403
404 buf_ssrc = gst_rtp_buffer_get_ssrc (buf);
405
406 g_object_get (dat->session, "ssrc", &sess_ssrc, NULL);
407
408 if (buf_ssrc == 12345)
409 {
410 /* Step two, set it to 6789 */
411 ts_fail_unless (buf_ssrc == sess_ssrc || sess_ssrc == 6789);
412
413 g_object_set (dat->session, "ssrc", 6789, NULL);
414 }
415 else if (buf_ssrc == 6789)
416 {
417 /* Step three, quit */
418 ts_fail_unless (buf_ssrc == sess_ssrc);
419
420 g_main_loop_quit (loop);
421 }
422 else
423 {
424 ts_fail_unless (checked || buf_ssrc == sess_ssrc);
425 checked = TRUE;
426
427 /* Step one, set the ssrc to 12345 */
428 if (sess_ssrc != 12345)
429 g_object_set (dat->session, "ssrc", 12345, NULL);
430 }
431 }
432
433 GST_START_TEST (test_change_ssrc)
434 {
435 one_way (G_CALLBACK (change_ssrc_handler), NULL);
436 }
437 GST_END_TEST;
438
439
395440 static Suite *
396441 fsrtpsendcodecs_suite (void)
397442 {
412457 tcase_add_test (tc_chain, test_senddtmf_auto);
413458 suite_add_tcase (s, tc_chain);
414459
460 tc_chain = tcase_create ("fsrtpchangessrc");
461 tcase_add_test (tc_chain, test_change_ssrc);
462 suite_add_tcase (s, tc_chain);
463
415464 return s;
416465 }
417466
196196 buffer_count[stream][component_id-1]++;
197197
198198
199 g_debug ("Buffer %d stream: %u component: %d size: %u",
200 buffer_count[stream][component_id-1], stream,
201 component_id, GST_BUFFER_SIZE (buffer));
202
203 g_debug ("has %d %d %d %d",
204 buffer_count[0][0], buffer_count[0][1],
205 buffer_count[1][0], buffer_count[1][1]);
199 if (buffer_count[stream][component_id-1] % 10 == 0)
200 {
201 g_debug ("Buffer %d stream: %u component: %d size: %u",
202 buffer_count[stream][component_id-1], stream,
203 component_id, GST_BUFFER_SIZE (buffer));
204 g_debug ("Received %d %d %d %d",
205 buffer_count[0][0], buffer_count[0][1],
206 buffer_count[1][0], buffer_count[1][1]);
207 }
206208
207209 ts_fail_if (buffer_count[stream][component_id-1] > 20,
208210 "Too many buffers %d > 20 for component",
771771 ns->nicesinks[component_id]))
772772 GST_ERROR ("Could not remove nicesink element from transmitter"
773773 " sink");
774 gst_element_set_locked_state (ns->nicesinks[component_id], FALSE);
774775 }
775776
776777