Commit Graph

26 Commits

Author SHA1 Message Date
ece1bd9352 Retabbing and reformatting 2020-11-13 21:25:52 +01:00
e7d45db210 Uniformized DataChannel stream type to uint16_t 2020-11-12 20:36:38 +01:00
8cb00f81ee Added DataChannel::id() getter 2020-11-12 20:34:20 +01:00
37ebe8cc58 Implemented user-negotiated DataChannels 2020-11-12 20:34:15 +01:00
2bcdab027c Fixed rtcReceiveMessage() and refactor C API buffer handling 2020-11-07 20:11:34 +01:00
3c971e05dd Prevent message copy with move semantics 2020-08-21 23:46:12 +02:00
b9a663de75 Fixed compilation warning for MSVC 2020-06-20 23:35:58 +02:00
6c8fe8ca51 Compilation fixes 2020-06-04 14:08:21 +02:00
edd04d896d Made messages mutable to prevent copy 2020-05-22 14:33:55 +02:00
0d8aedfa01 Plumbing 2020-05-22 14:33:17 +02:00
e04113f3f1 Fixed state callback and revised synchronization and deletion 2020-03-31 14:59:50 +02:00
c717b65243 Made DataChannel only keep a weak reference on PeerConnection 2020-03-26 16:10:13 +01:00
29ffb34fe8 Added missing functions to C API 2020-03-10 12:00:27 +01:00
23e1a75248 Fixed DataChannel and SCTP shutdown 2019-12-20 23:52:38 +01:00
1d7d1358be Added PeerConnection::close() and revised state machine 2019-12-16 12:15:59 +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
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
e6da6a185f Make DataChannel keep a strong reference on PeerConnection 2019-12-06 16:21:55 +01:00
a1df562785 Added available and availableSize getters on DataChannel 2019-12-04 12:00:40 +01:00
900c482146 Implemented reading back-pressure and callbacks synchronization 2019-12-01 16:03:50 +01:00
75735fb8d8 Enforced setup:actpass on offers 2019-11-24 21:06:50 +01:00
6e3ba6afd7 Reorganised project to separate public from private headers 2019-09-01 16:06:49 +02:00