Video Chat

If you have completed an application and wish to share the complete source/project files with everyone then please post it in here. Source-code files only, no tutorials.
12 posts Page 1 of 2
Contributors
User avatar
avery123
New Member
New Member
Posts: 11
Joined: Thu Jul 11, 2013 9:45 pm

Video Chat
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.
You do not have the required permissions to view the files attached to this post.
User avatar
dualz
VIP - Donator
VIP - Donator
Posts: 29
Joined: Mon Jul 15, 2013 9:47 pm

Re: Video Chat
dualz
udp sockets would be the best bet you can stream data from A -> B and B -> A
Dualz
Co-Owner TADStools Network
  • Microsoft Systems Engineer
    Microsoft Software Engineer
    Cisco Certified Network Engineer
    Programming Languages: Delphi, Python, Cron, PHP, HTML, ASP.Net, Cold Fustion, VB.net, C, C++, C#, XAML, IOS, Android, Java, ASM
Filip
Coding Guru
Coding Guru
Posts: 833
Joined: Wed Jan 05, 2011 3:59 pm

Re: Video Chat
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.
CodenStuff wrote:
Nope, it's just your sick and dirty mind. You sick twisted warped little pervo :D
User avatar
dualz
VIP - Donator
VIP - Donator
Posts: 29
Joined: Mon Jul 15, 2013 9:47 pm

Re: Video Chat
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
Dualz
Co-Owner TADStools Network
  • Microsoft Systems Engineer
    Microsoft Software Engineer
    Cisco Certified Network Engineer
    Programming Languages: Delphi, Python, Cron, PHP, HTML, ASP.Net, Cold Fustion, VB.net, C, C++, C#, XAML, IOS, Android, Java, ASM
User avatar
mandai
Coding God
Coding God
Posts: 2585
Joined: Mon Apr 26, 2010 6:51 pm

Re: Video Chat
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.
User avatar
avery123
New Member
New Member
Posts: 11
Joined: Thu Jul 11, 2013 9:45 pm

Re: Video Chat
avery123
But do any of you know how to use a Udp client with a Public IP address
User avatar
mandai
Coding God
Coding God
Posts: 2585
Joined: Mon Apr 26, 2010 6:51 pm

Re: Video Chat
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.
User avatar
avery123
New Member
New Member
Posts: 11
Joined: Thu Jul 11, 2013 9:45 pm

Re: Video Chat
avery123
I have tried is there any way you can show me an example
User avatar
avery123
New Member
New Member
Posts: 11
Joined: Thu Jul 11, 2013 9:45 pm

Re: Video Chat
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.
User avatar
mandai
Coding God
Coding God
Posts: 2585
Joined: Mon Apr 26, 2010 6:51 pm

Re: Video Chat
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.
12 posts Page 1 of 2
Return to “Source-Code”