Mercurial > pidgin.yaz
comparison libpurple/media.h @ 26052:01df0829f054
Move sink from PurpleMediaSession to PurpleMediaStream.
author | Mike Ruprecht <maiku@soc.pidgin.im> |
---|---|
date | Sat, 13 Dec 2008 09:11:08 +0000 |
parents | 1ce297c8923b |
children | 0ad1b8e950d7 |
comparison
equal
deleted
inserted
replaced
26051:d03cfec8bf7f | 26052:01df0829f054 |
---|---|
171 * @param src The source to set the session source to. | 171 * @param src The source to set the session source to. |
172 */ | 172 */ |
173 void purple_media_set_src(PurpleMedia *media, const gchar *sess_id, GstElement *src); | 173 void purple_media_set_src(PurpleMedia *media, const gchar *sess_id, GstElement *src); |
174 | 174 |
175 /** | 175 /** |
176 * Sets the sink on a session. | 176 * Sets the sink on a stream. |
177 * | 177 * |
178 * @param media The media object the session is in. | 178 * @param media The media object the session is in. |
179 * @param sess_id The session id of the session to set the sink on. | 179 * @param sess_id The session id the stream belongs to. |
180 * @param sess_id The participant the stream is associated with. | |
180 * @param sink The source to set the session sink to. | 181 * @param sink The source to set the session sink to. |
181 */ | 182 */ |
182 void purple_media_set_sink(PurpleMedia *media, const gchar *sess_id, GstElement *sink); | 183 void purple_media_set_sink(PurpleMedia *media, const gchar *sess_id, |
184 const gchar *participant, GstElement *sink); | |
183 | 185 |
184 /** | 186 /** |
185 * Gets the source from a session | 187 * Gets the source from a session |
186 * | 188 * |
187 * @param media The media object the session is in. | 189 * @param media The media object the session is in. |
190 * @return The source retrieved. | 192 * @return The source retrieved. |
191 */ | 193 */ |
192 GstElement *purple_media_get_src(PurpleMedia *media, const gchar *sess_id); | 194 GstElement *purple_media_get_src(PurpleMedia *media, const gchar *sess_id); |
193 | 195 |
194 /** | 196 /** |
195 * Gets the sink from a session | 197 * Gets the sink from a stream |
196 * | 198 * |
197 * @param media The media object the session is in. | 199 * @param media The media object the session is in. |
198 * @param sess_id The session id of the session to get the source from. | 200 * @param sess_id The session id the stream belongs to. |
201 * @param participant The participant the stream is associated with. | |
199 * | 202 * |
200 * @return The sink retrieved. | 203 * @return The sink retrieved. |
201 */ | 204 */ |
202 GstElement *purple_media_get_sink(PurpleMedia *media, const gchar *sess_id); | 205 GstElement *purple_media_get_sink(PurpleMedia *media, const gchar *sess_id, const gchar *participant); |
203 | 206 |
204 /** | 207 /** |
205 * Gets the pipeline from the media session. | 208 * Gets the pipeline from the media session. |
206 * | 209 * |
207 * @param media The media session to retrieve the pipeline from. | 210 * @param media The media session to retrieve the pipeline from. |