Receiving video stream from mobile client
Posted: 30 Jun 2009 13:06
Hi all,
I'm a newbie to this forum so sorry if this is posted in the wrong section. I did have a look in each section and this seemed like the most appropriate (although the LibVLC section might also be applicable).
Is it possible for VLC to act as the server for a client sending video streaming data? A video streaming client on a remote device (possibly a mobile device) would be sending a video stream to the server for VLC to transcode and save to file or stream on to other clients. The key is though that I won't know what IP address or port the client will be streaming from (as it is the client that will be initiating the connection and this will be on a remote network and port will be dynamically assigned by the mobile client). The protocol being used on the remote client is similar to that used by the Movino Suite.
All the examples I've seen of VLC receiving a stream specify a remote IP address and port to set-up the stream connection... In this case it will be the remote client initiating the connection.
I'm prepared for VLC not to be capable of this but thought I'd ask as VLC already does so much! My alternative is to build some sort of C# TCP server that the client can connect to and then possibly re-broadcast this stream on a specified IP and Port so that I can connect VLC to it and do all the clever stuff.
I'm using LibVLC and a simple C# wrapper to work with VLC within my application and can already receive a stream from a mobile client through a Direct Show device but now I need to go the whole hog and get it to receive a stream directly.
Hope that makes sense. If anyone has any ideas then that would be fantastic.
I'm a newbie to this forum so sorry if this is posted in the wrong section. I did have a look in each section and this seemed like the most appropriate (although the LibVLC section might also be applicable).
Is it possible for VLC to act as the server for a client sending video streaming data? A video streaming client on a remote device (possibly a mobile device) would be sending a video stream to the server for VLC to transcode and save to file or stream on to other clients. The key is though that I won't know what IP address or port the client will be streaming from (as it is the client that will be initiating the connection and this will be on a remote network and port will be dynamically assigned by the mobile client). The protocol being used on the remote client is similar to that used by the Movino Suite.
All the examples I've seen of VLC receiving a stream specify a remote IP address and port to set-up the stream connection... In this case it will be the remote client initiating the connection.
I'm prepared for VLC not to be capable of this but thought I'd ask as VLC already does so much! My alternative is to build some sort of C# TCP server that the client can connect to and then possibly re-broadcast this stream on a specified IP and Port so that I can connect VLC to it and do all the clever stuff.
I'm using LibVLC and a simple C# wrapper to work with VLC within my application and can already receive a stream from a mobile client through a Direct Show device but now I need to go the whole hog and get it to receive a stream directly.
Hope that makes sense. If anyone has any ideas then that would be fantastic.