{"id":36692045,"url":"https://github.com/zhangjunfang/livego","last_synced_at":"2026-01-12T11:22:14.510Z","repository":{"id":44499735,"uuid":"126788232","full_name":"zhangjunfang/livego","owner":"zhangjunfang","description":"直播服务器   hls   stream  online  RTMP  AMF  HLS  HTTP-FLV","archived":false,"fork":false,"pushed_at":"2018-03-26T09:28:45.000Z","size":78,"stargazers_count":39,"open_issues_count":1,"forks_count":9,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-08-14T16:40:37.706Z","etag":null,"topics":["amf","hls","http-flv","online","rtmp","stream"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zhangjunfang.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-03-26T07:10:11.000Z","updated_at":"2025-05-11T12:47:34.000Z","dependencies_parsed_at":"2022-09-17T07:51:43.074Z","dependency_job_id":null,"html_url":"https://github.com/zhangjunfang/livego","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/zhangjunfang/livego","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhangjunfang%2Flivego","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhangjunfang%2Flivego/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhangjunfang%2Flivego/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhangjunfang%2Flivego/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zhangjunfang","download_url":"https://codeload.github.com/zhangjunfang/livego/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhangjunfang%2Flivego/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28338971,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-12T10:58:46.209Z","status":"ssl_error","status_checked_at":"2026-01-12T10:58:42.742Z","response_time":98,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["amf","hls","http-flv","online","rtmp","stream"],"created_at":"2026-01-12T11:22:12.936Z","updated_at":"2026-01-12T11:22:14.505Z","avatar_url":"https://github.com/zhangjunfang.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# livego\n直播服务器\n简单高效的直播服务器：\n- 安装和使用非常简单；\n- 纯 Golang 编写，性能高，跨平台；\n- 支持常用的传输协议、文件格式、编码格式；\n\n#### 支持的传输协议\n- [x] RTMP  适合延迟比较小3-4s\n- [x] AMF\n- [x] HLS   延迟一般在10s\n- [x] HTTP-FLV 延迟一般在10s\n\n#### 支持的容器格式\n- [x] FLV  支持flash格式\n- [x] TS\n\n#### 支持的编码格式\n- [x] H264\n- [x] AAC\n- [x] MP3\n\n#### 从源码编译\n1. 下载源码 `git clone https://github.com/zhangjunfang/livego.git`\n2. 去 livego 目录中 执行 `go build`\n\n## 使用\n2. 启动服务：执行 `livego` 二进制文件启动 livego 服务；\n3. 上行推流：通过 `RTMP` 协议把视频流推送到 `rtmp://localhost:1935/live/movie`，例如使用 `ffmpeg -re -i demo.flv -c copy -f flv rtmp://localhost:1935/live/movie` 推送；\n4. 下行播放：支持以下三种播放协议，播放地址如下：\n    - `RTMP`:`rtmp://localhost:1935/live/movie`\n    - `FLV`:`http://127.0.0.1:7001/live/movie.flv`\n    - `HLS`:`http://127.0.0.1:7002/live/movie.m3u8`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzhangjunfang%2Flivego","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzhangjunfang%2Flivego","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzhangjunfang%2Flivego/lists"}