VideoConference plugin (1 Viewer)

PTCoder

Portal Member
April 11, 2006
25
1
47
PORTUGAL
Home Country
Portugal Portugal
Hello i´m thinking on making a video conference plugin!
I'm a small microprocessor programmer (microchip pics and scenix) not a c# programmer however i have managed to code a standalone videoconference app wich works quite well. Now i would like to port it to MP, but i'm stuck in the very first step. Capturing webcam! In my original code it's very simple:

private void webCamCapture_ImageCaptured(object source, WebCam_Capture.WebcamEventArgs e)
{
this.pictureBox1.Image = e.WebCamImage;}

How do i do something like this in mediaportal? I can't find any mediaportal.gui.library control with something like a image property!!

Did this made sense to anyone? I know my english sucks!
 

CHli

Portal Pro
July 5, 2005
1,251
14
Switzerland
Home Country
Switzerland Switzerland
I think you'll have to access your Image bytes directly and reconstruct something to be played with the g_Player or just update a texture. I don't know if dynamic textures are supported by MP (I assume yes).

I have some code to fill a texture efficiently if needed.

To access Image internal buffer you should read :

http://www.bobpowell.net/lockingbits.htm (the whole faq is a must read)
 

PTCoder

Portal Member
April 11, 2006
25
1
47
PORTUGAL
Home Country
Portugal Portugal
Thanks

I think you'll have to access your Image bytes directly and reconstruct something to be played with the g_Player or just update a texture. I don't know if dynamic textures are supported by MP (I assume yes).

I have some code to fill a texture efficiently if needed.

To access Image internal buffer you should read :

http://www.bobpowell.net/lockingbits.htm (the whole faq is a must read)

Thank you for your help, i don't think updating a texture is possible,so g_player is the way to go, converting the image to stream is straight forward and the basics of a videoconference plugin, but g_player.play(stream) doesn't exhist???? only g_player(string strUrl)!
Any ideas?
Is there anyone interested in trying to develop or co-develop a local and remote network video conferencing system between MP's?
 

Users who are viewing this thread

Top Bottom