Page 1 of 1

Video chat

Posted: Tue Dec 10, 2013 12:05 pm
by captain_skank
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

Re: Video chat

Posted: Wed Dec 11, 2013 12:51 pm
by ewardd
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.

Re: Video chat

Posted: Thu Dec 12, 2013 10:01 am
by captain_skank
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.

Re: Video chat

Posted: Thu Dec 12, 2013 3:36 pm
by IdeasVacuum

Re: Video chat

Posted: Sat Dec 14, 2013 6:54 am
by JustinJack
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.

Re: Video chat

Posted: Wed Mar 05, 2014 1:20 am
by ehowington
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

Posted: Fri Jan 09, 2015 5:38 pm
by bgeraghty
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/

Re: Video chat

Posted: Fri Jan 09, 2015 10:10 pm
by infratec
Hi,

WebRTC :?:

http://www.codeproject.com/Articles/480 ... -Web-Offer

Maybe with WebGadget()

Bernd