 
 
   getOfflineUserContainer: -> @offlineUserContainer
+
+
+  getCameraDialogContainer: -> @cameraDialogContainer
+
+
+  showCameraDialog: (title) ->
+
+    width = 325
+    height = 265
+
+    @_noiseView = new NoiseView { size: { width, height } }
+
+    @cameraDialogContainer.addSubView @_noiseView
+
+    @cameraDialogContainer.title.updatePartial title  if title?
+    @cameraDialogContainer.show()
+
+
+  hideCameraDialog: ->
+
+    @_noiseView.destroy()
+    @_noiseView = null
+
+    @cameraDialogContainer.hide()
 
 
   ###*


    @createContainer()
    @createOfflineUserContainer()
    @createControls()




  createOfflineUserContainer: ->

    @offlineUserContainer = createAbsoluteContainer 'ChatVideo-offlineUserContainer'
    @addSubView @offlineUserContainer


  createCameraDialogContainer: ->

    cssClass = 'ChatVideo-cameraDialogContainer hidden'
    @cameraDialogContainer = createAbsoluteContainer cssClass

    title = k 'span', 'title'
    title.updatePartial 'Default text'

    @cameraDialogContainer.title = title
    @cameraDialogContainer.addSubView title

    @addSubView @cameraDialogContainer



  createControls: ->
