Perfect nogation bugfixed

This commit is contained in:
abdussamedulutas 2025-07-14 23:22:37 +03:00
parent 326682aa25
commit bcdbe5f3fd
7 changed files with 1420 additions and 7 deletions

View File

@ -7,7 +7,7 @@ addListener('disconnect',(global, xclient)=>{
{ {
client?.send([ client?.send([
{ {
id: clientid id: xclient.id
}, },
"peer/disconnect" "peer/disconnect"
]) ])

View File

@ -1,4 +1,3 @@
import "webrtc-adapter";
import WebRTC from "./WebRTC"; import WebRTC from "./WebRTC";
import Peer from "./Peer"; import Peer from "./Peer";

View File

@ -1,6 +1,5 @@
import P2PFileSender from "./P2PFileSender"; import P2PFileSender from "./P2PFileSender";
import Peer from "./Peer"; import Peer from "./Peer";
import "webrtc-adapter";
interface TransferStreamInfo interface TransferStreamInfo
{ {
senders : RTCRtpSender[]; senders : RTCRtpSender[];

View File

@ -4,7 +4,7 @@
"description": "Mikro WebSocket Engine", "description": "Mikro WebSocket Engine",
"scripts": { "scripts": {
"compile": "parcel watch --no-hmr", "compile": "parcel watch --no-hmr",
"build": "parcel build" "build": "parcel build --no-optimize"
}, },
"source": "./frontend/index.ts", "source": "./frontend/index.ts",
"targets": { "targets": {

View File

@ -14,7 +14,7 @@
</div> </div>
</div> </div>
<script src="index.js?v=42"></script> <script src="./index.js?v=42"></script>
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet"> <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
</body> </body>
</html> </html>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long