summaryrefslogtreecommitdiff
path: root/src/call-stream.c
Commit message (Collapse)AuthorAgeFilesLines
* Use _unref instead of _free _destroy when possible.unrefXavier Claessens2011-11-161-1/+1
| | | | | | | | | | | Replace g_(ptr_)array_free (foo, TRUE) and g_hash_table_destroy with respectively g_(ptr_)array_unref (foo) and g_hash_table_unref. I used this command to generate this patch: for f in `find -name "*.c"`; do sed -i $f -re 's/g_ptr_array_free \(([^ ,]+), TRUE\)/g_ptr_array_unref \(\1\)/'; done See Danielle's blog for explanation of possible bug _free can do: http://blogs.gnome.org/danni/2011/11/16/mistakes-with-g_value_set_boxed/
* Call: handle google relay reply after channel diesWill Thompson2011-09-201-3/+11
| | | | | | | Previously, if the Google relay server replied to our HTTP request after the Call channel had already gone away, we'd crash. Fixes: <http://bugs.freedesktop.org/show_bug.cgi?id=39768>
* call-stream: Implement LocalCredentials propertyDavid Laban2011-02-021-20/+0
| | | | | | | | * Update Yell to provide the property. * Stop overriding properties mixin and extra_interfaces etc. * Add test. Note that I use GetAll so that all new properties will at least be retrieved by the tests (so if someone accidentally misses a break statement and causes a segfault (for example) it will be caught).
* JingleCandidate store int rather than double.David Laban2011-02-011-1/+1
| | | | Change internal representation to use ints rather than floats.
* Allow user to call SetCredentials with default ICE credentials.David Laban2011-02-011-3/+19
| | | | | This currently sets the credentials in each candidate individually. I will try to make it smarter when I have better test coverage.
* Use Update Yell apis and TpyBaseCallChannelSjoerd Simons2011-01-161-9/+6
|
* Set the stun-servers both initially and on changesSjoerd Simons2011-01-151-3/+8
|
* Add a BaseMediaCallStream level to the hierarchy.David Laban2011-01-151-211/+45
|
* Push call_stream_iface_init into base-call-streamDavid Laban2011-01-151-34/+12
| | | | and implement virtual methods instead
* extract call-stream-endpoint into yellDavid Laban2011-01-151-8/+83
|
* Use base-classes from telepathy-yellSjoerd Simons2011-01-121-14/+15
|
* Post-rebase porting to yellSjoerd Simons2011-01-111-2/+2
|
* use telepathy-yell generated codeJonny Lamb2011-01-111-34/+37
| | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
* Implement Content.Interfaces and Stream.InterfacesWill Thompson2011-01-111-0/+8
|
* Extract a base class from GabbleCallStreamWill Thompson2011-01-101-227/+36
|
* stream: implement LocalSendingState propertyJonny Lamb2010-10-191-0/+12
| | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
* stream: emit {STUNServers,RelayInfo}Changed as appropriateJonny Lamb2010-10-191-28/+53
| | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
* stream: RetrievedServerInfo is now HasServerInfoJonny Lamb2010-10-191-8/+16
| | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
* stream: implement CanRequestReceiving propertyJonny Lamb2010-10-191-0/+14
| | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
* stream: implement Interfaces propertyJonny Lamb2010-10-191-0/+18
| | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
* stream: rename Senders to RemoteMembers and omit the self handleJonny Lamb2010-10-191-67/+42
| | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
* gabble_call_stream_dispose: use tp_clear_object, tp_clear_pointerSimon McVittie2010-09-211-5/+2
|
* gabble_call_stream_get_property: eliminate a redundant array copySimon McVittie2010-09-211-3/+2
| | | | | | Previously we filled an array with borrowed strings, deep-copied it into the GValue, and freed the original array; now, we fill the array with owned strings and let the GValue take ownership.
* gabble_call_stream_get_property: don't leak contents of STUN_SERVERSSimon McVittie2010-09-211-2/+1
| | | | This had the same bug as LOCAL_CANDIDATES.
* gabble_call_stream_get_property: don't leak LOCAL_CANDIDATESSimon McVittie2010-09-211-2/+1
| | | | | | | | | Also, omit a redundant deep-copy. Previously, the array was deep-copied and then unref'd. The copy and its contents would be freed by the GValue, but the contents of the original array were leaked. Now, we hand over the array to the GValue and everything is freed.
* GabbleCallStreamEndpoint: have and use a TpDBusDaemonSimon McVittie2010-09-211-1/+1
|
* FT, Media, Calls: use the Connection's TpDBusDaemonSimon McVittie2010-09-211-3/+3
|
* Don't leak a hash table in Stream.SetSendingWill Thompson2010-08-251-0/+1
| | | | Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
* fd.o #27966: replace gabble_value_array_build with tp_value_array_buildSimon McVittie2010-06-221-1/+1
|
* remove spurious newline from debug messagesSjoerd Simons2010-04-051-1/+1
|
* Simplify determining our local sending state a lotSjoerd Simons2010-04-051-21/+3
|
* Add some extra debug and fix identationSjoerd Simons2010-02-181-2/+10
|
* Add gabble_call_stream_get_jingle_content.Mike Ruprecht2010-02-181-0/+6
|
* If the content is being removed, its streams shouldn't be sending.Mike Ruprecht2010-02-181-1/+6
|
* Use a function to get the local sending state.Mike Ruprecht2010-01-201-0/+17
|
* Simplify an if statement.Mike Ruprecht2010-01-201-2/+1
|
* Set sending state to sending if the local side created it.Mike Ruprecht2010-01-201-1/+3
| | | | | When a stream is created by the local side, it should initially be in the sending state.
* Fix SetSending to correctly set senders and update Jingle.Mike Ruprecht2010-01-201-8/+65
|
* Free GabbleCallStream's endpoints when disposing.Mike Ruprecht2010-01-051-0/+9
|
* Don't unref an object that isn't owned.Mike Ruprecht2010-01-051-4/+0
|
* misc tweaksSjoerd Simons2009-12-241-2/+1
|
* SendersChanged should only have updates not the full setSjoerd Simons2009-12-241-7/+19
|
* Implement SetSending and ensure the Senders property stays in syncSjoerd Simons2009-12-241-2/+35
|
* No need to get the GabbleConnection from the JingleContent anymoreSjoerd Simons2009-12-241-9/+1
|
* Update the sender states whenever the content state changesSjoerd Simons2009-12-241-0/+12
|
* Slightly simplify determining the transport typeSjoerd Simons2009-12-241-3/+3
|
* Basic implementation of the Senders propertySjoerd Simons2009-12-241-0/+94
|
* Pass the GabbleConnection on to CallStream objectsSjoerd Simons2009-12-241-0/+20
|
* Use G_PARAM_STATIC_STRINGS where applicableSjoerd Simons2009-12-241-8/+2
|
* Fix various coding style and types, also remove some dead codeSjoerd Simons2009-12-241-2/+0
|