 module.exports = class VideoCollaborationModel extends kd.Object
 
   defaultState:
-    video              : on
-    audio              : on
+    publishVideo       : on
+    publishAudio       : on
     publishing         : off
-    connectedToSession : no
+    active             : no
+    connected          : no
     maxConnectionCount : 999
     activeParticipant  : null
     connectionCount    : 0


    @session = session
    @bindSessionEvents session
    @setState { connectedToSession: yes }
    @emit 'SessionConnected', session





    session.on 'sessionDisconnected', (event) =>
      @setState { connected: no }
      eventName = switch event.reason
        when 'forceDisconnected'   then 'HostKickedLoggedInUser'
        when 'clientDisconnected'  then 'VideoCollaborationEnded'
