I have a JAVA project from where followed the below steps to get the live stream of camera from the server. But after saving the image stream from the server, the image is not view able.
Please find the below steps followed :
- Issued methodcall connect request to server and received successful response
- Issued methodcall live request to server and started receiving successful response.
- For testing purpose, once the first ImageResponse is received from server, saved the binary data (after an emtpy live just after the ImageResponse header) and continued to save the data until “\r\n\r\n” to a file
- The saved file cannot be rendered by image viewer.
Please suggest.