 # Note that the hook when we get a local stream is actually
 # a separate callback to janus.attach
 window.publish_local_stream = ({audio, video}) ->
+  console.info 'publishing local stream'
   plugin_handle.createOffer
     media:
       audioRecv: false

to all remote streams in the same space,
and by default automatically publish local stream (though this is configurable).

State imported:
sb['tawk/space'] (string, required) -> The room to subscribe to. Corresponds to <space-id>
    in https://tawk.space/<space-id>. Note that you probably
    don't want to have overlap between spaces used in dom.TAWK
    and directly in initialize_janus. This function subscribes

    that are in a groups. The end result is that if you call the lower
    level function you get all the streams, but using dom.TAWK you only
    get a subset of them.
audio (boolean, default=true): Whether to subscribe to and publish audio
video (boolean, default=true): Whether to subscribe to and publish video
on_join (function({audio, video}), default=window.publish_local_stream):
