   addVideoParticipant: (nickname, emitEvent = yes) ->
 
     pushToCollection @state.videoParticipants, nickname, =>
-      @emitEvent()  if emitEvent
+      @emitChange()  if emitEvent
 
 
   ###*

   * @param {string} nickname
   * @param {boolean} isOnline
  ###
  setVideoSelectedParticipant: (nickname, isOnline) ->

    return  unless isOnline

    @state.selectedParticipant = nickname



    # basically we batched the change event updates.
    @emitChange()


  applyVideoUpdate: (payload) ->

    { activeParticipant, selectedParticipant, participants } = payload

    @state.selectedParticipant = selectedParticipant
    @state.videoParticipants   = Object.keys participants

    @emitChange()



###*
