मैं निम्नलिखित कोड का उपयोग कर tvOS पर एक वीडियो खेल रहा हूँ:AVPlayer त्रुटि tvOS
NSString *filePath = [[NSBundle mainBundle] pathForResource:name ofType:@"mov"];
NSURL *fileUrl = [NSURL fileURLWithPath:filePath];
self.player = [AVPlayer playerWithURL:fileUrl];
AVPlayerLayer *avPlayerLayer = [AVPlayerLayer playerLayerWithPlayer:self.player];
avPlayerLayer.frame = CGRectMake(0, 0, view.frame.size.width, view.frame.size.height);
[view.layer addSublayer:avPlayerLayer];
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(replayMovie:) name:AVPlayerItemDidPlayToEndTimeNotification object:nil];
[self.player play];
लेकिन मैं निम्न त्रुटि
ERROR: >aqme> 718: MEMixerChannel::EnableProcessor: failed to open processor type 0x705f6571
कोई भी विचार कैसे इसे ठीक करने के हो रही है ?
हाँ, मैं इसे सिम्युलेटर पर चला रहा हूं। मैंने सोचा कि यह मामला हो सकता है। दुर्भाग्यवश मेरे पास अभी तक इसका परीक्षण करने के लिए ऐप्पल टीवी नहीं है। फिर भी धन्यवाद। – Wojtek
सिम्युलेटर में एक ही त्रुटि थी, डिवाइस पर ठीक काम करता है। – tagy22
@Wojtek क्या तुमने मेरा जवाब देखा? मुझे कोड सिम्युलेटर में ठीक काम कर रहा है। – ABeanSits