 
     @registerPublisher publisher
     @setState { publishing: on }
-
     @setActive()
+
     @changeActiveParticipant getNick()
 
 


  ###*
   * Transforms given publisher instance from OpenTok into our own
   * `ParticipantType.Publishe` class instance and it registers it into model's
   * participant property.. It sets the model's stream instance to publisher's
   * stream for easy access.
   *

  bindSessionEvents: (session) ->

    session.on 'streamCreated', (event) =>
      @subscribeToStream session, event.stream

    session.on 'streamDestroyed', (event) =>
      { connection } = event.stream
      @setParticipantLeft connection.connectionId

    session.on 'connectionCreated', (event) =>
