Open tsvillain opened 2 years ago
Can you merge this branch ? @PalaTeam pls
How can i use this in my project?
@renanmgs in pubspec.yaml add following:
flutter_video_cast:
git:
url: https://github.com/samyakkkk/flutter_video_cast.git
ref: master
Do you know if it support .m3u8 files? I using it for a streamign app that used .m3u8.
Yes, it supports that format.
On Tue, 15 Feb, 2022, 9:51 pm renanmgs, @.***> wrote:
Do you know if it support .m3u8 files? I using it for a streamign app that used .m3u8.
— Reply to this email directly, view it on GitHub https://github.com/PalaTeam/flutter_video_cast/pull/20#issuecomment-1040479607, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKBQCZ347ZJK67N4DH6P3XTU3J4RXANCNFSM5KZ7YB3A . You are receiving this because you authored the thread.Message ID: @.***>
Hi @tsvillain, i found a problem with the package:
It is stated that we need to use FlutterFragmentActivity with CastContext.getSharedInstance(applicationContext), but if i use this my app lose the hability to DeepLink (use external links as directions to routes).
Deeplinking works if i use FlutterActivity instead of FlutterFragmentActivity, but the ChromeCast Button crashes the app when pressed.
How it works with DeepLinking but crashes on press:
How it breaks DeepLinking:
I need to use the AudioService package due to some other things that i do in the app, but i found no problem keeping it in the same method in the second image (i cropped it from the image)
Hi @tsvillain, i found a problem with the package:
It is stated that we need to use FlutterFragmentActivity with CastContext.getSharedInstance(applicationContext), but if i use this my app lose the hability to DeepLink (use external links as directions to routes).
Deeplinking works if i use FlutterActivity instead of FlutterFragmentActivity, but the ChromeCast Button crashes the app when pressed.
How it works with DeepLinking but crashes on press:
How it breaks DeepLinking:
I need to use the AudioService package due to some other things that i do in the app, but i found no problem keeping it in the same method in the second image (i cropped it from the image)
This should be on StackOverflow. Flutter folks can help you there.
@tsvillain onSessionEnded callback method called I tried to get the video's last position; however, it always returns the position I start to cast. Do you guys have any idea to solve this issue? (For example, video duration is 60 seconds, I started to cast at 10th seconds, I seek to 30th seconds. Then, I ended the session. When on onSessionEnded callback method, I call position
method, and it returns 10th seconds.)
Sí, es compatible con ese formato. … El martes 15 de febrero de 2022 a las 21:51 renanmgs, @.> escribió: ¿Sabe si admite archivos .m3u8? Lo uso para una aplicación streamign que usaba .m3u8. — Responda a este correo electrónico directamente, véalo en GitHub < #20 (comentario) >, o cancele la suscripción < https://github.com/notifications/unsubscribe-auth/AKBQCZ347ZJK67N4DH6P3XTU3J4RXANCNFSM5KZ7YB3A >. Estás recibiendo esto porque eres el autor del hilo. ID del mensaje: @.>
My m3u8 video files use headers in order to play. How can I send the headers along with the url of the m3u8.
@AlessioValentiniAesys can you please review?
Below is the list of updates made on this plugin to work with the latest Flutter projects
Chromecast specific updates:
position()
returns current position of casted video inFuture<Duration?>
.duration()
returns the full duration of the casted video inFuture<Duration?>
.setVolume(volume: 0.8)
used to set the chromecast volume value can be from 0 to 1 (0.8 = 80% volume).getVolume()
returns current volume of the chromecast device inFuture<double>
.endSession()
as the name suggest will end the current session with chromecast device.Airplay specific updates:
isAirplayConnected
return true if airplay is connected.This PR will close: #19 #18 #17