Shoutbox

solved (?): how to know when a webcam session starts? - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Messenger Plus! for Live Messenger (/forumdisplay.php?fid=4)
+---- Forum: Scripting (/forumdisplay.php?fid=39)
+----- Thread: solved (?): how to know when a webcam session starts? (/showthread.php?tid=81788)

solved (?): how to know when a webcam session starts? by dmenor on 02-21-2008 at 01:01 AM

edit: I think I've "kind of" solved this, with sniffer.. read the second answer of this post...


Hello everyone

Is there a way to know, in my script, when the user started a webcam session? Maybe trough some kind of a callback or similiar??

anyone can help? any ideias on how to acomplish this?

thanks!!!


RE: how to know when a webcam session starts? by dmenor on 02-21-2008 at 02:34 PM

anyone? any thoughts?


RE: how to know when a webcam session starts? by dmenor on 02-21-2008 at 07:59 PM

Hello again

Ok, i've searching for a solution of this problem and, well, there isn't an easy one (of course)...

but I found this thread:

http://shoutbox.menthix.net/showthread.php?tid=70944&pid=781202

Saying that, using a sniffer, I could find all INVITE messages with a Application-GUID of 2A23868E-B45F-401d-B8B0-1E16B774A5B7

but, with my tests with this sniffer, I realized that every time a click on the "show my webcam" button, I got a INVITE message with a Application-GUID (EUF-GUID) of {4BD96FC0-AB17-4425-A14A-439185962DC8}

so what i'm trying to do is:

1) get an INVITE message with EUF-GUID of {4BD96FC0-AB17-4425-A14A-439185962DC8} (this mean the webcam started);

2) get the SessionID of the above message;

3) if I get an BYE message whit the same SessionID of the INVITE message, it means the webcam stopped;

i'm still testing here but I post result as soon as I get them, ok? any comments on my "solution"??? :)

thanks!