Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding support for a proprietary transmultiplexer without reassembling the player #6701

Closed
npastuh0v opened this issue May 29, 2024 · 4 comments
Labels
status: archived Archived and locked; will not be updated type: question A question from the community

Comments

@npastuh0v
Copy link

npastuh0v commented May 29, 2024

Thank you for not passing by. There is a question about the player. Is it possible to add a transmultiplexer for your player file delivery format?

I'll tell you more about my case.

Input data:
There is a server that broadcasts video in fragmented mp4 (aka fmp4) format via Unix sockets. There is also a skill of working with such sockets from the browser side.

What you want to get at the output:
An expansion module or a transmultiplexer for shaka-player, which involves processing data received through this socket and playing it through an HTML5 player.

It would also be nice if you could provide an example of a ready-made transmultiplexer or some kind of project that can process data before feeding it to the player.

I would be very grateful. Shaka Forever!!!

@npastuh0v npastuh0v added the type: question A question from the community label May 29, 2024
@joeyparrish
Copy link
Member

It sounds like you're asking about a novel way to request/receive media segments, rather than using HTTP. Is that right?

@avelad avelad added the status: waiting on response Waiting on a response from the reporter(s) of the issue label May 30, 2024
@npastuh0v
Copy link
Author

npastuh0v commented Jun 3, 2024

Yes, that's true. I'm read all examples, located on this repository and i didn't find anything suitable

@shaka-bot shaka-bot removed the status: waiting on response Waiting on a response from the reporter(s) of the issue label Jun 3, 2024
@avelad
Copy link
Member

avelad commented Jun 3, 2024

So what you want is to register a custom network scheme, the scheme documentation is at: https://shaka-player-demo.appspot.com/docs/api/shaka.extern.html#.SchemePlugin

But since it is not very useful I recommend you look at the three schemes that we have in the code and see if it helps you:
https://github.com/shaka-project/shaka-player/blob/main/lib/net/http_xhr_plugin.js
https://github.com/shaka-project/shaka-player/blob/main/lib/net/http_fetch_plugin.js
https://github.com/shaka-project/shaka-player/blob/main/lib/offline/offline_scheme.js

@avelad avelad added the status: waiting on response Waiting on a response from the reporter(s) of the issue label Jun 3, 2024
@npastuh0v
Copy link
Author

Thanks!! It helps me to edit this player for my wishes! Question closed!

@shaka-bot shaka-bot removed the status: waiting on response Waiting on a response from the reporter(s) of the issue label Jun 6, 2024
@shaka-bot shaka-bot added the status: archived Archived and locked; will not be updated label Aug 5, 2024
@shaka-project shaka-project locked as resolved and limited conversation to collaborators Aug 5, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
status: archived Archived and locked; will not be updated type: question A question from the community
Projects
None yet
Development

No branches or pull requests

4 participants