Commit Graph

256 Commits

Author SHA1 Message Date
901700177b Merge pull request #17 from murat-dogan/master
Fix logic error: If we pass Relay Type then it is a TURN Server
2019-12-17 18:05:54 +00:00
281eea2cec Fixed late candidates triggering DTLS init twice 2019-12-17 16:00:43 +01:00
28f923b1ce Fix Logic Error: If we are asking Relay Type than it is a TURN Server 2019-12-17 16:24:19 +03:00
48bdb6a1c9 Merge pull request #16 from murat-dogan/master
Option for enabling ICE TCP Candidates
2019-12-17 08:11:18 +00:00
278ac22766 Option for enabling ICE TCP Candidates 2019-12-17 07:49:26 +03:00
4fb14244db Merge pull request #14 from murat-dogan/master
TURN Server Support
2019-12-16 20:46:52 +00:00
432be41b9a Turn server protocol & Consistency Changes 2019-12-16 21:12:59 +03:00
1d7d1358be Added PeerConnection::close() and revised state machine 2019-12-16 12:15:59 +01:00
5fc6a1c8ad TURN Server Support 2019-12-16 13:04:32 +03:00
e5a19f85ed Revised synchronization 2019-12-16 10:45:00 +01:00
de5aff68e6 Fixed transport synchronization on destruction 2019-12-15 16:35:58 +01:00
8b94f22aca Cleanup and added some comments 2019-12-14 22:41:55 +01:00
1ab81731e3 Changed buffer amount low behavior to prevent deadlock situations 2019-12-14 21:13:51 +01:00
c5e25bbdbc Implemented max message size negociation 2019-12-14 17:23:31 +01:00
cafc674689 Changed SCTP to non-blocking to spare a thread and fix blocking on close 2019-12-14 12:52:11 +01:00
96f08cb3c8 Fixed DataChannel recv queue limit 2019-12-12 19:42:32 +01:00
3220bf8ae1 Fixed formatting 2019-12-12 17:31:43 +01:00
89ff113688 Changed sent callback to more generic bufferAmountLow 2019-12-12 17:18:49 +01:00
aa55aa76df Added sendBuffer() methods to DataChannel 2019-12-12 11:07:31 +01:00
2c0955fe57 Some performance tuning for SCTP transport 2019-12-11 23:16:51 +01:00
1df2fa559c Added rvalue push to Queue 2019-12-11 16:28:09 +01:00
08931de03b Added proper destructor for synchronized_callback 2019-12-06 16:59:43 +01:00
e6da6a185f Make DataChannel keep a strong reference on PeerConnection 2019-12-06 16:21:55 +01:00
4029a9bb4a Do not receive messages in onMessage is not set 2019-12-04 12:16:39 +01:00
a1df562785 Added available and availableSize getters on DataChannel 2019-12-04 12:00:40 +01:00
5d57b4e214 Used synchronized callbacks for PeerConnection 2019-12-03 12:05:19 +01:00
abdf61e841 Added callback wrapper in Channel 2019-12-03 11:55:54 +01:00
d9bfcbd6be Added sent callback on DataChannel 2019-12-03 11:17:56 +01:00
900c482146 Implemented reading back-pressure and callbacks synchronization 2019-12-01 16:03:50 +01:00
d27ed8aab0 Don't wait for resolve threads on destruction 2019-11-28 09:47:20 +01:00
75735fb8d8 Enforced setup:actpass on offers 2019-11-24 21:06:50 +01:00
6f09bc7a17 Added local and remote address accessors 2019-11-23 19:16:10 +01:00
4f6bdc5135 Merge pull request #3 from aaronalbers/aa_lifetime_fixes_
Fixed lifetime issues
2019-11-22 15:59:11 +01:00
65e584107c Fixed lifetime issues
- Channels are not longer immortal objects
- Fixed (or mitigated) crashes on cleanup
2019-11-21 09:03:15 -07:00
44cdbab8dc Changed remote description logic to resolve candidates asyncronously 2019-11-19 12:31:15 +01:00
f083815569 Prevent unresolved candidates from going through libnice 2019-11-17 14:19:31 +01:00
0e2c992d1c Fix clang build
- Fix the build for the clang compiler since it doesn't support -Wno-error=format-truncation.
- Added missing `#include <string>` that caused `implicit instantiation of undefined
      template`
2019-11-08 15:53:27 -07:00
cd47c31f3f Added separate PeerConnection gathering state 2019-09-23 22:31:54 +02:00
86179f0691 Added state with corresponding callback, and removed optional candidates 2019-09-22 22:50:04 +02:00
68b0ab73b5 Properly handle unexpected DTLS termination 2019-09-12 23:23:44 +02:00
c1e74d77ef Use proper mid in candidates instead of ICE stream name 2019-09-08 16:45:09 +02:00
65813e4e31 Added Candidate.candidate() method for symmetry with web API 2019-09-08 16:45:07 +02:00
378135b413 Properly handle datachannel destruction 2019-09-08 11:56:13 +02:00
61fb38305a Enhanced API to differentiate binary and string messages 2019-09-05 19:46:14 +02:00
3780fa8646 Made candidate mid non optional 2019-09-04 08:51:23 +02:00
f54a4100a3 Added type and role string to Description 2019-09-04 08:44:24 +02:00
3c8d295561 Removed Candidate::candidate() method 2019-09-03 22:58:02 +02:00
e9c882b909 Added description type unspec set by default 2019-09-03 22:49:24 +02:00
aa0ef3a123 Added offer/answer differenciation in description 2019-09-03 00:08:24 +02:00
1f7e956eb9 Added support for non-trickled ICE candidates 2019-09-02 22:55:06 +02:00