[HN Gopher] Show HN: 2D Tilemap on Top of Jitsi Meet
       ___________________________________________________________________
        
       Show HN: 2D Tilemap on Top of Jitsi Meet
        
       Author : moron4hire
       Score  : 82 points
       Date   : 2020-04-03 18:53 UTC (4 hours ago)
        
 (HTM) web link (github.com)
 (TXT) w3m dump (github.com)
        
       | transitivebs wrote:
       | Really interesting idea!
       | 
       | Screenshots in the readme would do wonders for getting the point
       | across.
       | 
       | Now if only Zoom had a robust plugin system...
        
         | moron4hire wrote:
         | Got it in there now!
        
       | moron4hire wrote:
       | Open for contributions! I just wanted to prove out the core
       | concept of scaling the audio. Now that I know that works, really
       | want to dig into making art assets and interactions for people.
        
       | clord wrote:
       | Would be cool to have a podium that a user can step up to and
       | speak to all with no falloff. Perhaps with some sort of
       | permission or nomination.
        
         | disk0 wrote:
         | TSaaS (Talking Stick as a Service)
        
           | moron4hire wrote:
           | I got a phone call after posting this today that makes me
           | think you might be able to find a VC in SV willing to pay for
           | that.
        
         | moron4hire wrote:
         | That's a cool idea, I like it.
        
       | detaro wrote:
       | Cool idea! Positional audio is something IMHO underused in todays
       | conference solutions. (Mumble supports it out of the box, but as
       | far as I know its position sources are all game plugins)
        
         | moron4hire wrote:
         | Thanks. Positional audio teleconf in the browser was something
         | I hacked on back 5 years ago when WebVR first came out.
         | Unfortunately, Google broke positional audio, then WebVR, then
         | changed a lot of how WebAudio worked.
         | 
         | Lately, I'm involved with a few meetups that miss the dynamic
         | of a real meetup. So I threw this together to hopefully get
         | some semblance of the meetup space again.
         | 
         | It's really simple. Jitsi Meet has a web app API that basically
         | loads a standard Jitsi Meet install in an iframe, with some
         | inter-window communication setup using Window.postMessage. I
         | add a small hack on Jitsi Meet's default install to take my own
         | postMessage calls to sniff out the HTML audio elements Jitsi
         | Meet creates and modifies their volume.
         | 
         | For the position of participants, I use Jitsi Meets inter-user
         | text messaging system to send data packages. Then I just scale
         | each user's audio volume based on a linear scale. Anyone closer
         | than 3 squares is rendered in full volume, and anyone further
         | than 14 is muted. And of course, settings in the scripts to
         | scale these values. They could even be per-user, if they wanted
         | to scale how well they can hear.
         | 
         | There's no stereo pan or ambisonics, but hopefully the volume
         | level scaling is enough to make for useful meetups.
        
       | dvno42 wrote:
       | This is really neat. I logged in for a few seconds to check out
       | the interface (should have taken a screenshot). The center of the
       | meeting shows a large white square window and smaller colored
       | squares indicating other meeting participants. You can drag your
       | square (avatar) around the window to place yourself next to
       | others.
       | 
       | I have a standing virtual happy hour with some friends every
       | week. If I can figure out how to get this to work with my
       | docker/traefik deployment, I'll have to try it with my friend
       | group and see how it works.
       | 
       | Thanks for creating and sharing this!
        
         | moron4hire wrote:
         | Jitsi Meet itself is really easy to setup. My "game" is just a
         | static HTML file that uses the Jitsi Meet web API, _except_ for
         | the volume control. Because Jitsi Meet 's Web API installs
         | through an iframe, I had to modify the web files for my install
         | slightly.
         | 
         | It's one additional line in `/use/share/jitsi-meet/index.html`
         | to include a very small JS file that sets up a RPC pipe between
         | my window and the Jitsi Meet window.
         | 
         | Other than that, I wore everything in vanilla JS and HTML5, so
         | there aren't any other dependencies to manage, no build systems
         | to run. Just dump the files somewhere (I'm running the front
         | end in Azure CDN right now) and go.
        
       | ebg13 wrote:
       | Got any screenshots?
        
         | moron4hire wrote:
         | In the readme now!
        
       | talkingtab wrote:
       | I think this is great. Thanks! I'm new to jitsi, so is this audio
       | only or can you get a video to work as well? Lots of interesting
       | things. Great work.
        
         | moron4hire wrote:
         | Jitsi does video by default. I turned it off because... The map
         | is in the way, you won't see it. Plus, I plan to do
         | customizable avatars.
         | 
         | I'm generally of the opinion that the video feed is useless in
         | 90% of teleconferencing situations.
        
           | talkingtab wrote:
           | I 90% agree with your opinion. A video does add some useful
           | information, but 90% of the benefit could come from a small
           | window of the person(s) you are talking to- maybe 90px by
           | 90px.
        
             | moron4hire wrote:
             | Unfortunately, not going to work with how Jitsi does their
             | Web API through an iframe. Ol' OpenTok, before they got
             | bought out by Vonage, could have been used because they
             | inftected new DOM elements into the current page. But with
             | the Jisti Meet interface timing in an iframe, I just don't
             | have enough access to composite things like that.
        
       | PTOB wrote:
       | It made me quite happy to be able to leave the meeting entirely.
       | Do you think you could turn this into an Ad-hoc D&D dungeon so
       | that when you leave, you could take a party out into the rest of
       | the "office" and fight mutated paperclips, overstuffed file
       | cabinets, and disorganized supply closets?
        
         | moron4hire wrote:
         | Make the tileset and I'll make it happen :)
        
       ___________________________________________________________________
       (page generated 2020-04-03 23:00 UTC)