 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

  bindSessionEvents: (session) ->

    session.on 'streamCreated', (event) =>
      return  if @state.connectedToSession is no

      options = { height: '100%', width: '100%', insertMode: 'append' }

      { stream } = event
      nick       = stream.name
      element    = @getView().getElement()


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


