Skip to content

Safari not working #49

Description

@Aragur

If you start the playback on Safari, nothing happens.
Console outputs constantly:

Chunk too old, dropping (age: 33.40 > 24.00)

This is my initial json recieved:

{
  "id": 1,
  "jsonrpc": "2.0",
  "result": {
    "server": {
      "groups": [
        {
          "clients": [
            {
              "config": {
                "instance": 1,
                "latency": 0,
                "name": "",
                "volume": {
                  "muted": false,
                  "percent": 100
                }
              },
              "connected": true,
              "host": {
                "arch": "web",
                "ip": "172.19.0.2",
                "mac": "00:00:00:00:00:00",
                "name": "Snapweb client",
                "os": "MacIntel"
              },
              "id": "feffcb23-263e-442a-88fa-1606bf675d0f",
              "lastSeen": {
                "sec": 1689077169,
                "usec": 36082
              },
              "snapclient": {
                "name": "Snapweb",
                "protocolVersion": 2,
                "version": "0.5.0"
              }
            }
          ],
          "id": "2dfa5457-25a7-44c6-a0b2-cca8b02911b3",
          "muted": false,
          "name": "",
          "stream_id": "KispiRadio"
        },
        {
          "clients": [
            {
              "config": {
                "instance": 1,
                "latency": 0,
                "name": "",
                "volume": {
                  "muted": false,
                  "percent": 100
                }
              },
              "connected": true,
              "host": {
                "arch": "web",
                "ip": "172.19.0.2",
                "mac": "00:00:00:00:00:00",
                "name": "Snapweb client",
                "os": "MacIntel"
              },
              "id": "cc79163b-47c2-44ea-a8ba-277f5e802452",
              "lastSeen": {
                "sec": 1689077170,
                "usec": 224573
              },
              "snapclient": {
                "name": "Snapweb",
                "protocolVersion": 2,
                "version": "0.5.0"
              }
            }
          ],
          "id": "3a955525-b737-06fe-f611-71834f815c64",
          "muted": false,
          "name": "",
          "stream_id": "KispiRadio"
        },
        {
          "clients": [
            {
              "config": {
                "instance": 1,
                "latency": 0,
                "name": "",
                "volume": {
                  "muted": false,
                  "percent": 100
                }
              },
              "connected": false,
              "host": {
                "arch": "web",
                "ip": "172.19.0.2",
                "mac": "00:00:00:00:00:00",
                "name": "Snapweb client",
                "os": "MacIntel"
              },
              "id": "1caac6d8-bfd1-400c-909d-2f15574482e9",
              "lastSeen": {
                "sec": 1689077085,
                "usec": 793655
              },
              "snapclient": {
                "name": "Snapweb",
                "protocolVersion": 2,
                "version": "0.5.0"
              }
            }
          ],
          "id": "54404d8b-0ec6-83b8-62ca-4af00f7702b9",
          "muted": false,
          "name": "",
          "stream_id": "KispiRadio"
        },
        {
          "clients": [
            {
              "config": {
                "instance": 1,
                "latency": 0,
                "name": "",
                "volume": {
                  "muted": false,
                  "percent": 100
                }
              },
              "connected": false,
              "host": {
                "arch": "web",
                "ip": "10.5.101.2",
                "mac": "00:00:00:00:00:00",
                "name": "Snapweb client",
                "os": "MacIntel"
              },
              "id": "b8882e8b-f86f-4646-8dff-1f98b91e1def",
              "lastSeen": {
                "sec": 1689077170,
                "usec": 232863
              },
              "snapclient": {
                "name": "Snapweb",
                "protocolVersion": 2,
                "version": "0.5.0"
              }
            }
          ],
          "id": "2f6c8909-8c03-79ab-c67b-f0e90f618a76",
          "muted": false,
          "name": "",
          "stream_id": "KispiRadio"
        }
      ],
      "server": {
        "host": {
          "arch": "x86_64",
          "ip": "",
          "mac": "",
          "name": "3127a9a8a482",
          "os": "Alpine Linux edge"
        },
        "snapserver": {
          "controlProtocolVersion": 1,
          "name": "Snapserver",
          "protocolVersion": 1,
          "version": "0.27.0"
        }
      },
      "streams": [
        {
          "id": "KispiRadio",
          "properties": {
            "canControl": false,
            "canGoNext": false,
            "canGoPrevious": false,
            "canPause": false,
            "canPlay": false,
            "canSeek": false
          },
          "status": "playing",
          "uri": {
            "fragment": "",
            "host": "",
            "path": "/tmp/soundshare/snapfifo",
            "query": {
              "chunk_ms": "20",
              "codec": "flac",
              "name": "KispiRadio",
              "sampleformat": "48000:16:2"
            },
            "raw": "pipe:////tmp/soundshare/snapfifo?chunk_ms=20&codec=flac&name=KispiRadio&sampleformat=48000:16:2",
            "scheme": "pipe"
          }
        }
      ]
    }
  }
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions