Supported Webcams for HomeOS

Nov 8, 2013 at 3:33 PM
Edited Nov 8, 2013 at 3:34 PM
Hi,

We have been using the rocketfish HD webcam with HomeOS, however, it fails to begin recording video. We receive the following error message:

2013-11-08 11:30:00Z Failed to start recording for rocketfishWebCam at 11/8/2013
11:30:00 AM. Error code = -1072875852
2013-11-08 11:30:00Z Failed to add frame for rocketfishWebCam. ResultCode: fffff
fff

We have traced this error to VideoWriter.cpp where it fails on the following command:
 if (SUCCEEDED(hr))
    {
        hr = pSinkWriter->SetInputMediaType(streamIndex, pMediaTypeIn, NULL);   
    }
However, code that implements SetInputMediaType could not be found in the source code, and we believe the issue may be due to an unsupported WebCam. Can you verify this or point us in the direction of a solution?

Thanks
Coordinator
Nov 8, 2013 at 8:54 PM
Hi there,
Are you running this from the output files in the Release.zip? If yes, are you using the latest, from Nov 6?


Danny
Nov 9, 2013 at 8:23 PM
Hello Danny,

I am working with fryeap on this project. We tried to run this on the newest release (we downloaded it on November 8th), but we received an error that shuts down homeOS whenever we start it. Fryeap posted about this issue with Beta2 yesterday in another thread. The error above occurs when we run it on the old release. When we run on the old release, we are able to find the device and press record, but it is unable to write to the file due to the error above. Do you have any other suggestions?

Thanks,
Jeremy
Coordinator
Nov 10, 2013 at 12:30 AM
Hi Jeremy,
Can you post your homeos log so I can take a look at your issue with more details? It's in output\Data\Platform\homeos.log
Thanks,
Danny
Nov 11, 2013 at 4:22 PM
Hello Danny,

Here is the log when we try to run the newest release Beta2. Unfortunately my partner is on a trip and he took the rocketfish webcam. I also do not have access to his PC so I cannot get the log files for when we recorded video using the older release. Hopefully the log for Beta2 will be enough.
2013-11-04 10:20:31Z Platform initialized
2013-11-04 10:20:32Z Homestore refresh was triggered
2013-11-04 10:21:10Z UICalled:IsConfigNeededWeb
2013-11-04 10:21:10Z UICalled:GetVisibleWifiNetworksWeb
2013-11-04 10:21:34Z Platform initialized
2013-11-04 10:21:35Z Homestore refresh was triggered
2013-11-04 10:22:51Z UICalled:IsConfigNeededWeb
2013-11-04 10:22:51Z UICalled:GetVisibleWifiNetworksWeb
2013-11-04 10:37:53Z Platform initialized
2013-11-04 10:37:54Z Homestore refresh was triggered
2013-11-04 10:37:54Z UICalled:GetVisibleWifiNetworksWeb
2013-11-04 10:38:10Z UICalled:GetVisibleWifiNetworksWeb
2013-11-11 12:16:27Z Platform initialized
2013-11-11 12:16:28Z Homestore refresh was triggered
2013-11-11 12:16:52Z UICalled:IsConfigNeededWeb
2013-11-11 12:16:52Z UICalled:GetVisibleWifiNetworksWeb
2013-11-11 12:16:52Z Error while scanning for Wifi networks: System.ComponentModel.Win32Exception (0x80004005): The service has not been started
at HomeOS.Hub.Platform.ManagedWifi.Wlan.ThrowIfError(Int32 win32ErrorCode) in c:\Users\v-dannhu\Downloads\codeplex-new\Hub\Platform\ManagedWifi\Interop.cs:line 1603
at HomeOS.Hub.Platform.ManagedWifi.WlanClient..ctor() in c:\Users\v-dannhu\Downloads\codeplex-new\Hub\Platform\ManagedWifi\WlanApi.cs:line 633
at HomeOS.Hub.Platform.GuiService.GetVisibleWifiNetworksWeb() in c:\Users\v-dannhu\Downloads\codeplex-new\Hub\Platform\Platform\GuiService.cs:line 384
2013-11-11 12:17:08Z UICalled: SetHomeIdWeb: jskim
2013-11-11 12:17:08Z fetching scout HomeOS.Hub.Scouts.WebCam v from reps
2013-11-11 12:17:08Z URI: file:///C:\Users\jsk9bs\release\Release\output\binaries\Platform/../../HomeStore/repository/HomeOS/Hub/Scouts/WebCam//HomeOS.Hub.Scouts.WebCam.zip is invalid. Got WebException.
2013-11-11 12:17:08Z Can't find HomeOS.Hub.Scouts.WebCam v on any rep.
2013-11-11 12:17:08Z starting scout HomeOS.Hub.Scouts.WebCam using dll C:\Users\jsk9bs\release\Release\output\binaries\Scouts\HomeOS.Hub.Scouts.WebCam\HomeOS.Hub.Scouts.WebCam.dll at url http://localhost:51430/jskim/scouts/HomeOS.Hub.Scouts.WebCam
2013-11-11 12:17:08Z WebCamScout initialized
2013-11-11 12:17:10Z [ConfigUpdater][INFO][ConfigUpdaterWebService initiated at http://localhost:51430/jskim/config] 2013-11-11 12:17:10Z Starting HomeService to www.lab-of-things.net:5002 with homeid jskim
2013-11-11 12:17:10Z No exact-match-version token found for Module: Binary name: HomeOS.Hub.Drivers.ZwaveZensys_4_55, App Name: zwave driver based on zensys sdk, Version:
2013-11-11 12:17:10Z URI: file:///C:\Users\jsk9bs\release\Release\output\binaries\Platform/../../HomeStore/repository/HomeOS/Hub/Drivers/ZwaveZensys_4_55//HomeOS.Hub.Drivers.ZwaveZensys_4_55.zip is invalid. Got WebException.
2013-11-11 12:17:10Z Can't find HomeOS.Hub.Drivers.ZwaveZensys_4_55 v on any rep.
2013-11-11 12:17:10Z No matching token at all found for Module: Binary name: HomeOS.Hub.Drivers.ZwaveZensys_4_55, App Name: zwave driver based on zensys sdk, Version:
2013-11-11 12:17:10Z Warning: WiFi credentials are not configured
2013-11-11 12:17:10Z UICalled:SetNotificationEmail jsk9bs@virginia.edu 2013-11-11 12:17:10Z HomeService Received 'Version' message with 1 bytes of data.
2013-11-11 12:17:10Z HomeService Server is using protocol version #1
2013-11-11 12:17:10Z HomeService Received 'PleaseIdentify' message with 0 bytes of data.
2013-11-11 12:17:10Z HomeService Sending Identification message
2013-11-11 12:17:10Z HomeService Received 'PleaseAuthenticate' message with 1 bytes of data.
2013-11-11 12:17:10Z HomeService Authentication request is for type Simple
2013-11-11 12:17:10Z HomeService Sending SimpleAuthentication message
2013-11-11 12:17:10Z [ConfigUpdater][INFO][initiating ConfigSync]
2013-11-11 12:17:10Z HomeService Received 'Authenticated' message with 0 bytes of data.
2013-11-11 12:17:10Z Sending RegisterService message
2013-11-11 12:17:11Z [ConfigUpdater][EXCEPTION][BlockBlob: /Default/Default/jskim/config/actual/actualconfig.zip does not exist.]
2013-11-11 12:17:11Z [ConfigUpdater][ConfigUpload][/Default/Default/jskim/config/actual/actualconfig.zip][Modules.xml,e46faa41f7eeaf8d307815c1c825f9e5;Rules.xml,52f2fed978707a84c4812fe664379e29;Scouts.xml,816d9b4bbb8812160bbe314cd444d4ad;Services.xml,83db91dff3fce3d31a5b6218c1ce3df5;Settings.xml,b7bc089ff2e1e507658514f486ef025f;]
2013-11-11 12:17:11Z [ConfigUpdater][EXCEPTION][BlockBlob: /Default/Default/jskim/config/desired/desiredconfig.zip does not exist.]
2013-11-11 12:17:11Z [ConfigUpdater][ConfigDownload][failed]
2013-11-11 12:17:11Z Checking for unique Home ID: {"HardwareId":"cpu:BFEBFBFF000306A9 hdd:20D44381","HomeId":"jskim"}
2013-11-11 12:17:11Z Sending heartbeat: {"HardwareId":"cpu:BFEBFBFF000306A9 hdd:20D44381","HeartbeatIntervalMins":1,"HomeId":"jskim","HubTimestamp":"11\/11\/2013 5:17:10 PM","ModuleMonitorInfoList":[{"ModuleFriendlyName":"platform","MonitoringSurvivedMemorySize":3215237,"MonitoringSurvivedProcessMemorySize":3215237,"MonitoringTotalAllocatedMemorySize":20470468,"MonitoringTotalProcessorTime":951}],"OrgId":"Default","PhysicalMemoryBytes":54329344,"SequenceNumber":0,"StudyId":"Default","TotalCpuPercentage":0}
2013-11-11 12:17:12Z UICalled:IsConfigNeededWeb
2013-11-11 12:17:12Z UICalled:GetConfSettingWeb HomeId
2013-11-11 12:17:12Z UICalled:GetInstalledAppsWeb
2013-11-11 12:17:12Z Successfully checked for unique Home ID for {"HardwareId":"cpu:BFEBFBFF000306A9 hdd:20D44381","HomeId":"jskim"}
2013-11-11 12:17:12Z Hurray, we are unique. Going online now
2013-11-11 12:17:13Z Heartbeat for {"HardwareId":"cpu:BFEBFBFF000306A9 hdd:20D44381","HeartbeatIntervalMins":1,"HomeId":"jskim","HubTimestamp":"11\/11\/2013 5:17:10 PM","ModuleMonitorInfoList":[{"ModuleFriendlyName":"platform","MonitoringSurvivedMemorySize":3215237,"MonitoringSurvivedProcessMemorySize":3215237,"MonitoringTotalAllocatedMemorySize":20470468,"MonitoringTotalProcessorTime":951}],"OrgId":"Default","PhysicalMemoryBytes":54329344,"SequenceNumber":0,"StudyId":"Default","TotalCpuPercentage":0} posted to Server successfully
2013-11-11 12:17:13Z Got unhandled exception from Name:HomeOS.Hub.Platform.exe
There are no context policies.
: System.UnhandledExceptionEventArgs
Exception: System.Runtime.InteropServices.COMException (0x80040154): Retrieving the COM class factory for component with CLSID {031913FE-EB2A-49F2-B2BE-B996B2448CD4} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)).
at Microsoft.Synchronization.Files.FileSyncProvider..ctor(Guid replicaId, String rootDirectoryPath, FileSyncScopeFilter scopeFilter, FileSyncOptions fileSyncOptions, String metadataDirectoryPath, String metadataFileName, String tempDirectoryPath, String pathToSaveConflictLoserFiles)
at Microsoft.Synchronization.Files.FileSyncProvider..ctor(String rootDirectoryPath)
at HomeOS.Hub.Common.DataStore.AzureSynchronizer.SetLocalSource(String FqDirName) in c:\Users\v-dannhu\Downloads\codeplex-new\Hub\Common\DataStore\Sync\AzureSynchronizer.cs:line 53
at HomeOS.Hub.Common.Logger.InitSyncing(String accountName, String accountKey, String containerName) in c:\Users\v-dannhu\Downloads\codeplex-new\Hub\Common\Logger.cs:line 132
at HomeOS.Hub.Platform.Platform.UniqueHomeIdCheckCompleted(Boolean isUnique) in c:\Users\v-dannhu\Downloads\codeplex-new\Hub\Platform\Platform\Platform.cs:line 718
at HomeOS.Hub.Platform.HeartbeatService.webClient_CanIClaimHomeIdCompleted(Object sender, UploadStringCompletedEventArgs arg) in c:\Users\v-dannhu\Downloads\codeplex-new\Hub\Platform\Platform\HeartbeatService.cs:line 179
at System.Net.WebClient.OnUploadStringCompleted(UploadStringCompletedEventArgs e)
at System.Net.WebClient.UploadStringOperationCompleted(Object arg)
at System.Threading.QueueUserWorkItemCallback.WaitCallback_Context(Object state)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
at System.Threading.ThreadPoolWorkQueue.Dispatch()
at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()
Let me know if you need any other information.

Thanks,

Jeremy
Coordinator
Nov 11, 2013 at 5:59 PM
Thanks for attaching the log, Jeremy.
It still looks like an issue related to MS Sync Framework missing. Can you confirm that you have downloaded and installed the x86 versions of ProviderServices and Synchronization from here? http://www.microsoft.com/en-us/download/details.aspx?id=19502

I noticed that this is the log from the older version of Release.zip. As I mentioned in another reply, the latest is needed because the older one has some incorrect config entries. Have you ever installed the webcam and cameraviewer app through the dashboard?

Danny
Nov 11, 2013 at 9:32 PM
Hey Danny,

Thank you for the response. I realized that I had installed the wrong version of the MS Sync Framework. Now that I have the x86 version, I am able to access the dashboard.

I was able to obtain a logitech webcam, so I wanted to test it against the release. When I first open the dashboard, I am able to find the device, and install the webcam and the cameraviewer app. When I open cameraviewer though, I get a blank box where I am supposed to get the video feed. And when I press record, nothing happens. Here is an excerpt from the homeos log file:
2013-11-11 17:06:18Z Discovered new device: Logitech HD Pro Webcam C920
2013-11-11 17:06:20Z UIcalled: StartDriver Logitech HD Pro Webcam C920
2013-11-11 17:06:20Z WARNING: Starting an inexact match for HomeOS.Hub.Drivers.WebCam for Logitech HD Pro Webcam C920
2013-11-11 17:06:20Z ctrlport adding capability: cap:HomeOS.Hub.Drivers.WebCam for Logitech HD Pro Webcam C920:12/31/9999 11:59:59 PM:2089405045
2013-11-11 17:06:20Z Initialized HomeOS.Hub.Drivers.WebCam for Logitech HD Pro Webcam C920
2013-11-11 17:06:20Z UICalled: GetAllLocations
2013-11-11 17:06:20Z UICalled:IsDeviceReady Logitech HD Pro Webcam C920
2013-11-11 17:06:20Z Device not ready yet. Try again.
2013-11-11 17:06:20Z Will use camera Logitech HD Pro Webcam C920
2013-11-11 17:06:20Z webcam - Logitech HD Pro Webcam C920 adding capability: cap:HomeOS.Hub.Drivers.WebCam for Logitech HD Pro Webcam C920:12/31/9999 11:59:59 PM:1641878413
2013-11-11 17:06:20Z platform added webcam - Logitech HD Pro Webcam C920-HomeOS.Hub.Drivers.WebCam for Logitech HD Pro Webcam C920 from HomeOS.Hub.Drivers.WebCam for Logitech HD Pro Webcam C920
2013-11-11 17:06:20Z Successfully registered webcam - Logitech HD Pro Webcam C920
2013-11-11 17:06:20Z Error: Couldn't start frame capture on webcam Logitech HD Pro Webcam C920: System.Runtime.InteropServices.COMException (0x8007001F): Error Starting Camera
at WebCamLib.CameraMethods.StartCamera(Int32 camIndex, Int32& width, Int32& height) in c:\users\v-dannhu\downloads\codeplex-new\hub\common\webcam\webcamlib\webcamlib.cpp:line 356
at HomeOS.Hub.Common.WebCam.WebCamWrapper.Camera.Camera.StartCapture() in c:\Users\v-dannhu\Downloads\codeplex-new\Hub\Common\WebCam\WebCamWrapper\Camera\Camera.cs:line 224
at HomeOS.Hub.Common.WebCam.WebCamWrapper.Camera.CameraFrameSource.StartFrameCapture() in c:\Users\v-dannhu\Downloads\codeplex-new\Hub\Common\WebCam\WebCamWrapper\Camera\CameraFrameSource.cs:line 53
at DriverWebCam.DriverWebCam.GetVideo() in c:\Users\v-dannhu\Downloads\codeplex-new\Hub\Drivers\WebCam\DriverWebCam.cs:line 160
2013-11-11 17:06:21Z UICalled:IsDeviceReady Logitech HD Pro Webcam C920
2013-11-11 17:06:21Z UICalled:GetDeviceDetails Logitech HD Pro Webcam C920
2013-11-11 17:06:21Z UICalled: IsServiceReady http://localhost:51430/jeremy/HomeOS.Hub.Drivers.WebCam for Logitech HD Pro Webcam C920/icon.png
2013-11-11 17:06:21Z UICalled: IsServiceReady = true for http://localhost:51430/jeremy/HomeOS.Hub.Drivers.WebCam for Logitech HD Pro Webcam C920/icon.png
2013-11-11 17:06:21Z UICalled:GetCompatibleAppsNotInstalled Logitech HD Pro Webcam C920
2013-11-11 17:06:21Z UICalled:GetCompatibleAppsInstalledWeb Logitech HD Pro Webcam C920
2013-11-11 17:06:29Z UICalled:InstallAppWeb CameraViewer
2013-11-11 17:06:29Z ctrlport adding capability: cap:CameraViewer:12/31/9999 11:59:59 PM:162531311
2013-11-11 17:06:29Z Initialized CameraViewer
2013-11-11 17:06:29Z UICalled:ConfigureDeviceWeb Logitech HD Pro Webcam C920 logitech False Home System.String[]
2013-11-11 17:06:29Z AddService is called on logitech for HomeOS.Hub.Common.PortInfo loc:Home sec: False #apps 1
2013-11-11 17:06:29Z Started: CameraViewer
2013-11-11 17:06:29Z UICalled:IsConfigNeededWeb
2013-11-11 17:06:29Z UICalled:GetConfSettingWeb HomeId
2013-11-11 17:06:29Z UICalled:IsConfigNeededWeb
2013-11-11 17:06:29Z UICalled:GetConfSettingWeb HomeId
2013-11-11 17:06:29Z UICalled:GetInstalledAppsWeb
2013-11-11 17:06:29Z camera service is open for business at http://localhost:51430/jeremy/CameraViewer 2013-11-11 17:06:29Z CameraViewer successfully received allportslist with 1 ports 2013-11-11 17:06:30Z webcam - Logitech HD Pro Webcam C920 adding capability: HomeOS.Hub.Platform.Adapters.CapabilityC2V
2013-11-11 17:06:30Z CameraViewer got capability for webcam - Logitech HD Pro Webcam C920-HomeOS.Hub.Drivers.WebCam for Logitech HD Pro Webcam C920
2013-11-11 17:06:30Z CameraViewer adding camera port webcam - Logitech HD Pro Webcam C920-HomeOS.Hub.Drivers.WebCam for Logitech HD Pro Webcam C920
2013-11-11 17:06:30Z UICalled: IsServiceReady http://localhost:51430/jeremy/CameraViewer/index.html
2013-11-11 17:06:30Z UICalled: IsServiceReady = true for http://localhost:51430/jeremy/CameraViewer/index.html
2013-11-11 17:07:01Z Module to stop: HomeOS.Hub.Drivers.WebCam
2013-11-11 17:07:01Z Module to stop: HomeOS.Hub.Apps.SmartCam
2013-11-11 17:07:01Z Stopping Module: HomeOS.Hub.Apps.SmartCam
2013-11-11 17:07:06Z Exception in Closing ServiceHost: System.Threading.ThreadAbortException: Thread was being aborted.
at System.Threading.WaitHandle.WaitOneNative(SafeHandle waitableSafeHandle, UInt32 millisecondsTimeout, Boolean hasThreadAffinity, Boolean exitContext)
at System.Threading.WaitHandle.InternalWaitOne(SafeHandle waitableSafeHandle, Int64 millisecondsTimeout, Boolean hasThreadAffinity, Boolean exitContext)
at System.Threading.WaitHandle.WaitOne(TimeSpan timeout, Boolean exitContext)
at System.Runtime.TimeoutHelper.WaitOne(WaitHandle waitHandle, TimeSpan timeout)
at System.ServiceModel.Channels.SyncCommunicationWaiter.Wait(TimeSpan timeout, Boolean aborting)
at System.ServiceModel.ServiceChannelManager.CloseInput(TimeSpan timeout)
at System.ServiceModel.Dispatcher.InstanceContextManager.CloseInput(TimeSpan timeout)
at System.ServiceModel.ServiceHostBase.OnClose(TimeSpan timeout)
at System.ServiceModel.Channels.CommunicationObject.Close(TimeSpan timeout)
at System.ServiceModel.Channels.CommunicationObject.Close()
at HomeOS.Hub.Common.SafeServiceHost.Close() in c:\Users\v-dannhu\Downloads\codeplex-new\Hub\Common\SafeServiceHost.cs:line 156
2013-11-11 17:07:06Z AppDomain cleanup for CameraViewer
2013-11-11 17:07:06Z HomeOS SafeThread named: CameraViewerstop thread, raised exception: System.Threading.ThreadAbortException: Thread was being aborted.
at System.Runtime.Remoting.Channels.CrossAppDomainSink.SyncProcessMessage(IMessage reqMsg)
at System.Runtime.Remoting.Proxies.RemotingProxy.CallProcessMessage(IMessageSink ms, IMessage reqMsg, ArrayWithSize proxySinks, Thread currentThread, Context currentContext, Boolean bSkippingContextChain)
at System.Runtime.Remoting.Proxies.RemotingProxy.InternalInvoke(IMethodCallMessage reqMcmMsg, Boolean useDispatchMessage, Int32 callType)
at System.Runtime.Remoting.Proxies.RemotingProxy.Invoke(IMessage reqMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at HomeOS.Hub.Platform.Contracts.IModule.Stop()
at HomeOS.Hub.Platform.Adapters.ModuleC2V.Stop() in c:\Users\v-dannhu\Downloads\codeplex-new\Hub\Platform\Adapters\AModule.cs:line 145
at HomeOS.Hub.Platform.Platform.<>c__DisplayClass12.<StopModule>b__10() in c:\Users\v-dannhu\Downloads\codeplex-new\Hub\Platform\Platform\Platform.cs:line 1274
at HomeOS.Hub.Common.SafeThread.<>c__DisplayClass2.<.ctor>b__0() in c:\Users\v-dannhu\Downloads\codeplex-new\Hub\Common\SafeThread.cs:line 20
2013-11-11 17:07:06Z Got exception in GetWebImage: System.Threading.ThreadAbortException: Thread was being aborted.
at System.Runtime.Remoting.Channels.CrossAppDomainSink.SyncProcessMessage(IMessage reqMsg)
at System.Runtime.Remoting.Proxies.RemotingProxy.CallProcessMessage(IMessageSink ms, IMessage reqMsg, ArrayWithSize proxySinks, Thread currentThread, Context currentContext, Boolean bSkippingContextChain)
at System.Runtime.Remoting.Proxies.RemotingProxy.InternalInvoke(IMethodCallMessage reqMcmMsg, Boolean useDispatchMessage, Int32 callType)
at System.Runtime.Remoting.Proxies.RemotingProxy.Invoke(IMessage reqMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at HomeOS.Hub.Platform.Contracts.IPortInfo.ModuleFacingName()
at HomeOS.Hub.Platform.Adapters.PortInfoC2V.ModuleFacingName() in c:\Users\v-dannhu\Downloads\codeplex-new\Hub\Platform\Adapters\APortInfo.cs:line 89
at HomeOS.Hub.Platform.Views.VPortInfo.Equals(VPortInfo otherPort) in c:\Users\v-dannhu\Downloads\codeplex-new\Hub\Platform\View\VPortInfo.cs:line 67
at HomeOS.Hub.Platform.Views.VPort.Equals(Object obj) in c:\Users\v-dannhu\Downloads\codeplex-new\Hub\Platform\View\VPort.cs:line 84
at System.Collections.Generic.ObjectEqualityComparer1.Equals(T x, T y)
at System.Collections.Generic.Dictionary
2.FindEntry(TKey key)
at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
at HomeOS.Hub.Apps.SmartCam.SmartCam.GetImage(String friendlyName) in c:\Users\v-dannhu\Downloads\codeplex-new\Hub\Apps\SmartCam\AppSmartCam.cs:line 175
at HomeOS.Hub.Apps.SmartCam.SmartCamSvc.GetWebImage(String cameraFriendlyName) in c:\Users\v-dannhu\Downloads\codeplex-new\Hub\Apps\SmartCam\SmartCamSvc.cs:line 29
2013-11-11 17:07:06Z Stopping Module: HomeOS.Hub.Drivers.WebCam
2013-11-11 17:07:06Z platform got module finished for a module with active ports: HomeOS.Hub.Drivers.WebCam for Logitech HD Pro Webcam C920
2013-11-11 17:07:06Z deregistering port: webcam - Logitech HD Pro Webcam C920-HomeOS.Hub.Drivers.WebCam for Logitech HD Pro Webcam C920
2013-11-11 17:07:06Z AppDomain cleanup for driver for Logitech HD Pro Webcam C920
2013-11-11 17:07:06Z Disposing scout: HomeOS.Hub.Scouts.WebCam
Do you think this is an issue of an incompatible camera?

Thank you,
Jeremy
Coordinator
Nov 11, 2013 at 10:19 PM
Hey Jeremy, It looks like you are still not using the latest Release.zip - I see incorrect paths in your log, which leads me to believe that you have the version before the fix.

Can you make sure you use the latest zip file?

thanks,
Danny
Nov 11, 2013 at 10:28 PM
Edited Nov 11, 2013 at 10:30 PM
Hey Danny,

That is strange, because I specifically downloaded the release today to make sure that I had the newest version (I'm assuming I just go to Home and push download to get the newest version). I am home now, so I don't have access to my other pc/webcam. I will try to download the newest version again tomorrow morning and I'll let you know what happens.

Thanks,
Jeremy
Coordinator
Nov 11, 2013 at 10:43 PM
jskim wrote:
Hey Danny,

That is strange, because I specifically downloaded the release today to make sure that I had the newest version (I'm assuming I just go to Home and push download to get the newest version). I am home now, so I don't have access to my other pc/webcam. I will try to download the newest version again tomorrow morning and I'll let you know what happens.

Thanks,
Jeremy
That is strange. Make sure you get rid of the files from the old version completely. Let me know how it goes.

Danny
Nov 12, 2013 at 2:41 PM
Hey Danny,

I completely deleted the old release and downloaded it again. I got a similar (if not the same) error when I ran the cameraviewer app with the logitech camera. Here is an excerpt from the homeos log:
2013-11-12 10:31:52Z Discovered new device: Logitech HD Pro Webcam C920
2013-11-12 10:31:53Z UIcalled: StartDriver Logitech HD Pro Webcam C920
2013-11-12 10:31:53Z WARNING: Starting an inexact match for HomeOS.Hub.Drivers.WebCam for Logitech HD Pro Webcam C920
2013-11-12 10:31:53Z ctrlport adding capability: cap:HomeOS.Hub.Drivers.WebCam for Logitech HD Pro Webcam C920:12/31/9999 11:59:59 PM:1234977086
2013-11-12 10:31:53Z Initialized HomeOS.Hub.Drivers.WebCam for Logitech HD Pro Webcam C920
2013-11-12 10:31:53Z UICalled: GetAllLocations
2013-11-12 10:31:53Z UICalled:IsDeviceReady Logitech HD Pro Webcam C920
2013-11-12 10:31:53Z Device not ready yet. Try again.
2013-11-12 10:31:53Z Will use camera Logitech HD Pro Webcam C920
2013-11-12 10:31:54Z webcam - Logitech HD Pro Webcam C920 adding capability: cap:HomeOS.Hub.Drivers.WebCam for Logitech HD Pro Webcam C920:12/31/9999 11:59:59 PM:790317766
2013-11-12 10:31:54Z platform added webcam - Logitech HD Pro Webcam C920-HomeOS.Hub.Drivers.WebCam for Logitech HD Pro Webcam C920 from HomeOS.Hub.Drivers.WebCam for Logitech HD Pro Webcam C920
2013-11-12 10:31:54Z Successfully registered webcam - Logitech HD Pro Webcam C920
2013-11-12 10:31:54Z Error: Couldn't start frame capture on webcam Logitech HD Pro Webcam C920: System.Runtime.InteropServices.COMException (0x8007001F): Error Starting Camera
at WebCamLib.CameraMethods.StartCamera(Int32 camIndex, Int32& width, Int32& height) in c:\users\v-dannhu\downloads\codeplex-new\hub\common\webcam\webcamlib\webcamlib.cpp:line 356
at HomeOS.Hub.Common.WebCam.WebCamWrapper.Camera.Camera.StartCapture() in c:\Users\v-dannhu\Downloads\codeplex-new\Hub\Common\WebCam\WebCamWrapper\Camera\Camera.cs:line 224
at HomeOS.Hub.Common.WebCam.WebCamWrapper.Camera.CameraFrameSource.StartFrameCapture() in c:\Users\v-dannhu\Downloads\codeplex-new\Hub\Common\WebCam\WebCamWrapper\Camera\CameraFrameSource.cs:line 53
at DriverWebCam.DriverWebCam.GetVideo() in c:\Users\v-dannhu\Downloads\codeplex-new\Hub\Drivers\WebCam\DriverWebCam.cs:line 160
2013-11-12 10:31:54Z UICalled:IsDeviceReady Logitech HD Pro Webcam C920
2013-11-12 10:31:54Z UICalled:GetDeviceDetails Logitech HD Pro Webcam C920
2013-11-12 10:31:54Z UICalled: IsServiceReady http://localhost:51430/jeremykim/HomeOS.Hub.Drivers.WebCam for Logitech HD Pro Webcam C920/icon.png
2013-11-12 10:31:55Z UICalled: IsServiceReady = true for http://localhost:51430/jeremykim/HomeOS.Hub.Drivers.WebCam for Logitech HD Pro Webcam C920/icon.png
2013-11-12 10:31:55Z UICalled:GetCompatibleAppsNotInstalled Logitech HD Pro Webcam C920
2013-11-12 10:31:55Z UICalled:GetCompatibleAppsInstalledWeb Logitech HD Pro Webcam C920
2013-11-12 10:31:59Z UICalled:InstallAppWeb CameraViewer
2013-11-12 10:32:00Z ctrlport adding capability: cap:CameraViewer:12/31/9999 11:59:59 PM:1751289679
2013-11-12 10:32:00Z Initialized CameraViewer
2013-11-12 10:32:00Z UICalled:ConfigureDeviceWeb Logitech HD Pro Webcam C920 logitech False Home System.String[]
2013-11-12 10:32:00Z AddService is called on logitech for HomeOS.Hub.Common.PortInfo loc:Home sec: False #apps 1
2013-11-12 10:32:00Z Started: CameraViewer
2013-11-12 10:32:00Z UICalled:IsConfigNeededWeb
2013-11-12 10:32:00Z UICalled:GetConfSettingWeb HomeId
2013-11-12 10:32:00Z UICalled:IsConfigNeededWeb
2013-11-12 10:32:00Z UICalled:GetConfSettingWeb HomeId
2013-11-12 10:32:00Z UICalled:GetInstalledAppsWeb
2013-11-12 10:32:00Z camera service is open for business at http://localhost:51430/jeremykim/CameraViewer 2013-11-12 10:32:00Z CameraViewer successfully received allportslist with 1 ports 2013-11-12 10:32:00Z webcam - Logitech HD Pro Webcam C920 adding capability: HomeOS.Hub.Platform.Adapters.CapabilityC2V
2013-11-12 10:32:00Z CameraViewer got capability for webcam - Logitech HD Pro Webcam C920-HomeOS.Hub.Drivers.WebCam for Logitech HD Pro Webcam C920
2013-11-12 10:32:00Z CameraViewer adding camera port webcam - Logitech HD Pro Webcam C920-HomeOS.Hub.Drivers.WebCam for Logitech HD Pro Webcam C920
2013-11-12 10:32:01Z UICalled: IsServiceReady http://localhost:51430/jeremykim/CameraViewer/index.html
2013-11-12 10:32:01Z UICalled: IsServiceReady = true for http://localhost:51430/jeremykim/CameraViewer/index.html
2013-11-12 10:32:17Z Module to stop: HomeOS.Hub.Drivers.WebCam
2013-11-12 10:32:17Z Module to stop: HomeOS.Hub.Apps.SmartCam
2013-11-12 10:32:17Z Stopping Module: HomeOS.Hub.Apps.SmartCam
2013-11-12 10:32:17Z Unsubscribing ctrlport-CameraViewer from port: webcam - Logitech HD Pro Webcam C920-HomeOS.Hub.Drivers.WebCam for Logitech HD Pro Webcam C920 operation: :camera:->getimage
2013-11-12 10:32:17Z Unsubscribing ctrlport-CameraViewer from port: webcam - Logitech HD Pro Webcam C920-HomeOS.Hub.Drivers.WebCam for Logitech HD Pro Webcam C920 operation: :camera:->getvideo
2013-11-12 10:32:17Z Role Op pair: (:camera:,:camera:->getvideo) removed from subscribed ports
2013-11-12 10:32:17Z AppDomain cleanup for CameraViewer
2013-11-12 10:32:17Z Stopping Module: HomeOS.Hub.Drivers.WebCam
2013-11-12 10:32:17Z platform got module finished for a module with active ports: HomeOS.Hub.Drivers.WebCam for Logitech HD Pro Webcam C920
2013-11-12 10:32:17Z deregistering port: webcam - Logitech HD Pro Webcam C920-HomeOS.Hub.Drivers.WebCam for Logitech HD Pro Webcam C920
2013-11-12 10:32:17Z AppDomain cleanup for driver for Logitech HD Pro Webcam C920
2013-11-12 10:32:17Z Disposing scout: HomeOS.Hub.Scouts.WebCam
It says that the startplatform.bat file was created on 11/6 so I'm pretty sure I am running the right version. Any idea what is causing this?

Thanks,
Jeremy
Nov 15, 2013 at 3:28 PM
Hello,

I didn't seem to be making progress with the logitech camera, and I heard that using a Microsoft LifeCam may eliminate any compatibility issues. I purchased the LifeCam HD-3000 and tried to run it with the newest release. But I am getting the same errors as above. Do you have any ideas on how to fix this?

Thanks,
Jeremy
Coordinator
Nov 15, 2013 at 7:53 PM
Hi Jeremy,
We have a simple diagnostic tool to see if the web cam is working properly with the binaries we refrence.
Can you build the solution from the source code? If you can, go to \homeos2\Hub\Tools\

Open Tools.sln.
Build Webcam project
go to Tools\Webcam\Demo\bin\Debug
launch HomeOS.Hub.Tools.WebCam.Demo.exe to see if your web cam is working


If you can't build, please send me an email, I will send you the tool via email.

thanks,
Danny
Nov 16, 2013 at 12:35 AM
Hey Danny,

Thanks for the response. I was able to build the Webcam project and launch HomeOS.Hub.Tools.WebCam.Demo.exe. The demo window pops up blank with just the buttons (not sure if there is supposed to be a picture or something). It locates my microsoft lifecam, but when I press start I get a popup that says "Error Starting Camera". I'm not sure if there is a log somewhere that provides more information. Let me know if you need me to provide any other info.

Thanks,
Jeremy