Refactoring SimplePeer code: splitting Peer instantiation into 2 subclasses (VideoPeer and ScreenSharingPeer). This leads to way leaner code.
This commit is contained in:
parent
894f7c8009
commit
27ffb6b13d
7 changed files with 307 additions and 176 deletions
|
@ -7,7 +7,6 @@ export const isSignalData =
|
|||
|
||||
export const isWebRtcSignalMessageInterface =
|
||||
new tg.IsInterface().withProperties({
|
||||
userId: tg.isString,
|
||||
receiverId: tg.isString,
|
||||
signal: isSignalData
|
||||
}).get();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue