Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
super-eggs opened this issue Aug 19, 2023 · 1 comment

Comments

@super-eggs
Copy link

{
  "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
Copy link
Collaborator

vaptu commented Aug 19, 2023

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

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants