Commit Graph

25 Commits (10b4291b546bce158afb526741b0230b15ac8adf)

Author SHA1 Message Date
David Baker 84372cef4a Time out calls from both ends properly. 2014-09-16 15:26:22 +01:00
David Baker dd2b933a0d Use event age to recognise which calls are current and which aren't and hence support answering calls that were placed before we loaded the page. 2014-09-16 14:47:10 +01:00
David Baker 842898df15 Send multiple candidates at once instead of all individually. Changes spec to include multiple candidates in a candidate(s) message. 2014-09-12 18:19:19 +01:00
David Baker cc2cee4af6 Retry sending events that fail to send. 2014-09-12 16:32:22 +01:00
David Baker 8b28f7d14e Always pick the incoming call if we've not yet sent out our invite, otherwise the remorte party will see their call get rejected and our call won't come in until our user clicks allow. 2014-09-12 14:06:35 +01:00
David Baker a81ec21762 Remove the local AV stream from ourselves when handing it off to a new call or we'll close it when we hang up. 2014-09-12 11:51:57 +01:00
David Baker a059ca6915 few fixes for errors in glare conditions. still seem to end up with no audio if both calls are placed at the same time. 2014-09-11 19:16:57 +01:00
David Baker 1e05e30472 Put back the line that adds the stream to the invite, otherwise caller->callee audio won't work... 2014-09-11 18:59:22 +01:00
David Baker fb082cf50f start towards glare support (currently not much better but no worse than before) including fixing a lot of self/var self/this fails that caused chaos when we started to have more than one call in play. 2014-09-11 15:24:18 +01:00
David Baker 55fe0d8adc Less buggy rejection of calls when busy 2014-09-10 11:12:02 +01:00
David Baker f90ce04a83 Hangup call if user denies media access. 2014-09-09 18:21:03 +01:00
David Baker ccfb42e4ff Don't try setting up the call if the user has canceled it before allowing permission. 2014-09-09 17:58:26 +01:00
David Baker 25e96f82db Don't break if you press the hangup button before allowing media permission. 2014-09-09 17:52:01 +01:00
David Baker 253c327252 Don't play an engaged tone if we hang up locally. 2014-09-09 17:38:40 +01:00
David Baker 472b4fe48c make calls work in Firefox 2014-09-09 14:54:06 +01:00
David Baker 972f664b6b add sounds to the calling interface 2014-09-08 16:10:36 +01:00
David Baker c03c255304 Better call bar (visually: still lacks ring[back] tones). 2014-09-06 00:14:02 +01:00
Matthew Hodgson 8a7c1d6a00 fix the copyright holder from matrix.org to OpenMarket Ltd, as matrix.org hasn't been incorporated in time for launch. 2014-09-03 17:31:57 +01:00
David Baker 490f142d73 Give basic feedback on the state of VoIP calls in the UI. 2014-08-29 18:01:01 +01:00
David Baker 0ef54caa28 better support for call hangups 2014-08-29 15:18:57 +01:00
David Baker cc413be446 Don't break if the call ends before it connects 2014-08-29 13:28:39 +01:00
David Baker 5308e3026a Change call signalling messages to be their own types of room events rather than room messages with different msgtypes: room messages should be things that the client can display as a unit message to the user. 2014-08-29 13:23:01 +01:00
David Baker 41d02ab674 More basic functionality for voip calls (like hanging up) 2014-08-29 11:29:36 +01:00
David Baker ca7426eee0 First basic working VoIP call support 2014-08-28 19:03:34 +01:00
David Baker 7d34a1c108 WIP voip support on web client 2014-08-27 18:57:54 +01:00