For quite a while now I've been trying to achieve this functionality, I'm perfectly able to play and record a video using Surface view and trying to send that "Video Stream" to a socket address using the ParcelFileDescriptor.
On the android side I need to use the default java socket but for some reason I'm not able to receive the video stream on my node server. Any ideas will be helpful. I just simply want to send what I'm seeing on my screen on Android device using Sockets.
I've read that there's Socket.io and Socket.client to connect to Node server but there's no Socket.stream to stream data. I don't want to use libstream either, Just native APIs and Libraries that come bundled with the Android SDK.