video-dev / Clappr Rtmp Plugin
Licence: apache-2.0
📺 RTMP support for Clappr player.
Stars: ✭ 99
Programming Languages
javascript
184084 projects - #8 most used programming language
actionscript
884 projects
Projects that are alternatives of or similar to Clappr Rtmp Plugin
Straas-android-sdk-sample
Straas Android SDK samples and documentation
Stars: ✭ 12 (-87.88%)
Mutual labels: player, rtmp
Oarplayer
Android Rtmp播放器,基于MediaCodec与srs-librtmp,不依赖ffmpeg
Stars: ✭ 124 (+25.25%)
Mutual labels: player, rtmp
Smarterstreaming
业内为数不多致力于极致体验的超强全自研跨平台(windows/linux/android/iOS)流媒体内核,通过模块化自由组合,支持实时RTMP推流、RTSP推流、RTMP播放器、RTSP播放器、录像、多路流媒体转发、音视频导播、动态视频合成、音频混音、直播互动、内置轻量级RTSP服务等,比快更快,业界真正靠谱的超低延迟直播SDK(1秒内,低延迟模式下200~400ms)。
Stars: ✭ 9,835 (+9834.34%)
Mutual labels: player, rtmp
Rtsp.player.android
RTSP player for Android / IP camera viewer
Stars: ✭ 199 (+101.01%)
Mutual labels: player, rtmp
Fanplayer
A portable video player based on ffmpeg for windows and android platform.
Stars: ✭ 229 (+131.31%)
Mutual labels: player, rtmp
Nodemediaclient Ios
NodeMedia RTMP/RTSP/HTTP Play/Publish Client SDK for iOS
Stars: ✭ 221 (+123.23%)
Mutual labels: player, rtmp
Html5 Dash Hls Rtmp
🌻 HTML5播放器、M3U8直播/点播、RTMP直播、低延迟、推流/播流地址鉴权
Stars: ✭ 1,805 (+1723.23%)
Mutual labels: player, rtmp
react-native-vlc-media-player
React native media player for video streaming and playing. Supports RTSP, RTMP and other protocols supported by VLC player
Stars: ✭ 221 (+123.23%)
Mutual labels: player, rtmp
Nodemediaclient Android
NodeMedia RTMP/RTMFP/RTSP/HTTP Play/Publish Client SDK for Android
Stars: ✭ 446 (+350.51%)
Mutual labels: player, rtmp
Muse
🎧 All you need is a simple and diligent HTML 5 music player written in React.
Stars: ✭ 82 (-17.17%)
Mutual labels: player
Pause On Lock
Pause/Resume your music player when locking/unlocking your Linux desktop.
Stars: ✭ 79 (-20.2%)
Mutual labels: player
Rtmp Rtsp Stream Client Java
Library to stream in rtmp and rtsp for Android. All code in Java
Stars: ✭ 1,338 (+1251.52%)
Mutual labels: rtmp
Android Rtmp Muxer
Implementation of the RTMP protocol to broadcast video and audio on Android in pure Java
Stars: ✭ 78 (-21.21%)
Mutual labels: rtmp
clappr-rtmp-plugin
RTMP support for Clappr player. Supports both RTMP direct and SMIL (dynamic streaming).
How to use
Import rtmp.min.js
<script type="text/javascript" src="https://cdn.jsdelivr.net/gh/video-dev/[email protected]/dist/rtmp.min.js">
</script>
and create Clappr Player adding the external plugin:
var player = new Clappr.Player({
source: "rtmp://source_here",
parentId: "#player-wrapper",
plugins: {'playback': [RTMP]},
rtmpConfig: {
swfPath: 'dist/assets/RTMP.swf',
scaling:'stretch',
playbackType: 'live',
bufferTime: 1,
startLevel: 0,
switchRules: {
"SufficientBandwidthRule": {
"bandwidthSafetyMultiple": 1.15,
"minDroppedFps": 2
},
"InsufficientBufferRule": {
"minBufferLength": 2
},
"DroppedFramesRule": {
"downSwitchByOne": 10,
"downSwitchByTwo": 20,
"downSwitchToZero": 24
},
"InsufficientBandwidthRule": {
"bitrateMultiplier": 1.15
}
}
},
});
Configuration
The plugin accepts several optional configuration options, such as:
-
swfPath
(default //cdn.jsdelivr.net/clappr.rtmp/latest/assets/RTMP.swf) - Path to the SWF responsible for the playback. -
scaling
(default letterbox) - Scaling behavior. -
playbackType
(default live if the source contains live on its URL, vod otherwise). -
bufferTime
(default 0.1) - How long to buffer before start playing the media. -
startLevel
(default -1) - Initial quality level index. -
autoSwitch
(default false) - Whether video should autoSwitch quality -
useAppInstance
(default false) - Set it totrue
if your source url contains the app instance (not required if the app instance is_definst_
). -
proxyType
(default none) - Determines which fallback methods are tried if an initial connection attempt to Flash Media Server fails. -
switchRules
(default system defined) - Rules defined to autoSwitch video quality based in some conditions.
Building
Requirements
Compile SWF
cd src
sh build_player.sh
Download JS dependencies
npm install
Build the final dist
webpack
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].