comparison libpurple/media.h @ 26430:d7393eebf1f4

merge of '85389d6ca8dc05827fa7e57e17906b2f73e2c676' and 'd1fcdfed72472e989b6233008b7293bba744532c'
author Mike Ruprecht <maiku@soc.pidgin.im>
date Mon, 23 Mar 2009 01:43:25 +0000
parents cd41e1655a3e c0499eb4dd4d
children 1ae3af12095a
comparison
equal deleted inserted replaced
26429:1c73d2ef9ddc 26430:d7393eebf1f4
219 PurpleMediaCandidateType type, 219 PurpleMediaCandidateType type,
220 PurpleMediaNetworkProtocol proto, 220 PurpleMediaNetworkProtocol proto,
221 const gchar *ip, guint port); 221 const gchar *ip, guint port);
222 222
223 /** 223 /**
224 * Copies a PurpleMediaCandidate instance.
225 *
226 * @param candidate The candidate to copy
227 *
228 * @return The newly created PurpleMediaCandidate copy.
229 */
230 PurpleMediaCandidate *purple_media_candidate_copy(
231 PurpleMediaCandidate *candidate);
232
233 /**
234 * Copies a GList of PurpleMediaCandidate and its contents. 224 * Copies a GList of PurpleMediaCandidate and its contents.
235 * 225 *
236 * @param candidates The list of candidates to be copied. 226 * @param candidates The list of candidates to be copied.
237 * 227 *
238 * @return The copy of the GList. 228 * @return The copy of the GList.
263 * 253 *
264 * @return The newly created PurpleMediaCodec. 254 * @return The newly created PurpleMediaCodec.
265 */ 255 */
266 PurpleMediaCodec *purple_media_codec_new(int id, const char *encoding_name, 256 PurpleMediaCodec *purple_media_codec_new(int id, const char *encoding_name,
267 PurpleMediaSessionType media_type, guint clock_rate); 257 PurpleMediaSessionType media_type, guint clock_rate);
268
269 /**
270 * Copies a PurpleMediaCodec instance.
271 *
272 * @param codec The codec to copy
273 *
274 * @return The newly created PurpleMediaCodec copy.
275 */
276 PurpleMediaCodec *purple_media_codec_copy(PurpleMediaCodec *codec);
277 258
278 /** 259 /**
279 * Creates a string representation of the codec. 260 * Creates a string representation of the codec.
280 * 261 *
281 * @param codec The codec to create the string of. 262 * @param codec The codec to create the string of.