How to disable VLCMediaPlayer error AlertView?

前端 未结 3 1123
走了就别回头了
走了就别回头了 2020-12-18 12:35

I am using VLCMediaPlayer class from the MobileVLCKit library to make an audio streaming application. My problem is that when error happens (e.g. incorrect stream url) it au

3条回答
  •  轮回少年
    2020-12-18 13:34

    No need to remove this option from source! Simply pass the player option like this:

    NSArray *options = @[@"--extraintf="];
    VLCMediaPlayer *player = [[VLCMediaPlayer alloc] initWithOptions:options];
    

提交回复
热议问题