-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
RTCDataChannel: use signal instead of vfuncs
As it turns out, using virtual functions slow down the sample program a lot. Not sure why; maybe it's node-gtk's inherent problem. So just go back to using signals. The native delegate still exists, and still post the signal to main thread. But now the call from native delegate code to JS happens over signals.
- Loading branch information
1 parent
d5f95cd
commit 684f65e
Showing
5 changed files
with
182 additions
and
133 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.