[go: nahoru, domu]

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

About video integration #431

Closed
maayanmag opened this issue Aug 24, 2020 · 2 comments
Closed

About video integration #431

maayanmag opened this issue Aug 24, 2020 · 2 comments
Assignees
Labels
1 backlog question Further information is requested

Comments

@maayanmag
Copy link

VideoPlayer integration

Hey:-)
first of all, thank you so much for this amazing package.
My question is about integration with video_player service. I have an app that plays videos, and I want to have background control when the user exits from the app. The problem is that the video_player plays the video as an audio stream in the background isolate, but doesn't play the video in the app (I tried to transfer the videoPlayerController to my main code using customAction, but it can't convert this object in the channel, and returns Unhandled Exception: PlatformException(error, Converting object to an encodable object failed: Instance of 'VideoPlayerController', null, null) ).
The only solution that I have been able to do is to use separate video & audio services (with just_audio) to implement this feature, but this solution using two players has performance issues.

I saw that you wrote here an year ago that:

The video_player plugin does not support background execution, although I am creating a fork of this project to support it. Once that is done, you should also be able to add background and lock screen controls with audio_service.

Is that still a problem? Do you have another idea to solve it?

@maayanmag maayanmag added 1 backlog question Further information is requested labels Aug 24, 2020
@github-actions
Copy link

This issue was automatically closed because it did not follow the issue template.

@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs, or use StackOverflow if you need help with audio_service.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 18, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
1 backlog question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants