You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am having an issue trying to handle the YoutubePlayer after I initialize my provider. When i declare the provider, just the thumbnail appears and not the video. In this provider i am bringing some data from Firestore, but i am actually not using it at all. When i hit hot reload, everything works fine. The problem persists on both IOS and Android.
TERMINAL OUTPUT
Performing hot restart... ⣽E/BufferQueueProducer( 8151): [SurfaceTexture-0-8151-4] queueBuffer: BufferQueue has been abandoned
D/ ( 8151): PlayerBase::stop() from IPlayer
D/AudioTrack( 8151): stop() called with 1914244 frames delivered
⣻W/cr_MediaCodecBridge( 8151): Releasing: OMX.qcom.video.decoder.vp9
D/SurfaceUtils( 8151): disconnecting from surface 0x7dc9c37010, reason disconnectFromSurface
W/cr_MediaCodecBridge( 8151): Codec released
Restarted application in 1,813ms.
W/BiChannelGoogleApi( 8151): [FirebaseAuth: ] getGoogleApiForMethod() returned Gms: com.google.firebase.auth.api.internal.zzak@31211fb
I/chromium( 8151): [INFO:CONSOLE(214)] "Unrecognized feature: 'picture-in-picture'.", source: https://s.ytimg.com/yts/jsbin/www-widgetapi-vflHFEBmg/www-widgetapi.js (214)
I/chromium( 8151): [INFO:CONSOLE(6672)] "Uncaught (in promise) undefined", source: https://www.youtube.com/s/player/9b926fb0/player_ias.vflset/en_US/base.js (6672)
I/chromium( 8151): [INFO:CONSOLE(6673)] "Uncaught (in promise) undefined", source: https://www.youtube.com/s/player/9b926fb0/player_ias.vflset/en_US/base.js (6673)
I/flutter ( 8151): false
I/cr_MediaCodecBridge( 8151): create MediaCodec video decoder, mime video/x-vnd.on2.vp9
I/OMXClient( 8151): IOmx service obtained
I/MediaCodec( 8151): MediaCodec will operate in async mode
D/SurfaceUtils( 8151): connecting to surface 0x7dcb572010, reason connectToSurface
I/MediaCodec( 8151): [OMX.qcom.video.decoder.vp9] setting surface generation to 8346633
D/SurfaceUtils( 8151): disconnecting from surface 0x7dcb572010, reason connectToSurface(reconnect)
D/SurfaceUtils( 8151): connecting to surface 0x7dcb572010, reason connectToSurface(reconnect)
I/ExtendedACodec( 8151): setupVideoDecoder()
I/ExtendedACodec( 8151): Decoder will be in frame by frame mode
D/SurfaceUtils( 8151): set up nativeWindow 0x7dcb572010 for 640x360, color 0x7fa30c06, rotation 0, usage 0x20002900
W/AudioManager( 8151): Use of stream types is deprecated for operations other than volume control
W/AudioManager( 8151): See the documentation of requestAudioFocus() for what to use instead with android.media.AudioAttributes to qualify your playback use case
D/NdkImageReader( 8151): acquireImageLocked: Overriding buffer format YUV_420_888 to 0x7fa30c06.
E/chromium( 8151): [ERROR:web_contents_delegate.cc(218)] WebContentsDelegate::CheckMediaAccessPermission: Not supported.
W/ThreadPoolSingl( 8151): type=1400 audit(0.0:11952): avc: denied { read } for name="u:object_r:vendor_camera_prop:s0" dev="tmpfs" ino=1208 scontext=u:r:untrusted_app:s0:c192,c256,c512,c768 tcontext=u:object_r:vendor_camera_prop:s0 tclass=file permissive=0
E/chromium( 8151): [ERROR:web_contents_delegate.cc(218)] WebContentsDelegate::CheckMediaAccessPermission: Not supported.
W/ThreadPoolSingl( 8151): type=1400 audit(0.0:11953): avc: denied { read } for name="u:object_r:vendor_camera_prop:s0" dev="tmpfs" ino=1208 scontext=u:r:untrusted_app:s0:c192,c256,c512,c768 tcontext=u:object_r:vendor_camera_prop:s0 tclass=file permissive=0
W/ThreadPoolSingl( 8151): type=1400 audit(0.0:11954): avc: denied { read } for name="u:object_r:vendor_camera_prop:s0" dev="tmpfs" ino=1208 scontext=u:r:untrusted_app:s0:c192,c256,c512,c768 tcontext=u:object_r:vendor_camera_prop:s0 tclass=file permissive=0
W/cr_media( 8151): Requires MODIFY_AUDIO_SETTINGS and RECORD_AUDIO. No audio device will be available for recording
W/ThreadPoolSingl( 8151): type=1400 audit(0.0:11955): avc: denied { read } for name="u:object_r:vendor_camera_prop:s0" dev="tmpfs" ino=1208 scontext=u:r:untrusted_app:s0:c192,c256,c512,c768 tcontext=u:object_r:vendor_camera_prop:s0 tclass=file permissive=0
E/libc ( 8151): Access denied finding property "vendor.camera.aux.packagelist"
E/libc ( 8151): Access denied finding property "vendor.camera.aux.packagelist"
I/chatty ( 8151): uid=10192(com.jumpbotron.lyric_hero) ThreadPoolSingl identical 2 lines
E/libc ( 8151): Access denied finding property "vendor.camera.aux.packagelist"
W/ThreadPoolSingl( 8151): type=1400 audit(0.0:11956): avc: denied { read } for name="u:object_r:vendor_camera_prop:s0" dev="tmpfs" ino=1208 scontext=u:r:untrusted_app:s0:c192,c256,c512,c768 tcontext=u:object_r:vendor_camera_prop:s0 tclass=file permissive=0
E/libc ( 8151): Access denied finding property "vendor.camera.aux.packagelist"
E/libc ( 8151): Access denied finding property "vendor.camera.aux.packagelist"
E/libc ( 8151): Access denied finding property "vendor.camera.aux.packagelist"
E/libc ( 8151): Access denied finding property "vendor.camera.aux.packagelist"
E/libc ( 8151): Access denied finding property "vendor.camera.aux.packagelist"
I/chatty ( 8151): uid=10192(com.jumpbotron.lyric_hero) ThreadPoolSingl identical 1 line
E/libc ( 8151): Access denied finding property "vendor.camera.aux.packagelist"
I am having an issue trying to handle the YoutubePlayer after I initialize my provider. When i declare the provider, just the thumbnail appears and not the video. In this provider i am bringing some data from Firestore, but i am actually not using it at all. When i hit hot reload, everything works fine. The problem persists on both IOS and Android.
TERMINAL OUTPUT
CODE:
`import 'dart:async';
import 'package:flutter/material.dart';
import 'package:lyric_hero/blocs/play_repository.dart';
import 'package:provider/provider.dart';
import 'package:responsive_widgets/widgets/edge_insets_responsive.dart';
import 'package:youtube_player_flutter/youtube_player_flutter.dart';
class YoutubeVideo extends StatelessWidget {
@OverRide
Widget build(BuildContext context) {
final playRepository = Provider.of(context);
YoutubePlayerController _controller = YoutubePlayerController(
initialVideoId: 'fJ9rUzIMcZQ',
flags: YoutubePlayerFlags(
mute: false,
autoPlay: true,
forceHideAnnotation: false,
forceHD: true,
hideControls: true,
),
);
return Padding(
padding: EdgeInsetsResponsive.symmetric(vertical: 20),
child: YoutubePlayer(
controller: _controller,
showVideoProgressIndicator: false,
),
);
}
}
`
The text was updated successfully, but these errors were encountered: