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

Capacitor Mux #199

Open
alexandargyurov opened this issue Aug 6, 2023 · 5 comments
Open

Capacitor Mux #199

alexandargyurov opened this issue Aug 6, 2023 · 5 comments

Comments

@alexandargyurov
Copy link

Plugin Request

Name: Capacitor Mux
Package: @capacitor-community/@capacitor-mux

Platform(s)

  • iOS
  • Android
  • Web (no implementation yet)

Existing Solutions

POC of uploading a video from iOS and Android devices
https://www.npmjs.com/package/@axles/capacitor-mux
(this plugin has been created by myself and is still in active development)

Description

Plugin Features:
Mux integration with Capacitor Apps.

https://docs.mux.com/guides/video/upload-files-directly
https://docs.mux.com/guides/video/live-streaming-from-your-app

@drakedeatonuk
Copy link

This would be amazing.

There's definitely a gap in the capacitor ecosystem for something like this.

We built a fairly custom solution to solve that: saved a video to the file system, chunked the video file from the file system back into the webapp, and then uploaded the chunks to MUX. It's not a great solution as for anything longer than very short videos the chunking of the video back into the web app is very slow. Being able to handle all this in one action within the native layer would be much faster.

I was looking for alternatives when I saw this proposal. I would definitely use this.

@drakedeatonuk
Copy link

@alexandargyurov could you share your code for this? How far did you get with it?

@alexandargyurov
Copy link
Author

I have not worked on it for a while as I no longer use Capacitor. The codebase for the project is here: https://github.com/axlemaps/capacitor-mux#readme

@drakedeatonuk
Copy link

@alexandargyurov codebase is returning a 404 for me - maybe it's private?

@alexandargyurov
Copy link
Author

alexandargyurov commented Nov 13, 2024

@drakedeatonuk whoops, thought it was public. Changed it's visibility 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants