bytelang / kplayer-go

A live streaming tool more suitable for non-graphical servers
https://kplayer.net
Apache License 2.0
744 stars 69 forks source link

求助:在使用混合资源时,使用插件后,不报错,但是不生效 #127

Open super-eggs opened 1 year ago

super-eggs commented 1 year ago
{
  "version": "2.0.0",
  "resource": {
    "lists": [
      {
        "unique": "tjyy-res",
        "groups": [
          {
            "path": "/root/kplayer/resource/11.mp4",
            "media_type": "video",
            "persistent_loop": true
          },
          {
            "path": "/root/kplayer/resource/22.mp3",
            "media_type": "audio"
          }
        ]
      }
    ]
  },
  "play": {
    "cache_on": true,
    "play_model": "loop",
    "rpc": {
      "on": true,
      "http_port": 4156,
      "grpc_port": 4157,
      "address": "127.0.0.1"
    }
  },
  "plugin": {
    "lists": [
      {
        "path": "show-time",
        "unique": "my_plugin",
        "params": {
          "fontsize": "20",
          "fontcolor": "white",
          "x": "10",
          "y": "10"
        }
      }
    ]
  },
  "output": {
    "lists": [
      {
        "path": "rtmp://xxxx",
        "unique": "a"
      }
    ]
  }
}
vaptu commented 1 year ago

请检查更改插件后有没有重建缓存

image