libpurple/media/backend-iface.c

changeset 36319
5ebbb1ee7028
parent 36314
c6262630ed7c
child 36346
f4c32aca3f1f
equal deleted inserted replaced
36315:04122d521556 36319:5ebbb1ee7028
233 static const gchar *NULL_ARRAY[] = { NULL }; 233 static const gchar *NULL_ARRAY[] = { NULL };
234 234
235 g_return_val_if_fail(PURPLE_IS_MEDIA_BACKEND(self), NULL_ARRAY); 235 g_return_val_if_fail(PURPLE_IS_MEDIA_BACKEND(self), NULL_ARRAY);
236 return PURPLE_MEDIA_BACKEND_GET_INTERFACE(self)->get_available_params(); 236 return PURPLE_MEDIA_BACKEND_GET_INTERFACE(self)->get_available_params();
237 } 237 }
238
239 gboolean
240 purple_media_backend_set_send_rtcp_mux(PurpleMediaBackend *self,
241 const gchar *sess_id, const gchar *participant, gboolean send_rtcp_mux)
242 {
243 PurpleMediaBackendIface *backend_iface;
244
245 g_return_val_if_fail(PURPLE_IS_MEDIA_BACKEND(self), FALSE);
246 backend_iface = PURPLE_MEDIA_BACKEND_GET_INTERFACE(self);
247 g_return_val_if_fail(backend_iface->set_send_rtcp_mux, FALSE);
248 return backend_iface->set_send_rtcp_mux(self,
249 sess_id, participant, send_rtcp_mux);
250 }

mercurial