Skip to content

janckoch/FOGMJPEGImageView

 
 

Repository files navigation

FOGMJPEGImageView

FOGMJPEGImageView is a UIImageView subclass dedicated to displaying a MJPEG from a remote feed.

A typical use case for FOGMJPEGImageView would be displaying a live webcam feed.

Installation

Copy the contents of the FOGMJPEGImageView directory into your project:

  • FOGJPEGImageMarker.h
  • FOGJPEGImageMarker.m
  • FOGMJPEGDataReader.h
  • FOGMJPEGDataReader.m
  • FOGMJPEGImageView.hÂ
  • FOGMJPEGImageView.m

Usage

With an instantiated FOGMJPEGImageView simply call startWithURL: passing the URL of the MJPEG feed you wish to display

FOGMJPEGImageView *mjpegImageView;
...
[mjpegImageView startWithURL:[NSURL URLWithString:@"http://192.168.0.1/mjpg/video.mjpg?camera=1"]];

You may halt the MJPEG feed by calling stop.

[mjpegImageView stop];

Maintainers

FOGMJPEGImageView is mainted by Richard C McGuire (@vf0g)

License

FOGMJPEGImageView is available under the MIT license. See the LICENSE file for more info.

About

FOGMJPEGImageView is a UIImageView subclass dedicated to displaying a MJPEG from a remote feed.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors