| Advanced topics
librtmp is a library made from RTMPdump, a toolkit for RTMP streams. Kodi comes with a copy of librtmp (compiled specifically for the OS Kodi is installed onto) for accessing streams, and often used in several add-ons. Sometimes, when websites that host the content for those add-ons change things, a new version of librtmp is needed for the add-ons/streams to work again.
Kodi only updates librtmp when there is a stable version available. While nightly versions of Kodi may contain new stable librtmp, stable versions of Kodi are normally only released about once a year. However, you do not need to update all of Kodi to update librtmp, but just replace one file within the Kodi application.
1 Replace librtmp inside Kodi
Download or compile librtmp for your OS and use it to replace the old lib from Kodi. You will need to do this every time you install/update Kodi.
1.1 Location of librtmp
- Apple TV 2: /Applications/Kodi.frappliance/Frameworks/librtmp.0.dylib
- iDevices: /Applications/Kodi.app/Frameworks/librtmp.0.dylib
- Linux: Various locations, use
find / | grep librtmp.so.0to find libtrmp
- Mac OS X: /Applications/Kodi.app/Contents/Libraries/librtmp.0.dylib
- Windows 32-bit: Program Files/Kodi/system/players/dvdplayer/librtmp.dll
- Windows 64-bit: Program Files (x86)/Kodi/system/players/dvdplayer/librtmp.dll
- Android: /data/data/org.xbmc.kodi/lib/librtmp.so
2 Where to get librtmp
2.1 Pre-compiled versions
Pre-compiled binaries for Windows and Android can be downloaded here:
2.2 Source code
On other platforms, you can compile rtmpdump yourself.
Simply follow these instruction: https://git.ffmpeg.org/gitweb/rtmpdump.git/blob_plain/refs/heads/master:/README
To get the sourcecode, clone the following git repo: https://git.ffmpeg.org/rtmpdump