Skip to content

Instantly share code, notes, and snippets.

From 0b47c38672749894a4e3c404635a390f10419e95 Mon Sep 17 00:00:00 2001
From: Martin Finkel <martin@videolabs.io>
Date: Tue, 30 Oct 2018 18:06:53 +0700
Subject: [PATCH 1/1] Add record interop
---
.../Samples.Wpf.Advanced/MainWindow.xaml.cs | 1 +
.../Signatures/libvlc_events.h/libvlc_event_e.cs | 1 +
.../Signatures/libvlc_events.h/libvlc_event_t.cs | 10 +++++++++
.../libvlc_media_player_get_chapter.cs | 4 ++++
diff --git a/lib/libvlc.sym b/lib/libvlc.sym
index caa55981bf..9a896ce7b2 100644
--- a/lib/libvlc.sym
+++ b/lib/libvlc.sym
@@ -14,19 +14,14 @@ libvlc_audio_equalizer_new_from_preset
libvlc_audio_equalizer_release
libvlc_audio_equalizer_set_amp_at_index
libvlc_audio_equalizer_set_preamp
-libvlc_audio_output_device_count
libvlc_audio_output_device_get
@mfkl
mfkl / rtsp
Created October 2, 2018 08:44
'VLC.Universal.exe' (Win32): Loaded 'C:\Users\Martin\Projects\vlc-winrt\app\VLC.Universal\bin\x64\Debug\AppX\VLC.Universal.exe'. Cannot find or open the PDB file.
'VLC.Universal.exe' (Win32): Loaded 'C:\Windows\System32\ntdll.dll'. Cannot find or open the PDB file.
'VLC.Universal.exe' (Win32): Loaded 'C:\Windows\System32\kernel32.dll'. Cannot find or open the PDB file.
'VLC.Universal.exe' (Win32): Loaded 'C:\Windows\System32\KernelBase.dll'. Cannot find or open the PDB file.
'VLC.Universal.exe' (Win32): Loaded 'C:\Windows\System32\ucrtbase.dll'. Cannot find or open the PDB file.
'VLC.Universal.exe' (Win32): Loaded 'C:\Windows\System32\combase.dll'. Cannot find or open the PDB file.
'VLC.Universal.exe' (Win32): Loaded 'C:\Windows\System32\rpcrt4.dll'. Cannot find or open the PDB file.
'VLC.Universal.exe' (Win32): Loaded 'C:\Windows\System32\bcryptprimitives.dll'. Cannot find or open the PDB file.
'VLC.Universal.exe' (Win32): Loaded 'C:\Program Files\WindowsApps\Microsoft.NET.CoreRuntime.1.1_1.1.25915.0_x64__8w
Building: tvos (Debug|iPhoneSimulator)
Build started 8/28/2018 3:06:55 PM.
Environment at start of build:
MSBUILD_EXE_PATH = /Users/Martz/Library/Caches/VisualStudio/7.0/MSBuild/3049_1/MonoDevelop.MSBuildBuilder.exe
XPC_SERVICE_NAME = com.microsoft.visual-studio.33292
MSBUILD_NUGET_PATH = /Applications/Visual Studio.app/Contents/Resources/lib/monodevelop/AddIns/MonoDevelop.PackageManagement
LANGUAGE = en
XPC_FLAGS = 0x0
MONO_GAC_PREFIX = /Applications/Visual Studio.app/Contents/Resources
#if IOS
static EventHandler<MediaPlayerMediaChangedEventArgs> _mediaPlayerMediaChanged;
static EventHandler<EventArgs> _mediaPlayerNothingSpecial;
static EventHandler<EventArgs> _mediaPlayerOpening;
static EventHandler<MediaPlayerBufferingEventArgs> _mediaPlayerBuffering;
static EventHandler<EventArgs> _mediaPlayerPlaying;
static EventHandler<EventArgs> _mediaPlayerPaused;
static EventHandler<EventArgs> _mediaPlayerStopped;
static EventHandler<EventArgs> _mediaPlayerForward;
static EventHandler<EventArgs> _mediaPlayerBackward;
Application: Peach.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.NullReferenceException
at WindowsDesktop.VirtualDesktop.PinWindow(IntPtr)
at Peach.MainWindow.<.ctor>b__13_19()
at System.Reactive.Concurrency.Scheduler.Invoke(System.Reactive.Concurrency.IScheduler, System.Action)
at System.Reactive.Concurrency.DispatcherScheduler+<>c__DisplayClass13_0`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].<Schedule>b__0(System.Object, System.EventArgs)
at System.Windows.Threading.DispatcherTimer.FireTick(System.Object)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32)
using System;
using LibVLCSharp.Shared;
using UIKit;
namespace LibVLCSharp.Platforms.iOS
{
public class VideoView : UIView, IVideoView
{
public VideoView(string[] cliOptions = default(string[]))
{
sudo apt-get install docker-ce
docker pull registry.videolan.org:5000/vlc-debian-win32
cd ~
mkdir win64
docker run -v ~/win64:/win64 -i -t registry.videolan.org:5000/vlc-debian-win32 /bin/bash
(...you will now be running the build environment from a docker container as root)
cd win64
git clone https://git.videolan.org/git/vlc
cd vlc
mkdir -p contrib/win32
Microsoft Visual Studio Community 2017
Version 15.7.1
VisualStudio.15.Release/15.7.1+27703.2000
Microsoft .NET Framework
Version 4.7.02556
Installed Version: Community
Visual C++ 2017 00369-60000-00001-AA000
Microsoft Visual C++ 2017