                   room: 1234
                   ptype: "publisher"
                   display: JSON.stringify
-                    id: my_id
-                    space: my_space
+                    id: tawk.id
+                    space: tawk.space
             onmessage: (msg, jsep) ->
               # Janus is informing us of publishers we do not know about
               publishers = msg["publishers"] or []
               for feed in publishers
                 {id, space} = JSON.parse feed.display
-                if space == my_space
+                if space == tawk.space
                   new_remote_feed janus, feed
 
               # The plugin_handle.send call to join as a publisher succeeded.

                request: "start"
                room: 1234

initialize_janus = (my_id, my_space) ->
  Janus.init
    callback: ->
      if not Janus.isWebrtcSupported()

  tawkbus.sockjs_client("/*", "https://tawk.space")
  window.tawk = tawkbus.sb
  tawk.janus_initialized = false
  tawk.id = random_string(16)
  tawk.space = null # Will be filled in dom.TAWK

  unsavable = (obj) ->
    throw new Error("Cannot save #{obj.key}")
