{"action":"created","issue":{"url":"https://api.github.com/repos/lwille/node-gphoto2/issues/64","labels_url":"https://api.github.com/repos/lwille/node-gphoto2/issues/64/labels{/name}","comments_url":"https://api.github.com/repos/lwille/node-gphoto2/issues/64/comments","events_url":"https://api.github.com/repos/lwille/node-gphoto2/issues/64/events","html_url":"https://github.com/lwille/node-gphoto2/issues/64","id":56106379,"number":64,"title":"How to use live preview from example","user":{"login":"gabrielstuff","id":285033,"avatar_url":"https://avatars.githubusercontent.com/u/285033?v=3","gravatar_id":"","url":"https://api.github.com/users/gabrielstuff","html_url":"https://github.com/gabrielstuff","followers_url":"https://api.github.com/users/gabrielstuff/followers","following_url":"https://api.github.com/users/gabrielstuff/following{/other_user}","gists_url":"https://api.github.com/users/gabrielstuff/gists{/gist_id}","starred_url":"https://api.github.com/users/gabrielstuff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gabrielstuff/subscriptions","organizations_url":"https://api.github.com/users/gabrielstuff/orgs","repos_url":"https://api.github.com/users/gabrielstuff/repos","events_url":"https://api.github.com/users/gabrielstuff/events{/privacy}","received_events_url":"https://api.github.com/users/gabrielstuff/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-01-31T01:27:46Z","updated_at":"2015-02-24T09:11:08Z","closed_at":null,"body":"Hi !\r\n\r\nVery nice work.\r\nI've been trying to run the examples, but I'm not able to see the live preview : \r\n`http://localhost:1337/preview` returns nothing on Chrome and bad image on firefox (the image can not be displayed because it contains error)\r\n\r\nWhat is the process to look at the liveview in the browser ?\r\n\r\nThanks"},"comment":{"url":"https://api.github.com/repos/lwille/node-gphoto2/issues/comments/75721876","html_url":"https://github.com/lwille/node-gphoto2/issues/64#issuecomment-75721876","issue_url":"https://api.github.com/repos/lwille/node-gphoto2/issues/64","id":75721876,"user":{"login":"jatpatel1","id":3884658,"avatar_url":"https://avatars.githubusercontent.com/u/3884658?v=3","gravatar_id":"","url":"https://api.github.com/users/jatpatel1","html_url":"https://github.com/jatpatel1","followers_url":"https://api.github.com/users/jatpatel1/followers","following_url":"https://api.github.com/users/jatpatel1/following{/other_user}","gists_url":"https://api.github.com/users/jatpatel1/gists{/gist_id}","starred_url":"https://api.github.com/users/jatpatel1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jatpatel1/subscriptions","organizations_url":"https://api.github.com/users/jatpatel1/orgs","repos_url":"https://api.github.com/users/jatpatel1/repos","events_url":"https://api.github.com/users/jatpatel1/events{/privacy}","received_events_url":"https://api.github.com/users/jatpatel1/received_events","type":"User","site_admin":false},"created_at":"2015-02-24T09:11:08Z","updated_at":"2015-02-24T09:11:08Z","body":"@emmanuelgeoffray thanks for getting back to me.\r\nI thought that was the only way to do it. Previously I did the same thing in python but as I'm a web developer I thought it would be easier if I wrote it with a web language(php or js).\r\nI just had a quick look at mjpg_streamer and it looks promising. \r\n\r\nCan I ask what your logic was to repeatedly write a preview file to disk? Did you have to think about fps or anything? With my camera, once the `getPreview` is called, I can't call it again as the camera locks and I have turn it on and off. Any help would be appreciated. \r\nThanks"}}