Comments (3)
Fixed!
This was a dumb mistake in the date conversion logic of the demo page.
Everything was alright on the player-side but on the demo-side, the code converting seconds to a classic HH:MM:SS format was faulty.
This happened for every streams longer than an hour long. As most of our testing streams (for which we use the demo page for) have a much lower duration, we never saw it.
Thank you!
from rx-player.
Hi!
We don't know of any issue with duration calculations for smooth manifests.
I would guess that either the manifest is malformed or the manifest is conform but has specificities not understood by the RxPlayer. Can you give us an example of manifest with that issue (I don't have to have access to the corresponding segments)?
As to make it work locally on your PC and send commands to it, this could take some work.
For the moment, the RxPlayer is just a TypeScript library (with a little demo page) made to be integrated in other web-applications.
Moreover, as it relies on a JavaScript engine with the right APIs, you will most likely need it to run in a browser.
Still, to make it work locally, you could either:
- run a local server which serves this page and access it through a web browser. This is actually what we do to quickly tests new features.
- try to use electron which basically package the App with a chrome as a desktop application.
You will however need to write some JavaScript to make it work. As we did not test that solution, I have no idea if more work is needed in the RxPlayer code to allow this.
To interface C# with it, it would also not be straightforward at all. I guess that you could either:
- in the case of the previous solution 1, use Chromium Embedded Framework which should have C# bindings to launch a web browser. I don't know that much what could be your options to control the webpage from there in C# however.
- For both solutions, interface the two applications (the C# one and the browser one) through HTTP requests/websockets. This again could take a lot of work.
However, the best bet in your specific case would probably to use another desktop-oriented Smooth streaming player which exposes a C# API.
from rx-player.
Hey. Thanks for the reply! Here a sample manifest for you :
http://xxx.xxx.xx.xx:xxxx/vod/_definst_/mp4:xxx/clip.mp4/Manifest
This clip actually 02:56:06 long. But player told me it's 02:02:06. I hope my manifest isn't malformed cuz it will be difficult to fix i guess :)
Thank you soo much all these options and explanations. I will try to make it work cuz i really liked rx player it's seeking quickly and performed well. It's the best i found.
from rx-player.
Related Issues (20)
- Expose text adaptation's role HOT 4
- Support in-manifest LAURL for ClearKey HOT 4
- Streams media error on Edge HOT 4
- Segment GCed multiple times in a row warnings using DASH/PlayReady on Vestel MB211 HOT 6
- DISCONTINUITY_ENCOUNTERED errors after consecutive audio track switches, for DASH live content, result in an endless loop HOT 2
- KEY_GENERATE_REQUEST_ERROR - The initDataType parameter is empty (observed on Tizen 2017) HOT 7
- Video playback issues on Android Mobile in Chrome HOT 9
- Check Dolby Atmos and Dolby Vision in current stream HOT 3
- Unable to play some streams in Edge browser on RxPlayer v3.30.0 HOT 11
- Streams freeze on first frame with audio only playback on Edge browser (and probably Chrome) HOT 6
- Safari 17 brings MSE to iOS HOT 10
- Some DASH/Widevine streams are looping on a Vestel MB130 HOT 3
- First playback of PlayReady content fails on EDGE browsers HOT 3
- PIPELINE_ERROR_DECODE error observed in Edge browser when zapping live channels HOT 2
- Safari 17.1 issue with playback DRM content HOT 3
- playing MKV VOD with multi Audio track HOT 7
- Infinity loading state on Safari Mobile when autoplay is false HOT 17
- Arrêt brutal du player en Replay sur le mycanal sur HOT 4
- PIPELINE_ERROR_INVALID_STATE error when using Playready/Dash stream (mixed encrypted/unecrypted content) HOT 3
- fromFirstPosition does not start from actual first position in live DASH manifest (multi period live with SSAI) HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rx-player.