Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
VLCKit
VLCKit
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 72
    • Issues 72
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 3
    • Merge Requests 3
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Environments
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • VideoLAN
  • VLCKitVLCKit
  • Issues
  • #96

Closed
Open
Opened Aug 16, 2017 by Sérgio Aguiar@ssaguiar
  • Report abuse
  • New issue
Report abuse New issue

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

20170731_091902

20170731_092046

To upload designs, you'll need to enable LFS and have admin enable hashed storage. More information
Assignee
Assign to
3.0.0
Milestone
3.0.0
Assign milestone
Time tracking
None
Due date
None
1
Labels
Blocker
Assign labels
  • View project labels
Reference: videolan/VLCKit#96