The canberra gtk context is stored in thread-local storage, so we need to
ensure that we start and stop the sounds from the same thread.
EmpathyTpCall *call;
gboolean can_send_video;
+ empathy_sound_stop (EMPATHY_SOUND_PHONE_OUTGOING);
+
can_send_video = priv->video_input != NULL && priv->contact != NULL &&
empathy_contact_can_voip_video (priv->contact);
g_timer_start (priv->timer);
priv->timer_id = g_idle_add (empathy_call_window_connected, self);
priv->call_state = CONNECTED;
- empathy_sound_stop (EMPATHY_SOUND_PHONE_OUTGOING);
}
switch (media_type)