I want to record a video, and stream it directly to the server while recording (i.e. the video should be saved on the server, not necessarily locally on the Android device). How can this be accomplished? The built-in camera app does not seem to offer this feature.
A simplistic solution to your problem would be the following:
This would work; but you haven't specified if you own the server or not, what type of server it is, or whether you are on the same WiFi network as the phone.