qhxin / CdnRtc

js p2p source
0 stars 0 forks source link

excause me does it can be used in cocos creator? #1

Open exe19890522 opened 2 years ago

exe19890522 commented 2 years ago

i am use cocos creator2.4.6 on job,i want to find a way to do like this: 1.player1 connect to my server and reg a account by websocket,so as player2; 2.after player 1 and 2 login and connect in my server,1 can chat with 2 by direct,not use my server again; 3.Not only chat, but also hope to send game data

i find some about p2p in your github ,but not very suit to mine, can you give me some guidance?

qhxin commented 2 years ago

Hello, i think peerjs and peerjs-server is good for you.

---Original--- From: @.> Date: Thu, Dec 23, 2021 16:53 PM To: @.>; Cc: @.***>; Subject: [qhxin/CdnRtc] excause me does it can be used in cocos creator? (Issue #1)

i am use cocos creator2.4.6 on job,i want to find a way to do like this: 1.player1 connect to my server and reg a account by websocket,so as player2; 2.after player 1 and 2 login and connect in my server,1 can chat with 2 by direct,not use my server again; 3.Not only chat, but also hope to send game data

i find some about p2p in your github ,but not very suit to mine, can you give me some guidance?

— Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you are subscribed to this thread.Message ID: @.***>

exe19890522 commented 2 years ago

thank you,i will to search about peer.nice