Commit graph

51 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 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 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 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 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 99b139f5c4
split settings folder and start adding the settings for video call 2021-10-21 13:18:50 +11:00
Audric Ackermann ae8688bf2a
cleanup UI for missed call messages in msg list 2021-10-19 16:11:19 +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 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
Warrick Corfe-Tan 1522e5102d removed isCall property from message. Fixed text 2021-10-01 15:13:02 +10:00
Warrick Corfe-Tan 0b8f3255b0 corrections to pass yarn ready 2021-10-01 14:06:04 +10:00
Warrick Corfe-Tan 6743201cc4 added perfect negotiation
Adding toast for cam and audio permission when making a call.

adding missed call message and toast when a call is received while mid-call.

background call message work
2021-10-01 13:39:47 +10:00
Warrick Corfe-Tan 8985d1ff19 WIP perfect negotiations 2021-09-27 15:56:37 +10:00
Warrick Corfe-Tan 5becf6be04 Merge branch 'webrtc-calls' of https://github.com/oxen-io/session-desktop into webrtc-calls 2021-09-27 14:35:11 +10:00
Audric Ackermann c54f63ab45
add listener for video calls events 2021-09-27 13:57:31 +10:00
Warrick Corfe-Tan c777a27d5b WIP: Adding checks for perfect negotiation webrtc 2021-09-27 09:16:53 +10:00
Audric Ackermann 94bc3da2c7
working video calls accept with real streaming with android 2021-09-23 14:50:24 +10:00
Audric Ackermann 8b611a2867
make call UI react to incoming and ongoing calls 2021-09-23 13:37:38 +10:00
Audric Ackermann 6c50ec4bf1
link accept/decline and endcall buttons to the webrtc background 2021-09-22 16:31:00 +10:00
Audric Ackermann 2e49c44536
video stream displayed on mobile 2021-09-22 15:49:59 +10:00
Audric Ackermann eb6d8727ba
WIP 2021-09-22 13:30:21 +10:00