Player crashes when playing an hls stream with several audio tracks and/or subtitles track
I just tested the latest mobilevlckit, and got:
1 - downloaded the latest master version from https://code.videolan.org/videolan/VLCKit and compiled it.
I tested the compiled one and it crashes after some seconds playing (the memory leak when playing any hls stteam with more than one audio channle and/or a subtitle channel). This doesn't happen when playing the same kind of stream, with only one audio channel.
2 - I removed the above compiled framework and used the latest unstable version (MobileVLCKit-unstable 3.0.0a33) from cocoapods.
I tested it and got the same results as option 1 (the compiled one).
This is the same issue that was happening with version 3.0.0a32.
This is what the log shows:
2017-07-31 05:00:15.181873-0700 OleIPTv[456:22180] creating player instance using shared library 2017-07-31 05:00:16.028643-0700 OleIPTv[456:22180] creating player instance with private library as options were given channel.getURL Stream... buffering... playing... buffering... Audiotracks.count = 2 / Audio track name -> Disable Disable Track 1 Audiotracks.count = 2 / Audio track name -> Track 1 Disable Track 1 Audiotracks.count = 2 / Audio track name -> Disable Disable Track 1 Audiotracks.count = 2 / Audio track name -> Track 1 Disable Track 1 VideoPlayerViewController -> viewWillDisappear 2017-07-31 05:00:45.401064-0700 OleIPTv[456:22180] creating player instance using shared library 2017-07-31 05:00:46.041504-0700 OleIPTv[456:22180] creating player instance with private library as options were given "failed to initialize audio session: Error Domain=NSOSStatusErrorDomain Code=-50 "(null)"" channel.getURL Stream... buffering... playing... buffering... Audiotracks.count = 3 / Audio track name -> Track 2 - [English] Disable Track 1 - [Portuguese] Track 2 - [English] LoginViewController -> didReceiveMemoryWarning LoginViewController -> didReceiveMemoryWarning LoginViewController -> didReceiveMemoryWarning LoginViewController -> didReceiveMemoryWarning LoginViewController -> didReceiveMemoryWarning LoginViewController -> didReceiveMemoryWarning
Message from debugger: Terminated due to memory issue