Alexander Stolte Expert Licensed User Longtime User Jan 23, 2017 #1 Hi all, is it possible to stream the live camera over wifi? like this: Thanks
canalrun Well-Known Member Licensed User Longtime User Jan 23, 2017 #2 Yes. The way I did it was to send the JPEG preview panes about 30 frames per second over Wi-Fi. You can combine several of Erel's examples to get pretty close. The CameraEX class allows you to capture preview frames in a byte buffer. And I believe it's the ASyncStreams library that allows you to send byte buffers over Wi-Fi. There is a "Walkie Talkie" example that shows you most of the data transfer. ... I just saw the image shows "Wi-Fi Direct". I think that is a slightly different animal, but hopefully the above applies. Barry. Upvote 0
Yes. The way I did it was to send the JPEG preview panes about 30 frames per second over Wi-Fi. You can combine several of Erel's examples to get pretty close. The CameraEX class allows you to capture preview frames in a byte buffer. And I believe it's the ASyncStreams library that allows you to send byte buffers over Wi-Fi. There is a "Walkie Talkie" example that shows you most of the data transfer. ... I just saw the image shows "Wi-Fi Direct". I think that is a slightly different animal, but hopefully the above applies. Barry.
Erel B4X founder Staff member Licensed User Longtime User Jan 24, 2017 #3 https://www.b4x.com/android/forum/threads/mjpeg-cctv-server.73792/#content Upvote 0