From: Navigateur on
This is very interesting and enlightening.

Maxim: by events/variables, I mean my own basic detection events/
variables fired by me, not video events. Can DS filters perform bi-
directional inter-process communication? (If not then I cannot use it
for my image processing/detection part. If yes then it's a candidate)

Tim: So are sockets truly cross-platform and expose events and
variables between applications regardless of platform? How does it
compare to CORBA and why wouldn't I use that? Or is it the same thing?
I particularly want to easily reach 3rd party web apps via browser-add
ons (that I will write e.g. I know Mozilla uses XPCOM, and IE uses
ActiveX). So what's the most convenient single IPC stream that I
should have running?

Regardless of the architecture I choose, am I right that I would
definitely need an .exe running to kick-start and run the DirectShow
filter? There's no way of a filter "self-running" all the time, right?
So I have another stupid beginner question: can I have this
application instantiate automatically when the device is plugged in,
and which stops when they unplug it? (Additionally, can I make it
restart every time they force-kill the process in "Task Manager"?)

On Aug 6, 7:28 am, "Maxim S. Shatskih"
<ma...(a)storagecraft.com.no.spam> wrote:
> >How would I make the 2 specific cameras be recognized and registered
> >as one (specific) device?
>
> You need to design a way to merge the 2 video streams first.
>
> Then, this "merger" should be implemented as one more DirectShow filter.
>
> >Could I still use UVC drivers + a custom KS
> >proxy DirectShow plug-in?
>
> Yes.
>
> >DirectShow events, CORBA
>
> How is this related? isn't this a Linux replacement for SOAP and similar things? how is it related to video?
>
> Surely DirectShow supports properties on filters.
>
> --
> Maxim S. Shatskih
> Windows DDK MVP
> ma...(a)storagecraft.comhttp://www.storagecraft.com

From: Maxim S. Shatskih on
>Maxim: by events/variables, I mean my own basic detection events/
>variables fired by me, not video events. Can DS filters perform bi-

Write your app which will host a DS graph, and expose OA events and methods from it.

>Regardless of the architecture I choose, am I right that I would
>definitely need an .exe running to kick-start and run the DirectShow
>filter?

Correct.

>So I have another stupid beginner question: can I have this
>application instantiate automatically when the device is plugged in,

Write an additional service/Run key app which will monitor the device arrival events, or start the app from the coinstaller DLL.

>and which stops when they unplug it? (Additionally, can I make it
>restart every time they force-kill the process in "Task Manager"?)

This would be a major misfeature. If the user wants to kill the app, he must be able to do this.

--
Maxim S. Shatskih
Windows DDK MVP
maxim(a)storagecraft.com
http://www.storagecraft.com

From: Navigateur on
What are OA events?
>
> Write your app which will host a DS graph, and expose OA events and methods from it.
>
From: Maxim S. Shatskih on
OLE Automation events

--
Maxim S. Shatskih
Windows DDK MVP
maxim(a)storagecraft.com
http://www.storagecraft.com

"Navigateur" <naveen.chwl(a)gmail.com> wrote in message news:17667a7f-4d93-4046-8f20-a679f19e123c(a)v15g2000yqe.googlegroups.com...
> What are OA events?
>>
>> Write your app which will host a DS graph, and expose OA events and methods from it.
>>
From: Navigateur on
So what's the most convenient single IPC stream that I should have
running for all third-party app developers to use (including web
apps)? This seems the trickiest and most important choice that I have
to make.

How would I use sockets in the most convenient and cross-platform way?
Is it better than using OLE Automation? CORBA? XPCOM? Can I use all at
the same time or would it slow the application down?

On Aug 6, 7:44 am, Tim Roberts <t...(a)probo.com> wrote:
> Navigateur <naveen.c...(a)gmail.com> wrote:
>
> >What's your recommended overall architecture for this?
>
> >How would I make the 2 specific cameras be recognized and registered
> >as one (specific) device?
>
> You wouldn't.  You would have an APPLICATION connect to those two cameras
> in standard DirectShow graphs, and have the application expose services to
> clients.  Perhaps as a COM server, or a network server, or some other
> interprocess communication stream.
>
> >Could I still use UVC drivers + a custom KS proxy DirectShow plug-in?
>
> Well, if you don't want to provide streaming data from these cameras, why
> would you consider combining the two in KS?
>
> Really, that's a bad idea to begin with.
>
> >For events/variables, should I use
> >DirectShow events, CORBA or something else? (given that I want the
> >events/variables to be easily available to multiple applications
> >running on all platforms, not only by native Windows apps).
>
> To go cross-platform, you're pretty much locked in to sockets.
> --
> Tim Roberts, t...(a)probo.com
> Providenza & Boekelheide, Inc.