Page 1 of 2
Video Chat
Posted: Fri Aug 16, 2013 3:50 am
by avery123
This a video chat program that allows to chat face to face with other people but there is one problem it only allows you to do it through computers on the same network if anyone has an idea of how to do it over the internet it would be greatly appreciated.
Re: Video Chat
Posted: Fri Aug 16, 2013 7:12 am
by dualz
udp sockets would be the best bet you can stream data from A -> B and B -> A
Re: Video Chat
Posted: Fri Aug 16, 2013 7:23 am
by Filip
dualz wrote:udp sockets would be the best bet you can stream data from A -> B and B -> A
Why UDP? TCP/IP is way better when it comes to chats and 2 way communication. UDP is for streaming and stuff.
avery123 wrote:it only allows you to do it through computers on the same network if anyone has an idea of how to do it over the internet it would be greatly appreciated.
You should port forward ports that this app uses.
Re: Video Chat
Posted: Fri Aug 16, 2013 7:42 am
by dualz
i prefurr UDP when accessing information as the host of the video call will be the one who will invite the other end hence UDP.
i have done the whole tcp/ip and found it to be unreliable in my point with the high end applications i write
Re: Video Chat
Posted: Sat Aug 17, 2013 3:14 pm
by mandai
It should be possible to use this over the internet, though you would need to add data buffering and a way to check for lost frames.
It makes sense to use UDP if you need real-time streaming.
It seems the chat feature fills my screen with error messages.
Re: Video Chat
Posted: Sat Aug 17, 2013 9:03 pm
by avery123
But do any of you know how to use a Udp client with a Public IP address
Re: Video Chat
Posted: Sun Aug 18, 2013 12:39 am
by mandai
In simple terms the UdpClient should work with both LAN and internet addresses in the same way. It is also worth mentioning if the user has a router they will need to allow port forwarding for the receiving server.
Re: Video Chat
Posted: Sun Aug 18, 2013 12:42 am
by avery123
I have tried is there any way you can show me an example
Re: Video Chat
Posted: Sun Aug 18, 2013 1:45 am
by avery123
Thank you for your help I want to be able to create a program to video chat just like Skype and Facetime my code is in the link but to connect and stream video with people outside of my network I will need to use my external IP as the host and the receivers external IP as the receiver.
Re: Video Chat
Posted: Sun Aug 18, 2013 2:18 pm
by mandai
If this needs both video and chat I would need some kind of protocol design/specification before I can give an example.
Another option would be to make use of existing network video/chat libraries. A search for '.net video conferencing' gives a lot of results.