All Projects → panghaijiao → Hjdanmakudemo

panghaijiao / Hjdanmakudemo

Licence: mit
A high performance danmaku engine for iOS

Projects that are alternatives of or similar to Hjdanmakudemo

Danmaku
live video comments protocol and platform api
Stars: ✭ 70 (-91.71%)
Mutual labels:  danmaku, live
blrec
Bilibili Live Streaming Recorder 哔哩哔哩直播录制
Stars: ✭ 124 (-85.31%)
Mutual labels:  live, danmaku
acfundanmu
AcFun直播API
Stars: ✭ 27 (-96.8%)
Mutual labels:  live, danmaku
Ocbarrage
iOS 弹幕库 OCBarrage, 同时渲染5000条弹幕也不卡, 轻量, 可拓展, 高度自定义动画, 超高性能, 简单易上手; A barrage render-engine with high performance for iOS. At the same time, rendering 5000 barrages is also very smooth, lightweight, scalable, highly custom animation, ultra high performance, simple and easy to use!
Stars: ✭ 294 (-65.17%)
Mutual labels:  danmaku, live
acfunlive-backend
AcFun直播通用后端
Stars: ✭ 19 (-97.75%)
Mutual labels:  live, danmaku
Ocbarrage
iOS 弹幕库 OCBarrage, 同时渲染5000条弹幕也不卡, 轻量, 可拓展, 高度自定义动画, 超高性能, 简单易上手; A barrage render-engine with high performance for iOS. At the same time, rendering 5000 barrages is also very smooth, lightweight, scalable, highly custom animation, ultra high performance, simple and easy to use!
Stars: ✭ 589 (-30.21%)
Mutual labels:  danmaku, live
Danmaku
A high-performance JavaScript danmaku engine. 高性能弹幕引擎库
Stars: ✭ 446 (-47.16%)
Mutual labels:  danmaku
C9mj
个人练手项目(新闻 + 视频直播): 基于 MVP + Glide + Retrofit + RxJava2.0 + butterknife 的C9MJ TV (斗鱼douyu/熊猫panda/战旗zhanqi/虎牙huya/龙珠longhzu/全民quanmin/网易cc/火猫huomao + 英雄联盟LOL/守望先锋OW/DOTA2/炉石传说hs/CSGO)App。ps:只有观看熊猫Panda TV才有弹幕(bullet/barrage/danmu)播放功能。
Stars: ✭ 607 (-28.08%)
Mutual labels:  live
Biliduang
Bilibili 哔哩哔哩视频下载 C# GUI版 - 支持BV 支持4K 支持地区限制下载 支持互动视频 支持无水印 支持弹幕/字幕下载转换 支持课程下载
Stars: ✭ 438 (-48.1%)
Mutual labels:  danmaku
Hideseek
A simple, mobile-friendly, yet customizable quick/live search jQuery plugin.
Stars: ✭ 430 (-49.05%)
Mutual labels:  live
Drab
Remote controlled frontend framework for Phoenix.
Stars: ✭ 833 (-1.3%)
Mutual labels:  live
Hlsjs P2p Engine
Let your viewers become your unlimitedly scalable CDN.
Stars: ✭ 759 (-10.07%)
Mutual labels:  live
Shaka Player
JavaScript player library / DASH & HLS client / MSE-EME player
Stars: ✭ 5,386 (+538.15%)
Mutual labels:  live
Iina Plus
Extra danmaku support for iina. (iina 弹幕支持
Stars: ✭ 451 (-46.56%)
Mutual labels:  danmaku
Go Oryx
The go-oryx is SRS++, focus on real-time live streaming load-balancer.
Stars: ✭ 608 (-27.96%)
Mutual labels:  live
Nodemediaclient Android
NodeMedia RTMP/RTMFP/RTSP/HTTP Play/Publish Client SDK for Android
Stars: ✭ 446 (-47.16%)
Mutual labels:  live
Tencent Now
🔥🔥🔥iOS视频直播:仿腾讯旗下 < NOW > 直播 斗鱼 抖音 火山视频 花椒 熊猫 YY 陌陌 映客 直播APP iOS Live video
Stars: ✭ 762 (-9.72%)
Mutual labels:  live
React Native Agora
React Native around the Agora RTC SDKs for Android and iOS agora
Stars: ✭ 432 (-48.82%)
Mutual labels:  live
Btcrelay
Ethereum contract for Bitcoin SPV: Live on https://etherscan.io/address/0x41f274c0023f83391de4e0733c609df5a124c3d4
Stars: ✭ 533 (-36.85%)
Mutual labels:  live
Pixelkit
Live Graphics Framework
Stars: ✭ 644 (-23.7%)
Mutual labels:  live

GitHub

HJDanmaku is a high performance danmaku engine for iOS. For more details please click here

Overview

Compared to the version 1.0, HJDanmaku 2.0 has better performance, Such as high performance, large concurrent and better fluency. surely, you can customize the cell style according to product requirements. In version 2.0,it provides a new live mode to meet the live scene.

Get the version of swift at here

Fearture

  • [Performance] The average CPU usage for total is less than 5% .
  • [Fluency] The rendering frame rate (FPS) is stable at 60 frames.
  • [Concurrency] Off screen rendering ensures the stability of large concurrent data.

Reference

Dimension 1.0 2.0
Performance ⭐️⭐️⭐️ ⭐️⭐️⭐️⭐️
Fluency ⭐️⭐️⭐️ ⭐️⭐️⭐️⭐️⭐️
Accuracy ⭐️⭐️⭐️⭐️ ⭐️⭐️⭐️
Concurrency ⭐️⭐️ ⭐️⭐️⭐️⭐️⭐️

Installation with CocoaPods

CocoaPods is a dependency manager for Objective-C, which automates and simplifies the process of using 3rd-party libraries in your projects. See the Get Started section for more details.

Podfile

pod 'HJDanmaku', '~> 2.0'

Usage

Live Mode

// init config with mode HJDanmakuModeLive
HJDanmakuConfiguration *config = [[HJDanmakuConfiguration alloc] initWithDanmakuMode:HJDanmakuModeLive];
HJDanmakuView *danmakuView = [[HJDanmakuView alloc] initWithFrame:self.view.bounds configuration:config];

Video Mode

// init config with mode HJDanmakuModeVideo
HJDanmakuConfiguration *config = [[HJDanmakuConfiguration alloc] initWithDanmakuMode:HJDanmakuModeVideo];
HJDanmakuView *danmakuView = [[HJDanmakuView alloc] initWithFrame:self.view.bounds configuration:config];

Send Danmaku

DemoDanmakuModel *danmaku = [[DemoDanmakuModel alloc] initWithType:HJDanmakuTypeLR];
danmaku.text = @"😊😊olinone.com😊😊";
[self.danmakuView sendDanmaku:danmaku forceRender:YES];

Custom style

// register cell class before dequeue
[self.danmakuView registerClass:[DemoDanmakuCell class] forCellReuseIdentifier:@"cell"];

// configure cell with custom style
DemoDanmakuCell *cell = [danmakuView dequeueReusableCellWithIdentifier:@"cell"];
DemoDanmakuModel *model = (DemoDanmakuModel *)danmaku;
cell.textLabel.font = model.textFont;
cell.textLabel.textColor = model.textColor;
cell.textLabel.text = model.text;

History Release

HJDanmaku 1.0 was first released in 2015, You can get it in the folder HJDanmaku1. Surely, for better performance, we recommend the latest version 2.0.

License

HJDanmakuDemo is released under the MIT license. See LICENSE for details. Copyright (c) 2015 olinone.

Sponsor

GitHub

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].