Giter Site home page Giter Site logo

nzws / knzklive2 Goto Github PK

View Code? Open in Web Editor NEW
34.0 1.0 1.0 8.13 MB

Open source, federated, unlimited live-streaming service

Home Page: https://live.knzk.me

License: GNU Affero General Public License v3.0

JavaScript 0.29% TypeScript 98.85% Dockerfile 0.83% Shell 0.03%
activitypub fediverse live-streaming mastodon-client misskey-client streaming

knzklive2's Introduction

KnzkLive2

Lint/Test

Open source, federated, unlimited live-streaming service

This project is still in development and currently not designed for self-hosting.

image

Features

Unlimited live-streaming

  • Except for technical limitations, there is never a set limit on live-streaming time.
  • The live-streaming server is also hosted by the server administrator, so the server administrator can set the rules.

Integrate with ActivityPub

  • Receive live streaming comments from public posts on ActivityPub. (Not an ActivityPub server, uses Mastodon API)
  • You can log in with Mastodon or Misskey server.

Low latency, watch on any device

  • Live-streaming can be broadcasted from the streamer to the viewer with a minimum delay of 1 second, powered by SRS Server. (iOS is not supported to low-latency streaming)
  • Encodes video into multiple formats in real-time so it can watch on any device, including iOS, and can watch on the go in low-quality mode.

Publish live-streaming from any device

  • You can broadcast with common broadcast software such as OBS.
  • You can also broadcast from the mobile device without broadcast software by using the "Broadcast via browser" feature.

Development

For create the development environment, Please see docs/dev/create-development.md.

Packages

  • apps
    • video - KnzkLive Video Agent (KnzkVideo): A server that convert and provide recorded video.
    • push - KnzkLive Push Agent: A server that manage video authentication and convert video.
    • server - KnzkLive Server: A server that provides API.
    • web - KnzkLive Web: A web client built with Next.js.
  • packages
    • api-types - KnzkLive API type definitions, generated with Aspida.

Self-hosting

WIP

Build status

Staging - x64

Production - x64

CircleCI

CircleCI

License

AGPL-3.0

knzklive2's People

Contributors

nzws avatar renovate[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

yuyux9

knzklive2's Issues

default thumbnail

  • 音声のみなどの理由で撮影できない&カスタムサムネイルが指定されていない場合の挙動

リモートからのユーザーのアイコンが反映されない

image

原因

  • avatarUrl を取得してない

const payload = JSON.parse(data.payload) as {
id: string;
content: string;
account: {
acct: string;
username: string;
display_name: string;
};
tags?: {
name: string;
url: string;
}[];
url: string;
};
if (!payload.tags?.length) {
return;
}
const hashtags = payload.tags.map(tag => tag.name.toLowerCase());
const liveIds = this.hashtags
.filter(hashtag => hashtags.includes(hashtag.hashtag))
.map(hashtag => hashtag.liveId);
if (liveIds.length > 0) {
const acct =
payload.account.acct === payload.account.username
? `${payload.account.acct}@${domain}`
: payload.account.acct;
const user = await users.getOrCreateForRemote(
payload.account.display_name,
acct.toLowerCase()
);

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Warning

These dependencies are deprecated:

Datasource Name Replacement PR?
npm @aws-sdk/middleware-endpoint Unavailable
npm @types/sharp Unavailable
npm @types/whatwg-fetch Unavailable

Rate-Limited

These updates are currently rate-limited. Click on a checkbox below to force their creation now.

  • Update dependency @types/fluent-ffmpeg to v2.1.25
  • Update dependency @types/node to v20.14.15
  • Update dependency @types/ws to v8.5.12
  • Update dependency hls.js to v1.5.14
  • Update dependency react-use to v17.5.1
  • Update nextjs monorepo to v14.2.5 (@next/bundle-analyzer, @next/eslint-plugin-next, eslint-config-next, next)
  • Update dependency @bull-board/api to v5.21.4
  • Update dependency @bull-board/koa to v5.21.4
  • Update dependency ajv to v8.17.1
  • Update dependency eslint-plugin-react to v7.35.0
  • Update dependency eslint-plugin-testing-library to v6.3.0
  • Update dependency framer-motion to v11.3.24
  • Update dependency jose to v5.6.3
  • Update dependency react-icons to v5.3.0
  • Update dependency ts-jest to v29.2.4
  • Update dependency typescript to v5.5.4
  • Update emotion monorepo to v11.13.0 (@emotion/react, @emotion/styled)
  • Update prisma monorepo to v5.18.0 (@prisma/client, prisma)
  • Update dependency path-to-regexp to v7
  • Update docker/build-push-action action to v6
  • Update typescript-eslint monorepo to v8 (major) (@typescript-eslint/eslint-plugin, @typescript-eslint/parser)
  • 🔐 Create all rate-limited PRs at once 🔐

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Detected dependencies

circleci
.circleci/config.yml
  • node 5.2.0
docker-compose
docker-compose.yml
  • redis 7
infra/push/docker-compose.yml
  • ossrs/srs 4
  • caddy 2
infra/video/docker-compose.yml
  • caddy 2
dockerfile
apps/push-serverless/Dockerfile
  • node 20-slim
  • ossrs/srs 5
apps/push/Dockerfile
  • node 20-slim
  • node 20-slim
apps/server/Dockerfile
  • node 20-slim
  • node 20-slim
apps/video/Dockerfile
  • node 20-slim
  • node 20-slim
github-actions
.github/workflows/_build_push.yml
  • actions/checkout v4
  • docker/setup-buildx-action v3
  • docker/login-action v3
  • docker/build-push-action v5
  • docker/build-push-action v5
.github/workflows/_build_server.yml
  • actions/checkout v4
  • docker/setup-buildx-action v3
  • docker/login-action v3
  • docker/build-push-action v5
.github/workflows/_build_video.yml
  • actions/checkout v4
  • docker/setup-buildx-action v3
  • docker/login-action v3
  • docker/build-push-action v5
.github/workflows/_lint.yml
  • actions/checkout v4
  • actions/setup-node v4
  • actions/cache v4
  • actions/checkout v4
  • actions/setup-node v4
  • actions/cache v4
.github/workflows/codeql.yml
  • actions/checkout v4
  • github/codeql-action v3
  • github/codeql-action v3
  • github/codeql-action v3
npm
apps/push-serverless/package.json
  • @aspida/fetch 1.14.0
  • @koa/router 12.0.1
  • @sentry/node 8.7.0
  • ajv 8.16.0
  • aspida 1.14.0
  • fluent-ffmpeg 2.1.3
  • jose 5.4.0
  • koa 2.15.3
  • koa-bodyparser 4.4.1
  • koa-logger 3.2.1
  • ws 8.17.0
  • @tsconfig/node18 18.2.4
  • @types/fluent-ffmpeg 2.1.24
  • @types/koa 2.15.0
  • @types/koa-bodyparser 4.3.12
  • @types/koa-logger 3.1.5
  • @types/koa__router 12.0.4
  • @types/node 20.14.2
  • @types/whatwg-fetch 0.0.33
  • @types/ws 8.5.10
  • @typescript-eslint/eslint-plugin 7.12.0
  • @typescript-eslint/parser 7.12.0
  • @vercel/ncc 0.38.1
  • eslint 8.57.0
  • eslint-config-prettier 9.1.0
  • jest 29.7.0
  • ts-node 10.9.2
  • typescript 5.4.5
  • ws 8.17.0
apps/push/package.json
  • @aspida/fetch 1.14.0
  • @aws-sdk/client-s3 3.591.0
  • @koa/router 12.0.1
  • @sentry/node 8.7.0
  • ajv 8.16.0
  • aspida 1.14.0
  • ffmpeg-ffprobe-static 6.1.1
  • ffmpeg-static 5.2.0
  • fluent-ffmpeg 2.1.3
  • jose 5.4.0
  • koa 2.15.3
  • koa-bodyparser 4.4.1
  • koa-logger 3.2.1
  • ws 8.17.0
  • @tsconfig/node18 18.2.4
  • @types/fluent-ffmpeg 2.1.24
  • @types/koa 2.15.0
  • @types/koa-bodyparser 4.3.12
  • @types/koa-logger 3.1.5
  • @types/koa__router 12.0.4
  • @types/node 20.14.2
  • @types/whatwg-fetch 0.0.33
  • @types/ws 8.5.10
  • @typescript-eslint/eslint-plugin 7.12.0
  • @typescript-eslint/parser 7.12.0
  • eslint 8.57.0
  • eslint-config-prettier 9.1.0
  • jest 29.7.0
  • ts-node 10.9.2
  • typescript 5.4.5
apps/server/package.json
  • @aspida/fetch 1.14.0
  • @aws-sdk/client-s3 3.591.0
  • @aws-sdk/middleware-endpoint 3.374.0
  • @aws-sdk/s3-request-presigner 3.591.0
  • @bull-board/api 5.20.1
  • @bull-board/koa 5.20.1
  • @dotplants/cli 0.2.3
  • @koa/cors 5.0.0
  • @koa/multer 3.0.2
  • @koa/router 12.0.1
  • @prisma/client 5.15.0
  • @sentry/node 8.7.0
  • ajv 8.16.0
  • aspida 1.14.0
  • bullmq 5.7.15
  • dotenv 16.4.5
  • ioredis 5.4.1
  • is-valid-domain 0.1.6
  • jose 5.4.0
  • koa 2.15.3
  • koa-bodyparser 4.4.1
  • koa-logger 3.2.1
  • multer 1.4.5-lts.1
  • path-to-regexp 6.2.2
  • prisma 5.15.0
  • sharp 0.33.4
  • striptags 3.2.0
  • ws 8.17.0
  • @tsconfig/node18 18.2.4
  • @types/jest 29.5.12
  • @types/koa 2.15.0
  • @types/koa-bodyparser 4.3.12
  • @types/koa-logger 3.1.5
  • @types/koa__cors 5.0.0
  • @types/koa__multer 2.0.7
  • @types/koa__router 12.0.4
  • @types/node 20.14.2
  • @types/sharp 0.32.0
  • @types/whatwg-fetch 0.0.33
  • @types/ws 8.5.10
  • @typescript-eslint/eslint-plugin 7.12.0
  • @typescript-eslint/parser 7.12.0
  • eslint 8.57.0
  • eslint-config-prettier 9.1.0
  • jest 29.7.0
  • ts-jest 29.1.4
  • ts-node 10.9.2
  • ts-node-dev 2.0.0
  • typescript 5.4.5
apps/video/package.json
  • @aspida/fetch 1.14.0
  • @koa/router 12.0.1
  • @sentry/node 8.7.0
  • ajv 8.16.0
  • aspida 1.14.0
  • ffmpeg-static 5.2.0
  • fluent-ffmpeg 2.1.3
  • koa 2.15.3
  • koa-bodyparser 4.4.1
  • koa-logger 3.2.1
  • @tsconfig/node18 18.2.4
  • @types/fluent-ffmpeg 2.1.24
  • @types/koa 2.15.0
  • @types/koa-bodyparser 4.3.12
  • @types/koa-logger 3.1.5
  • @types/koa__router 12.0.4
  • @types/node 20.14.2
  • @typescript-eslint/eslint-plugin 7.12.0
  • @typescript-eslint/parser 7.12.0
  • eslint 8.57.0
  • eslint-config-prettier 9.1.0
  • jest 29.7.0
  • ts-node 10.9.2
  • typescript 5.4.5
apps/web/package.json
  • @aspida/fetch 1.14.0
  • @aspida/swr 1.14.0
  • @chakra-ui/icons 2.1.1
  • @chakra-ui/next-js 2.2.0
  • @chakra-ui/react 2.8.2
  • @emotion/react 11.11.4
  • @emotion/styled 11.11.5
  • @napi-rs/canvas 0.1.52
  • aspida 1.14.0
  • framer-motion 11.2.10
  • hls.js 1.5.11
  • is-valid-domain 0.1.6
  • jose 5.4.0
  • mpegts.js 1.7.3
  • mux-embed 5.2.1
  • next 14.2.3
  • nextjs-progressbar 0.0.16
  • octokit 4.0.2
  • react 18.3.1
  • react-dom 18.3.1
  • react-icons 5.2.1
  • react-intl 6.6.8
  • react-use 17.5.0
  • swr 2.2.5
  • @next/bundle-analyzer 14.2.3
  • @next/eslint-plugin-next 14.2.3
  • @testing-library/jest-dom 6.4.5
  • @testing-library/react 16.0.0
  • @testing-library/user-event 14.5.2
  • @tsconfig/next 2.0.3
  • @types/dom-screen-wake-lock 1.0.3
  • @types/jest 29.5.12
  • @types/node 20.14.2
  • @types/react 18.3.3
  • @types/react-dom 18.3.0
  • @typescript-eslint/eslint-plugin 7.12.0
  • @typescript-eslint/parser 7.12.0
  • eslint 8.57.0
  • eslint-config-next 14.2.3
  • eslint-config-prettier 9.1.0
  • eslint-plugin-jest-dom 5.4.0
  • eslint-plugin-react 7.34.2
  • eslint-plugin-react-hooks 4.6.2
  • eslint-plugin-testing-library 6.2.2
  • jest 29.7.0
  • jest-environment-jsdom 29.7.0
  • ts-node 10.9.2
  • typescript 5.4.5
  • yarn 4.2.2
package.json
  • @knzk/prettier-config 1.0.0
  • prettier 3.3.1
  • turbo 1.13.4
  • yarn 4.2.2
packages/api-types/package.json
  • @knzk/prettier-config 1.0.0
  • @tsconfig/node18 18.2.4
  • @types/node 20.14.2
  • @types/node-fetch 2.6.11
  • @typescript-eslint/eslint-plugin 7.12.0
  • @typescript-eslint/experimental-utils 5.62.0
  • @typescript-eslint/parser 7.12.0
  • aspida 1.14.0
  • eslint 8.57.0
  • eslint-config-prettier 9.1.0
  • eslint-plugin-aspida 0.1.0
  • prettier 3.3.1
  • typescript 5.4.5

  • Check this box to trigger a request for Renovate to run again on this repository

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.