Commit graph

843 commits

Author SHA1 Message Date
Audric Ackermann a4daabfa75
add a way to choose the audioouput/mute a webrtc call 2021-11-22 15:04:43 +11:00
Audric Ackermann 53289298a9
auto select the first audio input on connection success webrtc 2021-11-22 14:39:38 +11:00
Audric Ackermann d5f6180ae6
create offer and answer ourselves and do not use the negotiation needed
event.

this event is causing us to loop in negotiation needed when each side
try to create one, gets the answer and so on...
2021-11-22 14:36:02 +11:00
Audric Ackermann 1dff310820
no video track by default and will be turn ON if asked to 2021-11-19 13:27:16 +11:00
Audric Ackermann 6f3625f99c
move the state of calling to its own slice 2021-11-19 10:49:05 +11:00
Audric Ackermann 2f49228317
update turn servers 2021-11-19 09:27:52 +11:00
Audric Ackermann c1471426ac
dismiss a call when answered from another of our devices 2021-11-17 16:01:33 +11:00
Audric Ackermann 485a5b257d
fix ringing sound for in release builds 2021-11-16 10:53:43 +11:00
Audric Ackermann 67665dde56
handle network switching with webrtc
dirty hack from
https://bugs.chromium.org/p/chromium/issues/detail?id=982793
2021-11-15 16:53:00 +11:00
Audric Ackermann 1203f1dc48
remove none state on callState. instead set it to undefined 2021-11-15 14:48:03 +11:00
Audric Ackermann b8d5a1c166
disable audio output switching as this is broken for now 2021-11-15 14:46:22 +11:00
Audric Ackermann 6625b7c7b6
calls fix cross platforms issue with uuid 2021-11-12 16:05:22 +11:00
Audric Ackermann 8c9832f118
add a toggle audio output button 2021-11-12 11:45:17 +11:00
Audric Ackermann dafb536f58
disable negotiationevent on recipient side
probably cause issues on network changes
2021-11-10 10:42:38 +11:00
Audric Ackermann 29c187c6a0
add a notification on incoming call + an audio playing 2021-11-09 17:25:25 +11:00
Audric Ackermann 25c7a2febd
data extraction notification on a line rather than a column 2021-11-09 15:45:18 +11:00
Audric Ackermann f91ed7729b
cleanup SessionCompositionBox 2021-11-08 11:03:08 +11:00
Audric Ackermann 57449857f6
reject call after 1 minute showing the dialog 2021-11-04 16:16:27 +11:00
Audric Ackermann 4700a0c832
allow to hangup even if current call should already be closed 2021-11-04 15:17:28 +11:00
Audric Ackermann dd25d9cb7f
fix flickering of video stream on mute/unmute 2021-11-04 13:41:11 +11:00
Audric Ackermann 8468598b3a
send a pre offer to the PNServer for video calls 2021-11-04 11:49:34 +11:00
Audric Ackermann 8618cf75e9
send and handle uuid for multi device calls 2021-11-04 11:36:39 +11:00
Audric Ackermann 73d36c9769
send hangup event on datachannel to close video stream quicker
on the recipient side too
2021-11-03 16:16:40 +11:00
Audric Ackermann 25910be0fd
do not display the reveal seed banner if user just used it 2021-11-03 09:38:12 +11:00
Audric Ackermann 390af96514
WIP 2021-10-29 16:24:22 +11:00
Audric Ackermann a0b33fbbbb
add hook to listen for video call events 2021-10-29 14:15:02 +11:00
Audric Ackermann 6a1f575c46
create a hook for listening for video call events
+ wip fullscreen video calls
2021-10-28 16:10:28 +11:00
Audric Ackermann d50d7eb803
our video off => show our avatar 2021-10-28 12:03:11 +11:00
Audric Ackermann dd281de903
cleanup feature flags 2021-10-27 13:57:14 +11:00
Audric Ackermann ce16066313
do not try to do an unsend request on a group swarm 2021-10-27 11:44:37 +11:00
Audric Ackermann bb26680b75
unsend for me only on a closed group only deletes locally
also do not await request to PN server
2021-10-26 16:59:46 +11:00
Audric Ackermann 5d9565a559
fix menu action for unsending messages 2021-10-26 16:08:04 +11:00
Audric Ackermann 0f2fcbb6e3
delete for opengroups is working 2021-10-25 17:04:51 +11:00
Audric Ackermann 0ae23875b7
finish cleaning up Settings page 2021-10-22 10:44:03 +11:00
Audric Ackermann a596531c57
cleanup SessionSettings by making them less a IdoEverything 2021-10-21 17:08:38 +11:00
Audric Ackermann 99b139f5c4
split settings folder and start adding the settings for video call 2021-10-21 13:18:50 +11:00
Audric Ackermann 760b99587a
make sure to poll quicker if we get >95 messages on one polling 2021-10-19 17:27:18 +11:00
Audric Ackermann ae8688bf2a
cleanup UI for missed call messages in msg list 2021-10-19 16:11:19 +11:00
Audric Ackermann 121f8927ed
exclude same /24 subnet from onion path building candidates 2021-10-18 16:43:40 +11:00
Audric Ackermann 8f3b6d9ab2
add wip of call missed notification 2021-10-18 15:38:49 +11:00
Audric Ackermann 678a5bcb3b
center avatar in draggable video window and handle mute video events 2021-10-18 14:45:40 +11:00
Audric Ackermann ecceaeaa8f
got datachannel working 2021-10-18 11:52:21 +11:00
Audric Ackermann 0bfa41c7b8
switch to our turn servers 2021-10-15 16:13:16 +11:00
Audric Ackermann 30a234158f
lint 2021-10-14 14:38:07 +11:00
Audric Ackermann 87e7cc5ebf
Merge remote-tracking branch 'upstream/clearnet' into webrtc-calls 2021-10-14 14:22:37 +11:00
Audric Ackermann cade0ffeb6
make sure audio locally is muted so we do not hear ourselves 2021-10-14 14:17:47 +11:00
Audric Ackermann ce79ce1f8b
add buttons with popover to choose call src device 2021-10-14 14:12:15 +11:00
Audric Ackermann a629985a4f
fix toggling input source and off in video calls 2021-10-14 14:12:14 +11:00
Audric Ackermann fbd51c2974
add buttons to display list of inputs + toast on empty 2021-10-14 14:12:08 +11:00
Audric Ackermann b85425ff83
make a draggable or in conversation call container 2021-10-05 16:44:42 +11:00