HOW-TO:Update librtmp

librtmp is a library made from RTMPdump, a toolkit for RTMP streams. XBMC comes with a copy of librtmp (compiled specifically for the OS XBMC 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.

XBMC only updates librtmp when there is a stable version available. While nightly versions of XBMC may contain new stable librtmp, stable versions of XBMC are normally only released once a year. However, you do not need to update all of XBMC to update librtmp, but just replace one file within the XBMC application.

=Replace librtmp inside XBMC= Download or compile librtmp for your OS and use it to replace the old lib from XBMC. You will need to do this every time you install/update XBMC.

Location of librtmp

 * iOS:
 * Apple TV 2: /Applications/XBMC.frappliance/Frameworks/librtmp.0.dylib
 * iDevices: /Applications/XBMC.app/Frameworks/librtmp.0.dylib
 * Linux: Various locations, use  to find libtrmp
 * Mac OS X: /Applications/XBMC.app/Contents/Frameworks/librtmp.0.dylib
 * Windows 32-bit: Program Files/XBMC/system/players/dvdplayer/librtmp.dll
 * Windows 64-bit: Program Files (x86)/XBMC/system/players/dvdplayer/librtmp.dll
 * Android: /data/data/org.xbmc.xbmc/lib/librtmp.so

=Where to get librtmp=

Apple TV 1

 * http://www.mediafire.com/?x4cvp5hl4m9xr (Always with KSV's latest patch(es) such as redirects) (RedPenguin's "Repo") (Use this file if stock FW not Linux is installed otherwise use Linux x86 32-bit version).


 * People willing to do librtmp builds upon request
 * RedPenguin

Android

 * http://www.mediafire.com/?x4cvp5hl4m9xr (Always with KSV's latest patch(es) such as redirects) (RedPenguin's "Repo")


 * People willing to do librtmp builds upon request
 * RedPenguin

iOS

 * Pre-compiled versions
 * http://supercloudtv.com/librtmp.html (March 3rd, 2012)
 * http://www.mediafire.com/?x4cvp5hl4m9xr (Always with KSV's latest patch(es) such as redirects) (Confirmed ATV2, iPod Touch, & iPhone, for ATV1 use RasPi version if Linux installed) (RedPenguin's "Repo")


 * Compiling
 * http://www.davideccher.com/blog/wordpress/building-librtmp-for-ios/


 * People willing to do librtmp builds upon request
 * RedPenguin (PM on Forum)

Linux-OSes

 * Pre-compiled versions
 * https://dl.dropbox.com/u/477050/librtmp.so.0 - for XBMCbuntu 11.0 Eden
 * http://www.mediafire.com/?x4cvp5hl4m9xr (Always with KSV's latest patch(es) such as redirects) (Has 32 (known to work ATV1) & 64 bit) (RedPenguin's "Repo")


 * Compiling
 * http://web.archive.org/web/20120704150357/http://stream-recorder.com/forum/release-unofficial-rtmpdump-binaries-t11030.html


 * People willing to do librtmp builds upon request
 * RedPenguin (PM on Forum)

Mac OS X

 * Pre-compiled versions
 * http://supercloudtv.com/librtmp.html (March 3rd, 2012)
 * http://www.mediafire.com/?x4cvp5hl4m9xr (Always with KSV's latest patch(es) such as redirects) (32/64-bit)


 * Compiling
 * http://web.archive.org/web/20120704150357/http://stream-recorder.com/forum/release-unofficial-rtmpdump-binaries-t11030.html


 * People willing to do librtmp builds upon request
 * RedPenguin

Raspberry Pi

 * http://code.google.com/p/librtmp-raspbmc
 * http://www.mediafire.com/?x4cvp5hl4m9xr (Always with KSV's latest patch(es) such as redirects) (RedPenguin's "Repo")


 * People willing to do librtmp builds upon request
 * RedPenguin (PM on Forum)

Windows

 * Pre-compiled versions
 * https://github.com/K-S-V/Scripts/downloads - Current Builds including KSV's patches
 * http://supercloudtv.com/librtmp.html (April 10th, 2012)
 * http://www.mediafire.com/?x4cvp5hl4m9xr (Always with KSV's latest patch(es) such as redirects) (RedPenguin's "Repo")


 * Compiling
 * http://svnpenn.github.com/2012/05/build-rtmpdump/


 * People willing to do librtmp builds upon request
 * RedPenguin (PM on Forum)

=Support= Support can be acquired on the forum via the "librtmp - Help Thread" at http://forum.xbmc.org/showthread.php?tid=162307&pid=1395751#pid1395751

=General links=
 * http://rtmpdump.mplayerhq.hu
 * https://github.com/svnpenn/rtmpdump
 * https://github.com/K-S-V/Scripts/downloads
 * http://web.archive.org/web/20120704150357/http://stream-recorder.com/forum/release-unofficial-rtmpdump-binaries-t11030.html

=See also=
 * Internet video and audio streams
 * Add-on development
 * Add-ons