   ###
   removeVideoParticipant: (nickname, emitEvent = yes) ->
 
-    index = @state.videoParticipants.indexOf nickname
-
-    unless index is -1
-      @state.videoParticipants.splice index, 1
-      @emitChange()  if emitEvent
+    removeFromCollection @state.videoParticipants, nickname, =>
+      @emitEvent()  if emitEvent
 
 
   ###*

  ###
  removeTalkingParticipant: (nickname) ->

    index = @state.talkingParticipants.indexOf nickname

    unless index is -1
      @state.talkingParticipants.splice index, 1
      @emitChange()



  ###
  removeVideoActiveParticipant: (nickname) ->

    removeFromCollection @state.videoParticipants, nickname, =>
      @emitChange()


