Re: [GnomeMeeting-list] serial port access from gnomemeeting



I needed to do that because of a phone-like device i'm making. it connects to the mic in and speaker out, and takes control signals from the serial port. so i thought it would be good if i could make it ring each time gnomemeeting establises an audio connection, which is isn't a great idea because the call has to be accepted via the PC anyway! ideally, i'd like to be able to be able to accept gnomemeeting calls via this phone (using RS232). but putting signals into GTK seems a little bit out of my league. i might be able to write a little program that controls the mouse pointer to do what i want... or i might just leave it :)


From: Damien Sandras <dsandras seconix com>
Reply-To: gnomemeeting-list gnome org
To: gnomemeeting-list gnome org
Subject: Re: [GnomeMeeting-list] serial port access from gnomemeeting
Date: 06 Aug 2002 17:59:57 +0200

Le mar 06/08/2002 à 17:43, Paul V a écrit :
> Hi all,
>
> I'm wondering, is it possible to write something to the serial port each
> time an audio connection in Gnomemeeting is established? All I want to do is

Yes :)

> write something to the serial port (ie. /dev/ttyS0) when a voice link in
> Gnomemeeting is established or disconnected. If it is possible, any
> suggestions on which files/functions I should look at modifying?

Simply write your function that outputs data to the serial port, add it
in src/misc.cpp. Then in src/endpoint.cpp, function OpenAudioChannel,
add a call to your function. You can test the value of isEncoding to
know if the opened audio channel is for audio transmission or audio
reception.

Just curious, why do you need that?
>
> Many Thanks,
>
> Paul
>
>
>
> _________________________________________________________________
> Send and receive Hotmail on your mobile device: http://mobile.msn.com
>
> _______________________________________________
> Gnomemeeting-list mailing list
> Gnomemeeting-list gnome org
> http://mail.gnome.org/mailman/listinfo/gnomemeeting-list
--
 _	Damien Sandras
(o-	GnomeMeeting - H.323 Videoconferencing Application -
//\		web:  http://www.gnomemeeting.org/
v_/_	H.323 phone:  callto://ils.seconix.com/dsandras seconix com


_______________________________________________
Gnomemeeting-list mailing list
Gnomemeeting-list gnome org
http://mail.gnome.org/mailman/listinfo/gnomemeeting-list




_________________________________________________________________
Join the world’s largest e-mail service with MSN Hotmail. http://www.hotmail.com




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]