HRESULT MFEnumDeviceSources(In IMFAttributes *pAttributes, Out IMFActivate ***pppSourceActivate,
Out UINT32 *pcSourceActivate);
At Windows 7 and Visual Studio 2012 platform, and use this function but pcSourceActivate return 0 and
pppSourceActivate is null.But actually machine has 9 video capture cards.Anyone help me for this problem?
Media Foundation supports a sub-range of what is known to be a video capture device in Windows. Perhaps the ones you have don't have support in Media Foundation.
From MSDN:
Starting in Windows 7, Media Foundation automatically supports audio
and video capture devices.For video, the device must provide a kernel
streaming (KS) minidriver in the video capture category. Media
Foundation uses the PnP path to enumerate the device. For audio, Media
Foundation uses the Windows Multimedia Device (MMDevice) API to
enumerate audio endpoint devices. If the device meets these criteria,
there is no need to implement a custom media source.
The easiest way to tell if MS supports specific device is to use TopoEdit tool from SDK to see if it lists the devices.
Related
I am planning to develop an iOS application where I need to use VOIP services. I found Liblinphone which is one such open source API for VOIP.
My requirements:
Making voice call & receiving
Making video calls & receiving
Making voice call conferences.
Are these all possible with Liblinphone? Are there any other opensource VOIP libraries for achieving this better than Liblinphone?
Any help and tutorial links are a big helpfor me.
You may take a look at siphon (http://code.google.com/p/siphon/).
From their homepage:
Home of the World's first free SIP/VoIP application for iPhone and iPod Touch 1 and 2.
Siphon SIP/VoIP project is the first in his category that works on iPhone and iPod Touch 2 with headset for all SIP providers. It is a native application approved running on 2.X using internal micro/speaker and headset.
The Application supports the SIP standard, preserving compatibility with hundreds of SIP providers and offers a GUI which preserves the apple design of native iPhone applications.
I am attempting to get a Microsoft HD-3000 webcam working on Windows CE 4.2 and 6.0.
I have given up with 4.2, but 6.0 certainly looks possible with DirectDraw and the DDrawCameraTest.exe app that can be built from the CE 6 dev environment in VS2005.
I have used a codeplex usb webcam driver (https://cewebcam.codeplex.com/) which detects the camera fine (and I checked the entries are added to the registry), but from the debug info when I run the DDrawCameraTest.exe the process aborts at the following step:
hr = g_DShowCaptureGraph.RunGraph();
where hr is an instantiation of CCaptureFramework.
This obviously means I do not have the directdraw video capture component of CE installed on this particular image, but I do not have control of that.
Question - How can I either install directdraw video capture components to CE 6 on the device (CAB installer etc.) OR can I access a webcam without directdraw?
You may access the camera without DD by calling the driver's IOCTLs directly.
Drivers must support some specific IOCTLs to be able to be accessed from DD and those are documented on MSDN (I don't have a link at the moment and MSDN links change so fast that a google search looking for IOCTLs implemented by the webcam driver may be the best way to find the information you need :))
I have a j2me app built for a CDC device. I have used Personal profile to display the UI.
However now I need to play audio. AFAIK in j2me I can play audio only through J2me MMAPI i.e JSR135.
But on my device I don't have this. So can someone provide me input how I should go about porting this jsr on my device. It is a linux based ARM device. I had built and compiled cdc and personal profile by myself and ported on to the device. But now I am unable to find source code for Mobile media api.
Or do you have any option other than MMAPI to play audio?
I am unable to find source code for Mobile media api
Well as far as I can tell, above is available in an open source project PhoneME. MMAPI classes like Player, Manager, Control etc are shown at below link to their SVN code repository:
svn / components / jsr135 / trunk / src / share / core / javax / microedition / media
I developed the game in j2me. I need emulator for screen 240x400 touch and 360x640 touch. Where should i get ?
Download any of the manufacturers custom SDKs (SonyEricsson, Nokia, LG, Motorola )and find a device with your resolution
PS: It may be difficult as many of them moved to Android or other technologies
I'm currently involved in a research project that requires me to access a Windows Mobile Camera and sound recorder with J2ME to, well take pictures and record sound... the phone has to be a windows mobile for some reason that has nothing to do with me and the software has to be written in Java, also not my decision.
So I need to try and find a phone that supports this (if one exists) so I'd like to know if anyone has found one?
Thank You For Your Help.
(Note the phone supporting MMAPI (JSR 135) does not imply that you can use the camera and sound recorder, our current phone has this and has not access).
First, if you have any Windows Mobile 6.x device, please try to use JVM build for Windows Mobile from Sun Microsystems => http://blogs.oracle.com/javamesdk/entry/jvm_for_windows_mobile
Or, you can buy LG Monaco (WM 6.5) from AT&T network. It has Java ME with MMAPI camera support. Also, LG Incite (WM 6.1) have MMAPI camera support.
As I know, recent HTC WM device with Java ME also support MMAPI camera features.
Good luck.