Hi All,
Anyone ever written a client to client vidoe chat in PB ??
I'd like to include it in my own program for use within my own network, but really have no clue if it is even possible.
Anybody been down this road ? is it even possible ? any help / comments appreciated.
Cheers
Video chat
- captain_skank
- Enthusiast
- Posts: 641
- Joined: Fri Oct 06, 2006 3:57 pm
- Location: England
Re: Video chat
Hi
I tryed to create video chat. I did take foto from cam, save it as file, send it and in 2nd program receive it and update image gadget.
But i failed. Dont know why it just stopped to send images. That was long time ago.
I tryed to create video chat. I did take foto from cam, save it as file, send it and in 2nd program receive it and update image gadget.
But i failed. Dont know why it just stopped to send images. That was long time ago.
- captain_skank
- Enthusiast
- Posts: 641
- Joined: Fri Oct 06, 2006 3:57 pm
- Location: England
Re: Video chat
Having looked at it - I think i'm going to have to prat around with gstreamer.
Will have a look at it over the christmas break.
Will have a look at it over the christmas break.
-
- Always Here
- Posts: 6426
- Joined: Fri Oct 23, 2009 2:33 am
- Location: Wales, UK
- Contact:
Re: Video chat
Take a look at OpenCV
http://www.purebasic.fr/english/viewtop ... 66#p432666
http://www.purebasic.fr/english/viewtop ... 66#p432666
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
If it sounds simple, you have not grasped the complexity.
-
- User
- Posts: 89
- Joined: Thu Feb 04, 2010 7:34 am
- Location: Decatur, TX
- Contact:
Re: Video chat
Hey. Sorry if this is sloppy. Writing this quickly from my phone. I have written SIP VoIP clients, from start to finish, rtp mixers for conferencing and echo cancellation code in pb and in c. No libs.
I'd be happy to help you with this. The only bit I don't know off the top of my head is the directshow API for capturing video frames. For audio, I use wavein/out functions. VFW has worked in the past for me playing around with this very thing..but now it always pops up a dumb dialog to the user when you connect to the webcam in win7 and 8.
If you can get me a video stream that executes a callback with a pointer to a data buffer containing bitmqp bits maybe a BITMAPINFO struct, I can handle the SIP, RTP, playback, mixing, audio, compression, and echo cance llation.
If you're interested I'd also (of course) like to keep anything we come up with on the forum.
I'd be happy to help you with this. The only bit I don't know off the top of my head is the directshow API for capturing video frames. For audio, I use wavein/out functions. VFW has worked in the past for me playing around with this very thing..but now it always pops up a dumb dialog to the user when you connect to the webcam in win7 and 8.
If you can get me a video stream that executes a callback with a pointer to a data buffer containing bitmqp bits maybe a BITMAPINFO struct, I can handle the SIP, RTP, playback, mixing, audio, compression, and echo cance llation.
If you're interested I'd also (of course) like to keep anything we come up with on the forum.
-
- Enthusiast
- Posts: 115
- Joined: Sat Sep 12, 2009 3:06 pm
Re: Video chat
JustinJack wrote:Hey. Sorry if this is sloppy. Writing this quickly from my phone. I have written SIP VoIP clients, from start to finish, rtp mixers for conferencing and echo cancellation code in pb and in c. No libs.
I'd be happy to help you with this. The only bit I don't know off the top of my head is the directshow API for capturing video frames. For audio, I use wavein/out functions. VFW has worked in the past for me playing around with this very thing..but now it always pops up a dumb dialog to the user when you connect to the webcam in win7 and 8.
If you can get me a video stream that executes a callback with a pointer to a data buffer containing bitmqp bits maybe a BITMAPINFO struct, I can handle the SIP, RTP, playback, mixing, audio, compression, and echo cance llation.
If you're interested I'd also (of course) like to keep anything we come up with on the forum.
I would be interested very much on this project as I have been working on just that If you gents would like to team up I am all for that!!!!!!!!!!!
Re: Video chat
I have found some good results with this, if you don't mind using a DLL. (Its about 130kb)
There are included PB examples with version 2.1 that will get you up and streaming images from a cam right away.
http://sol.gfxile.net/escapi/
There are included PB examples with version 2.1 that will get you up and streaming images from a cam right away.
http://sol.gfxile.net/escapi/
SolveMyIssue_() - No QuickHelp available.