audiostreamer

While using next and previous functionality in AudioStreamer, two or more songs starts together

无人久伴 提交于 2019-12-12 04:28:29
问题 Here is the code for next and previous button - (IBAction)nextPressed:(id)sender { Previousbutton.enabled=YES; Nextbutton.enabled = NO; NSLog(@"TOTAL TRACK:%d",TotalTrackCount); // TrackCount = TotalTrackCount+1; if(selectedIndex+1 < TotalTrackCount) { [streamer stop]; [self performSelector:@selector(destroyStreamer) ] ; //player flag player=@"stop"; int new_index; new_index=selectedIndex+1; selectedIndex=new_index; str_AudioUrl=[array_audioUrl objectAtIndex:selectedIndex]; userPrefs =

iPhone Linker Error (AudioStreamer)

血红的双手。 提交于 2019-12-11 11:46:16
问题 I'm using Matt Gallagher's Audio Streaming Project. I downloaded the code/project and it runs/compiles/links just fine. The problem is when I try to integrate the AudioStreamer class into my own project. I added all the necessary frameworks and checked over the project settings to make sure they match Matt's project as much as possible. I haven't added any of Matt's code yet (except for the AudioStreamer class). All I'm doing for now is defining this function: - (void)createStreamer {

passing .m3u8 file to AudioStreamer iOS

Deadly 提交于 2019-12-11 08:14:40
问题 Can any one suggest me a m3u8 parser that works on iOS 10. I used this but its giving me errors M3U8_BASE_URL undecleared indentifier, No visible interface declared in NSString for isExtendedM3Ufile these kind of errors,, more than 17 in NSString+m3u8.m . I want to pass an m3u8 file to AudioStreamer. Please help me. Thanks 回答1: According to the screenshot, I copied all the files into one folder and import to the project. Then m3u8 file URL to the M3U8PlaylistModel let playlistModel =