Code Monkey home page Code Monkey logo

microsofthlssdk's People

Contributors

ianisms avatar jitghosh avatar timgreenfield avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

microsofthlssdk's Issues

Closed captions do not display with latest MMPPF and HLSSDK

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");

Repository contains build artifacts

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.

Forcing video stream selection

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?

Is Windows N Edition supported?

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()

Native C++ Application using HLS

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.

How to write logs to file

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!

0xC0000005 exception

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

interruptions in audio output on WP 8.1 using HLS Client WP example

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

SDK does not show debug information after enabling Logging

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

SDK folder name is too long

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.

0x80000002 exception

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

Sample windows 8.1 and WP8.1 doesn't work

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

Microsoft.HLSClient.HLSControllerFactory.HLSControllerReady not firing in UWP app

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;

Build Instructions suggestions

Having recently followed the BuildInstructions.docx for Building the Player Framework Plugins section, I have some feedback.

  • It may help to open with explaining why we're doing the batch build process, IE "This is a two step process where we will generate all the individual components first via a batch build, and then build the installers which package those up."
  • The "deselect all and check the following projects" section is very long. It may be much faster and easier understand and follow by providing simpler instructions such as: Uncheck all entries whose names end with "Setup". Next, sort by "Platform" and uncheck all remaining entries which target the "Any CPU" platform. Now click "Build"
  • Consider recommending to run VS as admin, as it may be needed to get past uninstalling previous versions, IE I ran into: "There was a problem uninstalling the extension with a VSIX identifier of "MSHLS.PF.Setup.99A0C51E-5EF9-485F-935B-0988930078F7". The extension 'Microsoft HLS Player Framework Plugins' requires administrative privileges in order to be uninstalled."

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.