kakone / VLC.MediaElement

MediaElement clone powered by VLC
GNU Lesser General Public License v2.1
68 stars 33 forks source link

Exception when running on Windows 10 Mobile (ARM) #4

Closed TheOriginalAppStar closed 7 years ago

TheOriginalAppStar commented 7 years ago

I get an exception, Requested Windows Runtime type 'libVLCX.Instance' is not registered., when debugging on my Windows 10 Mobile (ARM) device from Visual Studio. The app deploys successfully, but the exception occurs as soon as the app loads.

Stack trace: at System.StubHelpers.StubHelpers.GetWinRTFactoryObject(IntPtr pCPCMD) at libVLCX.Instance..ctor(IList'1 argv, SwapChainPanel panel) at VLC.MediaElement.<Init>d__99.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.TaskAwaiter.GetResult() at VLC.MediaElement.<>c__DisplayClass88_0.<<OnApplyTemplate>b__0>d.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.AsyncMethodBuilderCore.<>c.<ThrowAsync>b__6_0(Object state) at System.Threading.WinRTSynchronizationContext.Invoker.InvokeCore()

Inner exception: Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))

kakone commented 7 years ago

Yes, I need a new ARM build of libVLC for UWP to correct this.

cansado2930 commented 7 years ago

Is there some progress about ARM?

touseefbsb commented 7 years ago

I also wanted to ask this, is there any progress? I mean when will this library be able to run on uwp mobile version? Thanks

kakone commented 7 years ago

I had a new build for ARM but it was too buggy, I prefer to not include it for now. The latest version of VLC for UWP (2.5.3) seems better, I will ask the ARM dlls.

touseefbsb commented 7 years ago

Yes please do ask fr them.and include them in this library. Thanks

touseefbsb commented 7 years ago

when will ARM build be included?

cansado2930 commented 7 years ago

Are there any news with arm?

touseefbsb commented 7 years ago

a request to the admin that if there will be no arm package here then kindly close this issue so we can know otherwise kindly let us know about the progress. @kakone

ZhaoYunxiong commented 7 years ago

When will ARM dlls be included? I tried to look for it ,but I didn't find it in the nightly build of VLC. The ARM build address provided by VLC-WinRt cannot be accessed

cansado2930 commented 7 years ago

Yes, I searched it this summer and I had the same problem. If I search information about it and I found that @kakone requested 2 months ago the DLLs to other Developer but I haven't been able to find public DLLs . And I tried to compile it but I couldn't because there aren't enough information in order to compile and it launchs me a lot of errors :(

kakone commented 7 years ago

Yes, there are no nightly build for the ARM version. As indicated in the README file, some ARM builds were here : http://people.videolan.org/~hugo/ but it doesn't seem to work anymore. I'm asking to Hugo or Steve if they can do an ARM build for us (cf https://code.videolan.org/videolan/vlc-winrt/issues/207).

kakone commented 7 years ago

You can use the latest libVLCX NuGet package, it should work on ARM.

touseefbsb commented 7 years ago

can you please update this repo with this latest package? Thanks

kakone commented 7 years ago

I don't understand, this repo is up to date. You just need to update the libVLCX dependency NuGet package.