{"id":19703562,"url":"https://github.com/monibuca/plugin-jessica","last_synced_at":"2025-04-29T14:30:54.573Z","repository":{"id":53695679,"uuid":"256443836","full_name":"Monibuca/plugin-jessica","owner":"Monibuca","description":"ws-flv协议实现，可对接flv.js播放器以及jessibuca播放器","archived":false,"fork":false,"pushed_at":"2023-12-18T23:12:44.000Z","size":2572,"stargazers_count":24,"open_issues_count":3,"forks_count":22,"subscribers_count":2,"default_branch":"v4","last_synced_at":"2025-04-05T17:51:08.847Z","etag":null,"topics":["webscoket","websocket-flv"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Monibuca.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-04-17T08:18:27.000Z","updated_at":"2025-02-18T10:08:31.000Z","dependencies_parsed_at":"2024-06-18T19:50:17.142Z","dependency_job_id":"6387818b-ef56-48b0-86da-3588fe6cfa95","html_url":"https://github.com/Monibuca/plugin-jessica","commit_stats":null,"previous_names":[],"tags_count":28,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Monibuca%2Fplugin-jessica","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Monibuca%2Fplugin-jessica/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Monibuca%2Fplugin-jessica/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Monibuca%2Fplugin-jessica/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Monibuca","download_url":"https://codeload.github.com/Monibuca/plugin-jessica/tar.gz/refs/heads/v4","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251518857,"owners_count":21602228,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["webscoket","websocket-flv"],"created_at":"2024-11-11T21:18:14.785Z","updated_at":"2025-04-29T14:30:52.579Z","avatar_url":"https://github.com/Monibuca.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# JESSICA 插件\n\n通过Websocket传输音视频数据，使用Jessibuca播放器进行播放。\n\n## 插件地址\n\nhttps://github.com/Monibuca/plugin-jessica\n\n## 插件引入\n```go\nimport (\n    _ \"m7s.live/plugin/jessica/v4\"\n)\n```\n\n## 配置\n\n可配置WS协议和WSS协议监听地址端口\n\n```yaml\njessica:\n    http:\n      listenaddr: :8080 # 网关地址，用于访问API\n      listenaddrtls: \"\"  # 用于HTTPS方式访问API的端口配置\n      certfile: \"\"\n      keyfile: \"\"\n      cors: true  # 是否自动添加cors头\n      username: \"\"  # 用户名和密码，用于API访问时的基本身份认证\n      password: \"\"\n    subscribe:\n        subaudio: true # 是否订阅音频流\n        subvideo: true # 是否订阅视频流\n        subaudioargname: ats # 订阅音频轨道参数名\n        subvideoargname: vts # 订阅视频轨道参数名\n        subdataargname: dts # 订阅数据轨道参数名\n        subaudiotracks: [] # 订阅音频轨道名称列表\n        subvideotracks: [] # 订阅视频轨道名称列表\n        submode: 0 # 订阅模式，0为跳帧追赶模式，1为不追赶（多用于录制），2为时光回溯模式\n        iframeonly: false # 只订阅关键帧\n        waittimeout: 10s # 等待发布者的超时时间，用于订阅尚未发布的流\n```\n\n## 协议说明\n\n该插件提供两种格式的协议供播放器播放。\n\n### WS-RAW\n\n- 地址格式：ws://[HOST]/jessica/[streamPath]\n\n- 该协议传输的是私有格式，第一个字节代表音视频，1为音频，2为视频，后面跟4个字节的时间戳，然后接上字节流（RTMP的VideoTag或AudioTag）\n\n### WS-FLV\n\n- 地址格式：ws://[HOST]/jessica/[streamPath].flv\n- 该协议传输的flv格式的文件流\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmonibuca%2Fplugin-jessica","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmonibuca%2Fplugin-jessica","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmonibuca%2Fplugin-jessica/lists"}