     mjpeg-view))
 
 (defn stream-view [^Context activity instruction]
-  (on-ui
-      (replace-view! activity
-                     (make-ui activity
-                              [:linear-layout {:background-color Color/BLACK
-                                               :gravity Gravity/CENTER}
-                               (create-mjpeg-view activity
-                                                  #_"http://webcam1.lpl.org/axis-cgi/mjpg/video.cgi"
-                                                  (get instruction :from)
-                                                  (get instruction :width)
-                                                  (get instruction :height))]))))
+  (create-mjpeg-view activity
+                     #_"http://webcam1.lpl.org/axis-cgi/mjpg/video.cgi"
+                     (get instruction :from)
+                     (get instruction :width)
+                     (get instruction :height)))
 
 
 (defn new-camera-streamer [^StreamCameraDelegate delegate

                               (doto surface
                                 (.setLayoutParams params)
                                 (.requestLayout)))
                           (when to
                             (server/stream-video from to width height)))))]
        (doto (.getHolder surface)
          (.setType SurfaceHolder/SURFACE_TYPE_PUSH_BUFFERS)

(defn video-from-path [activity path]
  (setup-video-view (VideoView. activity) activity path))

(defn save-locally! [activity instruction]
  (when-let [name (:name instruction)]
    (when-let [url (:url instruction)]
      (server/get-bytes url
