Closed ghost closed 8 years ago
I am using the MPMediaDecoder
Hi,
Use
[MPMediaData routeAudioToSpeaker];
for example,
-(void)stateChanged:(id)sender state:(MPMediaStreamState)state description:(NSString *)description {
switch (state) {
.......
case STREAM_PLAYING: {
....
[MPMediaData routeAudioToSpeaker];
break;
}
....
}
work like a charm :D
thank you so much
Hello slavavdovichenko, I am uncomment this line [MPMediaData routeAudioToSpeaker]; but still not able to play to speaker in ipad ?
hello again, thank you so much for your help that fix my last issue..
right now i use your latest lib. I found some new issue when i use real device, then volume is really low, that anything i can set programmatically for the volume?
sorry for bad english
thanks