public function testVideoRetrieval()
 {
     $videoFeed = new VideoFeed();
     $img_returned = $videoFeed->getVideoFeed();
     //$image_size = ($img_returned);
     $nothingReturned = true;
     if (!empty($img_returned)) {
         $nothingReturned = false;
     }
     $this->assertFalse($nothingReturned, 'Got the Video Feed');
 }
 public function actionvideoFeed()
 {
     $model = new VideoFeed();
     $image = $model->getVideoFeed();
     HttpResponse::status(200);
     HttpResponse::setContentType('image/JPEG');
     HttpResponse::setData($image);
     HttpResponse::send();
 }