Git Product home page Git Product logo

Comments (3)

peaBerberian avatar peaBerberian commented on May 25, 2024 2

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.

peaBerberian avatar peaBerberian commented on May 25, 2024

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:

  1. 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.
  2. 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:

  1. 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.
  2. 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.

aykuter avatar aykuter commented on May 25, 2024

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)

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.