video chat on lan

8
Video Chat on LAN By Payal Ashokkumar Dalwadi 10/29/2010 Advisor: Dr. Chung-E Wang Department of Computer Science California State University, Sacramento

Upload: colt-turner

Post on 02-Jan-2016

32 views

Category:

Documents


0 download

DESCRIPTION

Video Chat on LAN. By Payal Ashokkumar Dalwadi 10/29/2010 Advisor: Dr. Chung-E Wang Department of Computer Science California State University, Sacramento. Motivation. A social networking site that allows you to video chat online is the primary inspiration for my project. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Video Chat on LAN

Video Chat on LAN

ByPayal Ashokkumar Dalwadi

10/29/2010

Advisor: Dr. Chung-E WangDepartment of Computer ScienceCalifornia State University, Sacramento

Page 2: Video Chat on LAN

Motivation

A social networking site that allows you to video chat online is the primary inspiration for my project.

I am highly interested in the development of Network Application.

I have interest in Socket programming . This application covers my all area of interest.

Page 3: Video Chat on LAN

Overview of chat application

There are so many chat application exists, but most of them are server/client based application. User have to make profile to user those application

To use Video On LAN Application user do not have to make profile page. Just need to add IP address.

To initiate chat with user it requires users acceptance. IP addresses are saved in contact log file to next time

you start the chat you do not have to add IP address.

Page 4: Video Chat on LAN

Technology

Used VC++.NET MFC Library

Microsoft Foundation Class Library (MFC) is a library that wraps portion of the windows API in C++ classes. Also includes functionality that enables MFC to use a default allocation framework.

Page 5: Video Chat on LAN

Project Implementation

Map all buttons and menu items corresponding to the function. Add contact and Delete contact. Connecting to a Remote System. Sending text data. Start Host CAM. Stop Host CAM. Invite to view My CAM. Request to view Guest CAM. Stop viewing Guest CAM. Disconnecting from Remote System. Exit the Application.

Page 6: Video Chat on LAN

User 1192.168.1.11

User 2192.168.1.12

OnAddContact()

CAsyscSocket::SendTo()

Add IP in contact log GetAddress()

Accept connection request

StartTextChat()

WebCAM Started

CONTROLMESG_VIEWCAMREQ

CONTROLMESG_ACCEPTCAMREQ

Check SocketType = TYPE_TEXTDATA/TYPE_VIDEODATA/TYPE_CONTROLMSGSCheck textData[0] = different CONTROLMESGS

Page 7: Video Chat on LAN

Application layout

Page 8: Video Chat on LAN

Future Work

Add IP discovery module so user can know IP address of related hostname.

Add audio, share files and folders feature.

Make TCP connection instead of UDP connections.