#jsmess 2018-10-09,Tue

↑back Search

Time Nickname Message
01:31 🔗 Pengan has quit IRC (Quit: Going offline, see ya! (www.adiirc.com))
01:36 🔗 Pengan has joined #jsmess
02:29 🔗 Sgeo__ has joined #jsmess
02:31 🔗 Sgeo_ has quit IRC (Read error: Operation timed out)
02:58 🔗 Sgeo__ There exist plenty of free STUN servers out there that I could point to by default for WebRTC purposes. As far as I know, there are no free TURN servers.
02:59 🔗 Sgeo__ I want to play Bubble Bobble with people over the Internet.
03:14 🔗 azakai_ has joined #jsmess
03:15 🔗 azakai_ has quit IRC (Client Quit)
03:18 🔗 Pengan has quit IRC (Going offline, see ya! (www.adiirc.com))
03:55 🔗 bai Sgeo__: yeah it's not the STUN you need to worry about, it's the signalling
03:55 🔗 bai you need some way to pass ICE candidates between clients, out of band of the WebRTC connection
03:55 🔗 Sgeo__ I saw a proof of concept where instead of a signalling server, just have users copy and paste strings to each other
03:56 🔗 bai yeah, that's one way
03:56 🔗 bai although I think those methods that are just id-based still rely on some server
03:56 🔗 bai you can in theory pass entire ICE candidate strings over any mechanism, but coordinating it can be a pain
04:12 🔗 Pengan has joined #jsmess
06:24 🔗 Sgeo__ We don't care about IE9, right?
06:25 🔗 Sgeo__ I want to use https://developer.mozilla.org/en-US/docs/Web/API/Page_Visibility_API to switch between timing modes
08:35 🔗 Pengan has quit IRC (Quit: Going offline, see ya! (www.adiirc.com))
09:56 🔗 ted Sgeo__: i had dosbox running with WebRTC networking a while back, i had to hack some emscripten code
09:58 🔗 ted https://imgur.com/Y2w1jEI
13:32 🔗 Sgeo__ ted, oh neat, source code?
13:33 🔗 ted yeah, lemme dig that up
13:34 🔗 ted https://github.com/luser/emscripten/commits/fix-webrtc-sockets
13:35 🔗 ted https://github.com/luser/em-dosbox/commits/doom
13:50 🔗 Sgeo__ ty... wait, I see just two commits by you, was there some preexisting (broken) support?
13:51 🔗 ted yeah
13:51 🔗 ted a coworker added it a while back but it got broken over time
13:51 🔗 ted i wanted to rebase that to match current emscripten master but it has been significantly refactored so it would be a bunch more work

irclogger-viewer