Germain Souquet
cb91c4292c
Merge branch 'develop' into gsouquet/pr-review-linting-rules
2021-05-27 16:00:12 +01:00
Germain Souquet
5caf05cfa1
Apply new linting rules
2021-05-11 11:25:43 +01:00
Šimon Brandner
41c2772cff
Merge branch 'develop' into feed
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
2021-04-28 10:57:59 +02:00
Šimon Brandner
e11c523a75
Add getLocalFeeds() and getRemoteFeeds()
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
2021-04-27 10:06:21 +02:00
Šimon Brandner
88b310c394
Rename stuff to make it easy to read
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
2021-04-26 16:00:17 +02:00
Šimon Brandner
973de2db55
stopAllMedia() before deleteAllFeeds()
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
2021-04-24 12:56:28 +02:00
Šimon Brandner
1fe92f10c1
Delint
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
2021-04-24 12:26:54 +02:00
Šimon Brandner
0e2e906b24
Remove remoteStream prop
...
This is done in order to be more generic
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
2021-04-24 12:24:15 +02:00
Šimon Brandner
4667f8be03
Use feeds in stopAllMedia()
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
2021-04-24 12:08:45 +02:00
David Baker
4a51ac7a74
Move createNewMatrixCall to the client object
...
So we can mock it out it tests (and also I'm not sure why it was
like this in the first place: we passed the client in anyway...)
Deprecate createNewMatrixCall
2021-04-23 14:36:56 +01:00
David Baker
74ef760591
Tests: They find bugs
2021-04-20 12:48:54 +01:00
David Baker
c0af2f25a1
Support MSC3086 asserted identity
2021-04-19 20:28:42 +01:00
Šimon Brandner
07f49bcc37
Merge branch 'develop' into feed
2021-04-13 12:33:23 +02:00
J. Ryan Stinnett
102704e91a
Migrate to eslint-plugin-matrix-org
...
This migrates to the new plugin form of our custom ESLint configs. As part of
this, some packages are de-duplicated, configs streamlined, etc.
2021-04-13 11:00:41 +01:00
Šimon Brandner
193de8d3a9
Merge branch 'feed' of https://github.com/SimonBrandner/matrix-js-sdk into feed
2021-04-08 11:15:07 +02:00
Šimon Brandner
1f2b3512c1
Move SDPStreamMetadataPurpose into callEventTypes.ts
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
2021-04-08 11:14:42 +02:00
Šimon Brandner
ee828d454a
Rename CallFeedPurpose to SDPStreamMetadataPurpose
...
This is to match MSC3077
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
2021-04-08 11:07:22 +02:00
Šimon Brandner
2916a73f4c
Make selectDesktopCapturerSource optional
2021-04-08 11:01:17 +02:00
Šimon Brandner
ae69af7e70
Merge branch 'develop' into feed
2021-04-07 19:14:17 +02:00
Travis Ralston
59e0bd467c
Merge pull request #1654 from SimonBrandner/terminate-screen-share
...
Properly terminate screen-share calls if NoUserMedia
2021-04-05 10:55:02 -06:00
Šimon Brandner
cdc0d5623b
Rename to match MSC3077
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
2021-04-04 08:37:09 +02:00
Šimon Brandner
e78b415832
Add getMember() to CallFeed
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
2021-04-04 08:33:51 +02:00
Šimon Brandner
ff1379fd29
Merge branch 'develop' into feed
2021-04-03 08:35:05 +02:00
David Baker
3820c15ecf
Merge pull request #1652 from matrix-org/dbkr/attended_transfer
...
Attended transfer
2021-04-01 17:34:18 +01:00
David Baker
6be99d6397
Terminate the other call too
2021-03-30 12:13:28 +01:00
Šimon Brandner
02b283be78
Properly terminate screenshare calls if NoUserMedia
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
2021-03-27 09:13:44 +01:00
David Baker
9ecc0f5d95
Terminate calls once we've replaced them
2021-03-26 13:52:23 +00:00
Travis Ralston
972b59b99e
Merge pull request #1651 from DantrazTrev/CallErrorFix
...
Fixed the media fail error on caller's side
2021-03-25 19:05:36 -06:00
David Baker
34bb05bd88
WIP attended transfer
2021-03-25 19:57:20 +00:00
Ayush PS
b42efa4a07
Fixed lint errors
2021-03-25 23:38:18 +05:30
Ayush PS
20b20738a7
Fixed a slight error back to orignal in ScreenShareCall
2021-03-25 23:02:44 +05:30
Ayush PS
b28a191c4e
Fixed the media fail error on caller's side
2021-03-25 22:43:18 +05:30
Šimon Brandner
b6ef8d95cd
Don't send hangup if invite wasn't sent
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
2021-03-21 21:29:00 +01:00
Šimon Brandner
d8134aa168
Merge branch 'feed' into feed-audio
2021-03-17 16:16:33 +01:00
Šimon Brandner
702b3e8473
Merge branch 'develop' into feed
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
2021-03-17 16:16:07 +01:00
David Baker
27d75a269f
unintentional comment
2021-03-16 19:18:45 +00:00
David Baker
d208a7fc5f
Remove unintentionally committed stuff
2021-03-16 19:17:04 +00:00
David Baker
702e16e3df
More VoIP connectivity fixes
...
* Don't ignore other candidates when we see a null one (continue
rather than return)
* await on addICECandidate()
* Don't add ice candidates until we've set a remote description
* More & better logging
2021-03-16 19:13:03 +00:00
Šimon Brandner
56ea4b8741
Make selectDesktopCapturerSource param optional
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
2021-03-13 15:03:36 +01:00
Šimon Brandner
b307a177f4
Remove handling of audio from MatrixCall
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
2021-03-10 12:24:48 +01:00
Šimon Brandner
059430bd0a
Doc public methods
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
2021-03-10 12:21:15 +01:00
Šimon Brandner
530b60cbc2
Make MatrixCall use CallFeed
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
2021-03-10 12:21:07 +01:00
David Baker
8375638d76
Fix tests
...
Bit of a re-organisation so a peerconnection exists when the tests
go to mock things out. placeCall methods return promises to make this
possible.
2021-03-09 14:09:55 +00:00
David Baker
59c93b59bf
Check TURN servers periodically, and at start of calls
...
Hopefully this should make our turn-credential checking code a bit
more robust (and possibly fix a seconds / ms mismatch).
2021-03-08 18:49:25 +00:00
David Baker
1ac5c9acbd
Stop streams if the call has ended
...
When we get user media, don't forget to close the streams if the
call's ended by the time we got media.
2021-03-08 16:55:48 +00:00
Šimon Brandner
f0b2d2fe4d
Null-check screenshareConstraints
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
2021-03-03 15:38:49 +01:00
Šimon Brandner
427500220d
Remove AudioVideo ConstraintsType
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
2021-03-03 15:35:02 +01:00
Šimon Brandner
32e19ead74
Merge branch 'develop' into constraint-cleanup
2021-03-03 15:30:46 +01:00
Šimon Brandner
0c94ee62a3
Pass in selectDesktopCapturerSource()
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
2021-03-02 13:00:57 +01:00
Šimon Brandner
e7562898cd
Add getScreenshareContraints()
...
This is nicer since we avoid some async functions
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
2021-03-02 12:58:45 +01:00