snapweb
snapweb copied to clipboard
Safari not working
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"
}
}
]
}
}
}
@Aragur you can use this newer build available on my fork until the main repo is fixed (if ever)
https://github.com/daredoes/snapweb/tree/react
Please retest with v0.6.0
it's working with v0.6.0 for me 🥳. thank you so much!