{"action":"created","issue":{"url":"https://api.github.com/repos/balloob/home-assistant/issues/1062","labels_url":"https://api.github.com/repos/balloob/home-assistant/issues/1062/labels{/name}","comments_url":"https://api.github.com/repos/balloob/home-assistant/issues/1062/comments","events_url":"https://api.github.com/repos/balloob/home-assistant/issues/1062/events","html_url":"https://github.com/balloob/home-assistant/issues/1062","id":130098734,"number":1062,"title":"Stream MJPEG instead of taking screenshots every .5 seconds","user":{"login":"stjohnjohnson","id":622065,"avatar_url":"https://avatars.githubusercontent.com/u/622065?v=3","gravatar_id":"","url":"https://api.github.com/users/stjohnjohnson","html_url":"https://github.com/stjohnjohnson","followers_url":"https://api.github.com/users/stjohnjohnson/followers","following_url":"https://api.github.com/users/stjohnjohnson/following{/other_user}","gists_url":"https://api.github.com/users/stjohnjohnson/gists{/gist_id}","starred_url":"https://api.github.com/users/stjohnjohnson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stjohnjohnson/subscriptions","organizations_url":"https://api.github.com/users/stjohnjohnson/orgs","repos_url":"https://api.github.com/users/stjohnjohnson/repos","events_url":"https://api.github.com/users/stjohnjohnson/events{/privacy}","received_events_url":"https://api.github.com/users/stjohnjohnson/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-01-31T07:50:02Z","updated_at":"2016-01-31T18:19:30Z","closed_at":null,"body":"Currently, when viewing a camera component in the UI it will start an mjpeg stream and call `camera_image` every half a second: https://github.com/balloob/home-assistant/blob/35f1810c74eaf2a54da4c48aa4a17fdac89fc611/homeassistant/components/camera/__init__.py#L133-L150\r\n\r\nIf you use cameras with the mjpeg component, it calls an mjpeg url and strips out the first jpeg: https://github.com/balloob/home-assistant/blob/35f1810c74eaf2a54da4c48aa4a17fdac89fc611/homeassistant/components/camera/mjpeg.py#L48-L56\r\n\r\nSo for an example like this, why not stream the mjpeg directly?  That way you could get the full framerate of the mjpeg source."},"comment":{"url":"https://api.github.com/repos/balloob/home-assistant/issues/comments/177569383","html_url":"https://github.com/balloob/home-assistant/issues/1062#issuecomment-177569383","issue_url":"https://api.github.com/repos/balloob/home-assistant/issues/1062","id":177569383,"user":{"login":"stjohnjohnson","id":622065,"avatar_url":"https://avatars.githubusercontent.com/u/622065?v=3","gravatar_id":"","url":"https://api.github.com/users/stjohnjohnson","html_url":"https://github.com/stjohnjohnson","followers_url":"https://api.github.com/users/stjohnjohnson/followers","following_url":"https://api.github.com/users/stjohnjohnson/following{/other_user}","gists_url":"https://api.github.com/users/stjohnjohnson/gists{/gist_id}","starred_url":"https://api.github.com/users/stjohnjohnson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stjohnjohnson/subscriptions","organizations_url":"https://api.github.com/users/stjohnjohnson/orgs","repos_url":"https://api.github.com/users/stjohnjohnson/repos","events_url":"https://api.github.com/users/stjohnjohnson/events{/privacy}","received_events_url":"https://api.github.com/users/stjohnjohnson/received_events","type":"User","site_admin":false},"created_at":"2016-01-31T18:19:30Z","updated_at":"2016-01-31T18:19:30Z","body":"Fantastic!  Will do :)"}}