MyCamChat

Developed or developing a new product in PureBasic? Tell the world about it.
BalrogSoft
Enthusiast
Enthusiast
Posts: 203
Joined: Sat Apr 26, 2003 6:33 pm
Location: Spain
Contact:

MyCamChat

Post by BalrogSoft »

Hi, i made a litle video chat application, if someone want to test it, it's available here: http://www.balrogsoftware.com/mycamchat.html

Image

On this page you can view if the server is online or not.
It is on beta stage if someone can connect to the server to see how it works, it don't need a webcam to connect with the server...
Sparkie
PureBatMan Forever
PureBatMan Forever
Posts: 2307
Joined: Tue Feb 10, 2004 3:07 am
Location: Ohio, USA

Post by Sparkie »

Looks very nice BarlogSoft :)

App hung on Disconnect, so I just clicked Quit. On re-connecting, my User name did not appear in the window as it did the first time I connected. Both times I was able to enter and send text.

WinXPhome SP1
Athlon 1400 cpu
Logitech QuickCam
Last edited by Sparkie on Tue Oct 05, 2004 3:35 pm, edited 1 time in total.
What goes around comes around.

PB 5.21 LTS (x86) - Windows 8.1
vanleth
User
User
Posts: 79
Joined: Sat Jun 28, 2003 4:39 am
Location: Denmark - Valby

Post by vanleth »

Works here from Denmark, but not behind any compagny firewall ect.
BalrogSoft
Enthusiast
Enthusiast
Posts: 203
Joined: Sat Apr 26, 2003 6:33 pm
Location: Spain
Contact:

Post by BalrogSoft »

Hi, i just update the server and client with some bugs found solved, i think that it will work better. One of the bugs are that a user that join to the server, sometimes don't receive the user list.
Berikco
Administrator
Administrator
Posts: 1326
Joined: Wed Apr 23, 2003 7:57 pm
Location: Belgium
Contact:

Post by Berikco »

Very nice
Works fine here behind a NAT firewall
BalrogSoft
Enthusiast
Enthusiast
Posts: 203
Joined: Sat Apr 26, 2003 6:33 pm
Location: Spain
Contact:

Post by BalrogSoft »

Hi, i updated the server and client, now a client video stream is only sent if one user request, decreasing the bandwidth used for server and client, i added more messages for MyCamChat protocol. Now server can set the FPS and quality of webcam videostream, to configure the server for your inet connection speed.

http://www.balrogsoftware.com/mycamchat.html
DarkDragon
Addict
Addict
Posts: 2345
Joined: Mon Jun 02, 2003 9:16 am
Location: Germany
Contact:

Post by DarkDragon »

Well, nobody online :( . Really cool.
bye,
Daniel
BalrogSoft
Enthusiast
Enthusiast
Posts: 203
Joined: Sat Apr 26, 2003 6:33 pm
Location: Spain
Contact:

Post by BalrogSoft »

Hi, i just finished a new version with sound, you can grab the sound with "Ctrl" key and send to the users up to 8 seconds. Now is a complete videoconference application...
plouf
Enthusiast
Enthusiast
Posts: 282
Joined: Fri Apr 25, 2003 6:35 pm
Location: Athens,Greece

Post by plouf »

nice one :) however it crash here when i connected (the program still works but the window tellimg me 'aplication camchat occur an error and should terminated' apears even i f it work until i 'terminate it') i gues its because
my cam does not support RGB format ? however i think that it should not crash...
Christos
Killswitch
Enthusiast
Enthusiast
Posts: 731
Joined: Wed Apr 21, 2004 7:12 pm

Post by Killswitch »

How did you skin the window? - Cool app.
~I see one problem with your reasoning: the fact is thats not a chicken~
kwag
User
User
Posts: 35
Joined: Thu Jul 17, 2003 10:03 pm
Contact:

Post by kwag »

I thought this application was written in PB, but it's not 8O :!:
sec
Enthusiast
Enthusiast
Posts: 792
Joined: Sat Aug 09, 2003 3:13 am
Location: 90-61-92 // EU or ASIA
Contact:

Post by sec »

Any plan for running on linux platform?
BalrogSoft
Enthusiast
Enthusiast
Posts: 203
Joined: Sat Apr 26, 2003 6:33 pm
Location: Spain
Contact:

Post by BalrogSoft »

To Plouf: i will take a look to videostream capture code to avoid crash when the image format isn't RGB. It's probably that it crash for this reason, but on some computers it don't crash when you use a non RGB format... It could be your camera drivers that are not correctly coded (i know that some cameras have poor drivers).

To Killswitch: It's very easy, i discovered a usefull command to add image patterns to your window, without use a callback procedure:

Code: Select all

patternbrush = CreatePatternBrush_(UseImage(1))
SetClassLong_(hwnd,#GCL_HBRBACKGROUND,patternbrush)
and delete the brush object after use your application:

Code: Select all

DeleteObject_(patternbrush)
and to make it without a window style use the flat of borderless and use this:

Code: Select all

Rgn = CreateRoundRectRgn_(0, 0, 200, 280, 30, 30) 
SetWindowRgn_(hWnd, Rgn, #True) 
HideWindow(0, 0)
To Sec: If i have some time to install Linux again and install PB for linux, i can try to port this program... but i'm not sure...
BalrogSoft
Enthusiast
Enthusiast
Posts: 203
Joined: Sat Apr 26, 2003 6:33 pm
Location: Spain
Contact:

Post by BalrogSoft »

Hi, i made a new version of MyCamChat, now the server is available, and the client show the servers online on any moment. To download go to this web: http://www.balrogsoftware.com/mycamchat.html
Post Reply