Skip to content

hls stream library for Android, iOS, macOS, Windows, linux

Notifications You must be signed in to change notification settings

binodrokkad/hlsstream

Repository files navigation

HLS Sream

Simple hls stream receiver. Is compatible with Android, iOS, linux, macOS and Windows. Currently, it depends on libcurl amd ffmpeg.

TODO

  • More playlist tags to be handled
  • DRM not yet implememented
  • Remove ffmpeg dependencies

Android

Library build.

  • cd android
  • cd hlsstream
  • ./gradlew aR

Test app is inside same directory.

Windows

Library build using visual studio.

Open vs project inside windows directory. vcpkg can be used to link with libcurl and ffmpeg

  • vcpkg install curl
  • vcpkg install ffmpeg

macOS

Library build using xcode

Open xcode project inside macOS directory ffmpeg is required to be installed using homebrew.

  • brew install ffmpeg

iOS

Library build using xcode

Open xcode project inside iOS directory

Linux

Library build using cmake

Open terminal and install dependencies.

  • sudo apt install libavcodec-dev
  • sudo apt install libavformat-dev
  • sudo apt install curl

building

  • mkdir build && cd build
  • cmake -DCMAKE_BUILD_TYPE=Debug .. && make

Contributions

Anyone wants to contribute to the project is most welcome. There are lots for improvement and enhancement. :)

Releases

No releases published

Packages

No packages published

Languages