73 Commits
Author SHA1 Message Date
Bryan Tabor dd736adc3c copy log level from config (#73) 2024-10-19 12:53:57 +02:00
Bryan Tabor c9a2ccbe2d don't skip packets before connection accepted in webrtc native driver (#69) 2024-09-12 12:11:33 +02:00
Bryan Tabor 77e14db612 fix up initialization (#70)
* fix up initialization

* typo
2024-09-12 10:42:32 +02:00
Nathan 32b1b62781 remove encryption support from core library (#59)
remove encryption support from the core library
2024-07-16 23:34:00 +02:00
BIAGINI Nathan 357c37b109 fix require in webrtc js code 2024-07-15 19:19:57 +02:00
BIAGINI Nathan 3c8de60010 address wrtc module compatibility issues with arm64 2024-07-15 19:07:22 +02:00
alufers 15394bad3b Use NBN_Allocator/NBN_Deallocator instead of malloc/free 2024-07-15 13:32:11 +02:00
alufers 20612760ce Fix buffer overflow when handling large signalling descriptions
This can happen when a computer has lots of network interfaces, for example
when running docker.
2024-07-12 12:25:54 +02:00
sshsphere 6ce182a18e fix c compiler errors 2024-02-10 18:28:33 +02:00
sshsphere 42a8d2f16c Use Sleep instead of nanosleep on windows 2024-02-09 20:45:54 +02:00
sshsphere 6abf3ccc00 Fix c++ compile errors 2024-02-09 20:45:09 +02:00
BIAGINI Nathan 0e1974d287 update copyright year 2024-02-07 22:28:54 +01:00
Nathan a0d605e27f [WIP] Rework native webrtc driver (ditch facil.io) (#52)
Remove the dependency of the native webrtc driver to facil.io entirely.
2024-02-07 22:03:20 +01:00
dependabot[bot] 5f1002c9b4 Bump minimatch from 3.0.4 to 3.1.2 in /net_drivers/webrtc
Bumps [minimatch](https://github.com/isaacs/minimatch) from 3.0.4 to 3.1.2.
- [Changelog](https://github.com/isaacs/minimatch/blob/main/changelog.md)
- [Commits](https://github.com/isaacs/minimatch/compare/v3.0.4...v3.1.2)

---
updated-dependencies:
- dependency-name: minimatch
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-24 17:43:58 +00:00
Nathan 9e28e97685 nbnet 2.0 (#35)
2.0 release - internal refactoring, public API rework, and introduction of a new CI based on GitHub actions
2023-09-24 19:43:08 +02:00
ashn ff58b03167 Explicitly cast allocator call 2023-09-18 21:39:19 -04:00
ashn a9b0260116 Duplicate host string with NBN_Allocator in ResolveIpAddress
Currently the host string in `ResolveIpAddress` is duplicated with
`strdup` and deallocated with `NBN_Deallocator`. Given that
`NBN_Deallocator` can be changed from the default `free` - the
allocation and deallocation of this struct could use two different
allocators.
2023-09-13 21:59:41 -04:00
BIAGINI Nathan a0ee00e944 optimize packets dequeuing in webrtc js driver 2023-08-19 16:06:54 +02:00
Alan Paradis d48e553f2b Change tabs to spaces 2023-08-12 17:53:05 +02:00
Alan Paradis b66d998ca8 Change tabs to spaces 2023-08-12 17:50:49 +02:00
Alan Paradis efb9def65a Adjust code indentation 2023-08-12 17:41:06 +02:00
Alan Paradis 4e807aa000 Extend C++ compilation fix to WebRTC 2023-08-12 17:18:56 +02:00
Alan Paradis 6329fe2641 Fix for MSVC C++ Compilation Issue with Compound Literals
Replaced compound literals with temporary variables for MSVC C++ compatibility.
2023-08-07 19:18:06 +02:00
BIAGINI Nathan 3c95e86873 fix WebRTC driver connection 2023-06-04 09:53:36 +02:00
BIAGINI Nathan 56798a15cf fix null exception when removing connections in UDP driver 2023-05-21 18:30:26 +02:00
Mark Deneen 5cd9bfcc53 Allow echo example to be built with C++ 2023-05-21 09:02:15 -04:00
BIAGINI Nathan eeb5f17a85 fix segfault when disconnecting a WebRTC native driver peer 2023-03-23 19:38:31 +01:00
BIAGINI Nathan a59c4303ec update copyrights year 2023-02-18 11:28:18 +01:00
BIAGINI Nathan e774e1ca87 https wip 2023-02-12 16:14:42 +01:00
BIAGINI Nathan b1d20eaa76 WebRTC native driver: make sure the connection is accepted before attempting to send any packet 2023-02-11 10:50:14 +01:00
BIAGINI Nathan 2b0c221574 webrtc native driver WIP 2023-02-05 10:17:16 +01:00
BIAGINI Nathan 6f75b3b807 WIP 2023-01-15 18:57:32 +01:00
BIAGINI Nathan c68e32f8fd WebRTC driver: fix issue when removing peers 2022-03-10 21:19:29 +01:00
BIAGINI Nathan a41211afd9 check for max connected clients on drivers 2022-01-22 08:24:59 +01:00
BIAGINI Nathan 94ba668d34 working htable for webrtc driver 2022-01-22 08:18:13 +01:00
BIAGINI Nathan b175c57a78 working implementation of an htable to store UDP connections 2022-01-21 19:34:28 +01:00
BIAGINI Nathan e8d30e683d reworking clients data structure for the game server 2022-01-21 19:06:38 +01:00
Nathan BIAGINI 0990a9ffc1 fix silly logging issue 2021-10-06 14:32:09 +02:00
BIAGINI Nathan ff50f5b236 firefox compatibility 2021-10-06 08:38:52 +02:00
BIAGINI Nathan 26b6d47083 fix js issue 2021-09-16 15:35:20 +02:00
BIAGINI Nathan 7a79b711cc https 2021-09-16 12:32:32 +02:00
Nathan BIAGINI c22fc43791 rename private API for consistency 2021-09-01 15:24:11 +02:00
Nathan BIAGINI 7ad6d8c622 fix issue #7 2021-07-17 19:01:54 +02:00
Nathan BIAGINI 18d7b7463f cpp related changes 2021-07-17 15:36:16 +02:00
Nathan BIAGINI 25a4de18f3 Revert "Tabs to spaces"
This reverts commit df02e509c65ab6f575a21644e873f0728661873c.
2021-07-17 15:36:16 +02:00
Duncan Stead d28fca167f Tabs to spaces 2021-07-17 15:36:16 +02:00
Duncan Stead 9735ad13b7 Changes to support CPP 2021-07-17 15:36:16 +02:00
Nathan BIAGINI 5b58b00ec3 change code to avoid js minification issue 2021-06-05 21:58:39 +02:00
Nathan BIAGINI 23e194daa2 introduce memory pooling 2021-05-26 20:07:20 +02:00
Nathan BIAGINI ced38c8d74 fix undefined packet issue 2021-05-24 14:26:31 +02:00