Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • VLCKit VLCKit
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Graph
    • Compare
  • Issues 116
    • Issues 116
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 4
    • Merge requests 4
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • VideoLANVideoLAN
  • VLCKitVLCKit
  • Issues
  • #510
Closed
Open
Issue created Jun 19, 2021 by IVAN CALAFORRA@HADOUKEN

[ERR] Failed reading HTTP/1.1 401 Unauthorized

Hello, I use the VLCMediaPlayer initWithLibrary but that not work

the library log say that : [ERR] Failed reading http://theStreamURL:8080/xxxxxxxx/XxXxXx/140: HTTP/1.1 401 Unauthorized

there is my code

VLCLibrary *myLib = [VLCLibrary sharedLibrary];

[myLib setHumanReadableName:@"Idontknow" withHTTPUserAgent:@"myUserAgent"];

_mediaPlayerOne = [[VLCMediaPlayer alloc] initWithLibrary:myLib];

_mediaOne = [VLCMedia mediaWithPath:filePath];

_mediaPlayerOne.media = _mediaOne;
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking

VideoLAN code repository instance