microsoftdx / microsofthlssdk Goto Github PK
View Code? Open in Web Editor NEWMicrosoft HLS SDK
Microsoft HLS SDK
Hello, I cannot see closed captions in the HLS video (captions are displayed when the same video is played via mediaElement, instead of MMPPF instance), using latest MMPPF and HLSSDK installers from this forum. All other plugins (e.g. FreeWheel) work, but CC608 does not. Code snippet below, help would be appreciated.
Microsoft.PlayerFramework.MediaPlayer mediaPlayer;
Microsoft.PlayerFramework.CC608.CC608Plugin cc608Plugin;
Microsoft.PlayerFramework.Advertising.FreeWheelPlugin fwPlugin;
this.mediaPlayer = new Microsoft.PlayerFramework.MediaPlayer();
this.cc608Plugin = new Microsoft.PlayerFramework.CC608.CC608Plugin();
this.mediaPlayer.Plugins.Add(cc608Plugin);
this.fwPlugin = new Microsoft.PlayerFramework.Advertising.FreeWheelPlugin();
string fwUrl = "sample ad URL";
this.fwPlugin.Source = new Uri(fwUrl);
this.mediaPlayer.Plugins.Add(fwPlugin);
playGrid.Children.Add(mediaPlayer);
this.mediaPlayer.Source = new Uri("sample m3u8 media");
The repository contains build artifacts in the following paths
SDK/Windows10/Microsoft.HLSClient/Debug
SDK/Windows10/Microsoft.HLSClient/Release
SDK/Windows10/Microsoft.HLSClient.Setup/obj
SDK/Windows10/Microsoft.HLSClient.Setup/bin
They should not be included in the git repository for obvious reasons.
I have a playlist that contains 1 audio only stream and a few audio+video streams. The automatic stream selection sometimes chooses the audio only stream, because of slow connection I guess. Is there a way to force choosing an audio+video stream? So audio only stream is never chosen?
I just got this error while registering the plugin on Windows 10 N. Is it not supported on N Edition?
2015-11-13 11:05:22:7556 [6] WARNING - [Task`1] - Unobserved FileNotFoundException: The specified module could not be found. (Exception from HRESULT: 0x8007007E)
at System.StubHelpers.StubHelpers.GetWinRTFactoryObject(IntPtr pCPCMD)
at Microsoft.HLSClient.HLSControllerFactory..ctor()
at Microsoft.PlayerFramework.Adaptive.HLS.HLSPlugin..ctor()
Hi,
I am currenly working on a C++ application and was wondering if it was possible to isolate the C++ parts of the HLS SDK and plum that directly into the Media Foundation Libary in Win32 so that I can stream videos without needing the use of XAML or .NET? I am currently using a sample grabber to grab frame picture data and pushing that to an OpenGL texture.
Does that all make sense?
Thanks.
Hi,
I want to write logs to file instead of displaying in Output window. I try to add _FILELOG preprocessor directive but I got error when building projects.
Can you tell me how can I write logs to file please?
Thank you in advance!
Hello,
I got 0xC0000005 exception when trying to open a HLS content. Bellowing is detailed information of this exception:
OS: Windows Phone 8.1
Exception Code: 0xC0000005
Exception Information: The thread tried to read from or write to a virtual address for which it does not have the appropriate access.
Call Stack:
Microsoft.HLSClient.dll!Microsoft::HLSClient::Private::StreamInfo::DownloadPlaylistAsync(Concurrency::task_completion_event tcePlaylistDownloaded) Line 215 C++
Microsoft.HLSClient.dll!Microsoft::HLSClient::Private::Playlist::DownloadVariantStreamPlaylist(unsigned int desiredbitrate=104, bool failfast=104, short searchdirectionincaseoffailure=0, bool TestSegmentDownload=false) Line 292 C++
Microsoft.HLSClient.dll!Microsoft::HLSClient::Private::Playlist::InitializePlaylistRefreshCallback::__l86::() Line 862 C++
Microsoft.HLSClient.dll!Platform::Details::__abi_FunctorCapture<<lambda_f4e2e657afc10a2e0c04311bb73fd675>,void,Windows::System::Threading::ThreadPoolTimer ^>::Invoke(Windows::System::Threading::ThreadPoolTimer ^ <__args_0>=0xfaf54068) Line 875 C++
Microsoft.HLSClient.dll!Windows::System::Threading::TimerElapsedHandler::[Windows::System::Threading::TimerElapsedHandler::__abi_IDelegate]::__abi_Windows_System_Threading_TimerElapsedHandler___abi_IDelegate____abi_Invoke(Windows::System::Threading::ThreadPoolTimer ^ __param0=0xfaf54072) C++
threadpoolwinrt.dll!Windows::System::Threading::CThreadPoolTimer::TimerCallback(struct _TP_CALLBACK_INSTANCE *,void *,struct _TP_TIMER *) Unknown
ntdll.dll!TppTimerpExecuteCallback() Unknown
ntdll.dll!TppWorkerThread() Unknown
ntdll.dll!RtlUserThreadStart() Unknown
Looking forward to your help!
Best Regards
I've started to pick this one apart but the going is slow.
Using the aforementioned example, starting a background audio track by adding a m3u8 entry to the permanent favorites xml file, the pressing the back button to navigate away results inan intereuption of the audio for a few seconds. While the audio does then return, the operation is not as intended, and different tan that of other WP 8.1 apps that are doing the same thing.
I have looked at a few obvious changes, like not communicating with the background as onsuspended even arrives, but the operation is the same as before.
Something else must be at work here. If you can duplicate the problem, any ideas for what it is?
This happens on the emulator, as well as on a real Lumia 1520 device.
Thx
Hi,
I followed the BuildInstructions.docx to enable Logging. However, after installed the logging enabled SDK, I could not see any debug information of the SDK in Output window. Do I miss any steps?
Looking for your help.
Regards
A practice many use to eliminate build system installation dependencies and improve targeted version control is to move SDK References to utilize local paths. We have done this. However, it turns out that although everything worked on my end, the build machine and other devs cannot even sync the repo anymore, because of extremely long filenames being used by the HLS plugin. For example, this was short enough on my machine that I had no idea there would be a problem:
C:\Git\[short-solution-name]\libs\Windows\v8.1\ExtensionSDKs\Microsoft Player Framework Adaptive Streaming Plugin for HLS for Windows 8.1 - JS\1.2.0.0\Redist\CommonConfiguration\neutral\Microsoft.PlayerFramework.Js.HLS\js\HLSPlugin.js
When a build machine tries to sync it from something like "c:\workspace[build-job-name-here]..." it is suddenly trying to breach the hard Windows filepath limit of ~250 characters and all hell breaks loose. One attempted fix was to rename "Microsoft Player Framework Adaptive Streaming Plugin for HLS for Windows 8.1 - JS" to something shorter, but then of course we had to adjust the project references to use the hacked name as well, which introduces a pain point for merging future versions. (Also, git is having issues with the old filename and still won't sync even though we've fixed it, but that's beside the point.)
I'd like if we could noticeably reduce the length of the base SDK folder name to help accommodate local SDK Reference strategies, as the length is just too restrictive as is.
Hello,
I got an 0x80000002 exception when using Microsoft HLS SDK.
Exception information was: The thread tried to read or write data that is misaligned on hardware that does not provide alignment. For example, 16-bit values must be aligned on 2-byte boundaries; 32-bit values on 4-byte boundaries, and so on.
Exception code was: 0x80000002
Stacktrace:
Microsoft.HLSClient.dll!Microsoft::HLSClient::Private::Playlist::DownloadVariantStreamPlaylist(unsigned int desiredbitrate=104, bool failfast=104, short searchdirectionincaseoffailure=0, bool TestSegmentDownload=false) Line 288 C++
Microsoft.HLSClient.dll!Microsoft::HLSClient::Private::Playlist::InitializePlaylistRefreshCallback::__l86::<lambda>() Line 862 C++
Microsoft.HLSClient.dll!Platform::Details::__abi_FunctorCapture<<lambda_f4e2e657afc10a2e0c04311bb73fd675>,void,Windows::System::Threading::ThreadPoolTimer ^>::Invoke(Windows::System::Threading::ThreadPoolTimer ^ <__args_0>=0xb7422068) Line 875 C++
Microsoft.HLSClient.dll!Windows::System::Threading::TimerElapsedHandler::[Windows::System::Threading::TimerElapsedHandler::__abi_IDelegate]::__abi_Windows_System_Threading_TimerElapsedHandler___abi_IDelegate____abi_Invoke(Windows::System::Threading::ThreadPoolTimer ^ __param0=0xb7422072) C++
threadpoolwinrt.dll!Windows::System::Threading::CThreadPoolTimer::TimerCallback(struct _TP_CALLBACK_INSTANCE *,void *,struct _TP_TIMER *) Unknown
ntdll.dll!TppTimerpExecuteCallback() Unknown
ntdll.dll!TppWorkerThread() Unknown
ntdll.dll!RtlUserThreadStart() Unknown
OS: Windows Phone 8.1
Please take a look at this issue.
Looking forward to your reply.
Best Regards
Please include an updated, working MSHLS.PF.Setup.vsix for Windows 8.1.
(Would expect to see it at https://github.com/MicrosoftDX/MicrosoftHLSSDK/tree/master/Installers/Windows%208.1)
Hi,
I have tryed to build the sample of Windows 8.1 and WPH8.1 with Player Framework and I can't do it. There are not the example in the solution. I have added the example project to the solution and it doesn't work. And I have done the same steps with Windows 10 version and it works correctly. Could you help me?
Thanks
The Microsoft.HLSClient.HLSControllerFactory.HLSControllerReady event is not firing, yet a video begins playing within the Microsoft.PlayerFramework.MediaPlayer.
HLSControllerFactory controllerFactory = new HLSControllerFactory();
HLSControllerFactory controllerFactory.HLSControllerReady += ControllerFactory_HLSControllerReady;
Having recently followed the BuildInstructions.docx for Building the Player Framework Plugins section, I have some feedback.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.