0
Ich verwende AVPlayer
, um eine m3u8
Streaming zu spielen. Das habe ich getan.AVPlayer Lautstärke zu langsam
self.audioUrl=[[array objectAtIndex:0] objectAtIndex:1];
self.avPlayer=[[AVPlayer alloc] initWithURL:[[NSURL alloc] initWithString:self.audioUrl]];
[self.avPlayer addObserver:self forKeyPath:@"status" options:0 context:nil];
Aber mein Problem ist das Volumen ist zu langsam. Ich möchte nur Audio wiedergeben. Aber warum ist das Volumen zu langsam? Ich habe auch so etwas nach diesen Zeilen gemacht.
@try {
[[AVAudioSession sharedInstance] overrideOutputAudioPort:AVAudioSessionPortOverrideSpeaker error:&error];
} @catch (NSException *exception) {
NSLog(@"-----EXCEPTION-----%@",exception);
Aber immer noch gleich. Bitte hilf mir. Dank
Ich habe es Problem AppDelegate dann gelöst – user1960169