Logo Search packages:      
Sourcecode: pidgin version File versions  Download package

media.c File Reference

Detailed Description

Media API

Account API


Pidgin is the legal property of its developers, whose names are too numerous to list here. Please refer to the COPYRIGHT file distributed with this source distribution.

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA

Definition in file media.c.

#include "internal.h"
#include "account.h"
#include "media.h"
#include "mediamanager.h"
#include "network.h"
#include "debug.h"

Go to the source code of this file.


struct  _PurpleMediaCandidate
struct  _PurpleMediaCandidateClass
struct  _PurpleMediaCodec
struct  _PurpleMediaCodecClass
struct  _PurpleMediaPrivate


gboolean purple_media_accepted (PurpleMedia *media, const gchar *sess_id, const gchar *participant)
void purple_media_add_remote_candidates (PurpleMedia *media, const gchar *sess_id, const gchar *participant, GList *remote_candidates)
gboolean purple_media_add_stream (PurpleMedia *media, const gchar *sess_id, const gchar *who, PurpleMediaSessionType type, gboolean initiator, const gchar *transmitter, guint num_params, GParameter *params)
static PurpleMediaCandidatepurple_media_candidate_copy (PurpleMediaCandidate *candidate)
gchar * purple_media_candidate_get_base_ip (PurpleMediaCandidate *candidate)
guint16 purple_media_candidate_get_base_port (PurpleMediaCandidate *candidate)
PurpleMediaCandidateType purple_media_candidate_get_candidate_type (PurpleMediaCandidate *candidate)
guint purple_media_candidate_get_component_id (PurpleMediaCandidate *candidate)
gchar * purple_media_candidate_get_foundation (PurpleMediaCandidate *candidate)
gchar * purple_media_candidate_get_ip (PurpleMediaCandidate *candidate)
gchar * purple_media_candidate_get_password (PurpleMediaCandidate *candidate)
guint16 purple_media_candidate_get_port (PurpleMediaCandidate *candidate)
guint32 purple_media_candidate_get_priority (PurpleMediaCandidate *candidate)
PurpleMediaNetworkProtocol purple_media_candidate_get_protocol (PurpleMediaCandidate *candidate)
guint purple_media_candidate_get_ttl (PurpleMediaCandidate *candidate)
GType purple_media_candidate_get_type ()
gchar * purple_media_candidate_get_username (PurpleMediaCandidate *candidate)
GList * purple_media_candidate_list_copy (GList *candidates)
void purple_media_candidate_list_free (GList *candidates)
PurpleMediaCandidatepurple_media_candidate_new (const gchar *foundation, guint component_id, PurpleMediaCandidateType type, PurpleMediaNetworkProtocol proto, const gchar *ip, guint port)
GType purple_media_candidate_type_get_type ()
gboolean purple_media_candidates_prepared (PurpleMedia *media, const gchar *session_id, const gchar *participant)
void purple_media_codec_add_optional_parameter (PurpleMediaCodec *codec, const gchar *name, const gchar *value)
static PurpleMediaCodecpurple_media_codec_copy (PurpleMediaCodec *codec)
guint purple_media_codec_get_channels (PurpleMediaCodec *codec)
guint purple_media_codec_get_clock_rate (PurpleMediaCodec *codec)
gchar * purple_media_codec_get_encoding_name (PurpleMediaCodec *codec)
guint purple_media_codec_get_id (PurpleMediaCodec *codec)
PurpleKeyValuePairpurple_media_codec_get_optional_parameter (PurpleMediaCodec *codec, const gchar *name, const gchar *value)
GList * purple_media_codec_get_optional_parameters (PurpleMediaCodec *codec)
GType purple_media_codec_get_type ()
GList * purple_media_codec_list_copy (GList *codecs)
void purple_media_codec_list_free (GList *codecs)
PurpleMediaCodecpurple_media_codec_new (int id, const char *encoding_name, PurpleMediaSessionType media_type, guint clock_rate)
void purple_media_codec_remove_optional_parameter (PurpleMediaCodec *codec, PurpleKeyValuePair *param)
gchar * purple_media_codec_to_string (const PurpleMediaCodec *codec)
gboolean purple_media_codecs_ready (PurpleMedia *media, const gchar *sess_id)
void purple_media_end (PurpleMedia *media, const gchar *session_id, const gchar *participant)
void purple_media_error (PurpleMedia *media, const gchar *error,...)
PurpleAccountpurple_media_get_account (PurpleMedia *media)
GList * purple_media_get_codecs (PurpleMedia *media, const gchar *sess_id)
GList * purple_media_get_local_candidates (PurpleMedia *media, const gchar *sess_id, const gchar *participant)
PurpleMediaManagerpurple_media_get_manager (PurpleMedia *media)
gpointer purple_media_get_prpl_data (PurpleMedia *media)
GList * purple_media_get_session_ids (PurpleMedia *media)
PurpleMediaSessionType purple_media_get_session_type (PurpleMedia *media, const gchar *sess_id)
GType purple_media_get_type ()
GType purple_media_info_type_get_type ()
gboolean purple_media_is_initiator (PurpleMedia *media, const gchar *sess_id, const gchar *participant)
GType purple_media_network_protocol_get_type ()
void purple_media_remove_output_windows (PurpleMedia *media)
GType purple_media_session_type_get_type ()
void purple_media_set_input_volume (PurpleMedia *media, const gchar *session_id, double level)
void purple_media_set_output_volume (PurpleMedia *media, const gchar *session_id, const gchar *participant, double level)
gulong purple_media_set_output_window (PurpleMedia *media, const gchar *session_id, const gchar *participant, gulong window_id)
void purple_media_set_prpl_data (PurpleMedia *media, gpointer prpl_data)
gboolean purple_media_set_remote_codecs (PurpleMedia *media, const gchar *sess_id, const gchar *participant, GList *codecs)
gboolean purple_media_set_send_codec (PurpleMedia *media, const gchar *sess_id, PurpleMediaCodec *codec)
GType purple_media_state_changed_get_type ()
void purple_media_stream_info (PurpleMedia *media, PurpleMediaInfoType type, const gchar *session_id, const gchar *participant, gboolean local)

Generated by  Doxygen 1.6.0   Back to index