Case
aiosendspin -> aiosendspin
Start the server first, then the client. The client connects, advertises two PCM formats (24-bit then 16-bit), and the server starts streaming the higher-priority 24-bit format. The client then sends a client/state whose player format prefers the 16-bit entry. The matrix verifies the server received that preference in client/state and the client observed a new stream/start in the 16-bit format.
Server
aiosendspin
Client
aiosendspin
Status
Passed
Renegotiated pcm/8000Hz/24bit/1ch -> pcm/8000Hz/16bit/1ch
Server activation
Initial server/activate
What the aiosendspin server's own adapter recorded for its first server/activate on this connection, reported as sent. The case fails when none was sent, when its activities are not unique values from playback and pairing, or when it omits active_roles. Nothing else in it is checked against the specification: which activities and roles the matched PSK allows is not judged. A recording that cannot be read as that message is shown whole and not judged either.
Server group state
Every group/update after activation
What the aiosendspin server's own adapter recorded for each group/update it sent after its first server/activate on this connection, in order and reported as sent. The case fails when none followed, or when in any of them playback_state is not playing or stopped, or group_id or group_name is missing or not a string. How soon the first followed is not judged, because the specification says promptly and gives no bound, so one sent at any point in the case counts. Whether a change to a field produced a further message is not judged either. A recording of anything other than that message is shown whole and fails the case as a harness gap.
1 of 3
2 of 3
3 of 3
Inspection
Summaries, logs, and builds
Matrix result
RAW{
"case_dir": "artifacts/results/data/macos__client-initiated-state-format-pcm__aiosendspin__to__aiosendspin",
"client_exit_code": 0,
"client_impl": "aiosendspin",
"reason": "Renegotiated pcm/8000Hz/24bit/1ch -> pcm/8000Hz/16bit/1ch",
"scenario_id": "client-initiated-state-format-pcm",
"scenario_revision": 5,
"server_exit_code": 0,
"server_impl": "aiosendspin",
"status": "passed",
"unsupported": false
}Server summary (JSON)
RAW{
"activation": {
"payload": {
"active_roles": [
"player@v1"
],
"activities": []
},
"type": "server/activate"
},
"audio": {
"bit_depth": 16,
"channels": 1,
"clip_seconds": 5.0,
"duration_seconds": 5.0,
"fixture": "/Users/runner/work/conformance/conformance/repos/sendspin-cli/tests/fixtures/almost_silent.flac",
"frame_alignment_samples": null,
"frame_count": 40000,
"sample_rate": 8000,
"sent_audio_chunk_count": 200,
"sent_codec_header_sha256": null,
"sent_encoded_byte_count": 80800,
"sent_encoded_sha256": "ec8485b8f374488a23613f3e4857ea3247f2bf95ab9a999981ca824f9884a0c1",
"source_flac_sha256": "8fdda8244e318c63cd8b699fe461cd7cdddbb729327a0ba00d1bfdbe2192fe17",
"source_pcm_sha256": "9d447b5b270bc99b45bb9a616937e436c941ca56c477f9cbe16a93275a6b059e",
"trimmed_source_frames": 0
},
"availability_trace": [
{
"available": false,
"type": "client/state"
},
{
"available": true,
"type": "client/state"
},
{
"phase": "sending",
"roles": [
"player"
],
"type": "stream/start"
},
{
"phase": "sent",
"roles": [
"player"
],
"type": "stream/start"
},
{
"available": true,
"type": "client/state"
},
{
"phase": "sending",
"roles": [
"player"
],
"type": "stream/start"
},
{
"phase": "sent",
"roles": [
"player"
],
"type": "stream/start"
}
],
"client": {
"active_roles": [
"player@v1"
],
"client_id": "rFgILqo5YfPor8oK13GTFmECUaxYcW46Q1TFv8F38Xg",
"name": "aiosendspin-client",
"supported_roles": [
"player@v1"
]
},
"discovery_method": "registry_advertised",
"format_preference": {
"received": {
"bit_depth": 16,
"channels": 1,
"codec": "pcm",
"sample_rate": 8000
}
},
"group_updates": [
{
"payload": {
"group_id": "801991ab-bc01-44b5-a396-c90148c016cc",
"group_name": "aiosendspin-client",
"playback_state": "stopped"
},
"type": "group/update"
},
{
"payload": {
"group_id": "801991ab-bc01-44b5-a396-c90148c016cc",
"group_name": "aiosendspin-client",
"playback_state": "playing"
},
"type": "group/update"
},
{
"payload": {
"group_id": "801991ab-bc01-44b5-a396-c90148c016cc",
"group_name": "aiosendspin-client",
"playback_state": "stopped"
},
"type": "group/update"
}
],
"implementation": "aiosendspin",
"initiator_role": "client",
"peer_hello": {
"payload": {
"name": "aiosendspin-client",
"player@v1_support": {
"buffer_capacity": 2000000,
"supported_formats": [
{
"bit_depth": 24,
"channels": 1,
"codec": "pcm",
"sample_rate": 8000
},
{
"bit_depth": 16,
"channels": 1,
"codec": "pcm",
"sample_rate": 8000
}
]
},
"supported_pair_methods": {
"pairing_psk": {}
},
"supported_roles": [
"player@v1"
],
"unpaired_access": {
"enabled": true
}
},
"type": "client/hello"
},
"preferred_codec": "pcm",
"role": "server",
"scenario_id": "client-initiated-state-format-pcm",
"server_id": "dsIlKLOY1OqUfE4ig1m3id0r6yr2D5_3R-FJLQZI30I",
"server_name": "aiosendspin server",
"status": "ok",
"stream": {
"bit_depth": 16,
"channels": 1,
"codec": "pcm",
"codec_header": null,
"sample_rate": 8000
},
"time_exchange": [
{
"payload": {
"client_transmitted": 1042373448
},
"type": "client/time"
},
{
"payload": {
"client_transmitted": 1042373448,
"server_received": 1042375465,
"server_transmitted": 1042375747
},
"type": "server/time"
},
{
"payload": {
"client_transmitted": 1042577024
},
"type": "client/time"
},
{
"payload": {
"client_transmitted": 1042577024,
"server_received": 1042577496,
"server_transmitted": 1042577817
},
"type": "server/time"
},
{
"type": "other-sent"
},
{
"payload": {
"client_transmitted": 1042672619
},
"type": "client/time"
},
{
"payload": {
"client_transmitted": 1042672619,
"server_received": 1042672901,
"server_transmitted": 1042673100
},
"type": "server/time"
},
{
"type": "other-sent"
},
{
"payload": {
"client_transmitted": 1042777781
},
"type": "client/time"
},
{
"payload": {
"client_transmitted": 1042777781,
"server_received": 1042778178,
"server_transmitted": 1042778418
},
"type": "server/time"
},
{
"payload": {
"client_transmitted": 1045786590
},
"type": "client/time"
},
{
"payload": {
"client_transmitted": 1045786590,
"server_received": 1045787092,
"server_transmitted": 1045787357
},
"type": "server/time"
},
{
"type": "other-sent"
},
{
"payload": {
"client_transmitted": 1048792992
},
"type": "client/time"
},
{
"payload": {
"client_transmitted": 1048792992,
"server_received": 1048793479,
"server_transmitted": 1048793772
},
"type": "server/time"
}
]
}Server log
RAWINFO:aiosendspin.server.server:Starting Sendspin server on port 19035
INFO:aiosendspin.server.server:Sendspin server started successfully on 127.0.0.1:19035
WARNING:aiosendspin.server.server:No IP addresses available for mDNS advertising. Clients may not be able to discover this server. Consider specifying addresses manually via advertise_addresses.
WARNING:aiosendspin.server.connection.rFgILqo5YfPor8oK13GTFmECUaxYcW46Q1TFv8F38Xg:Late binary type=4 role=player: skipping 1 chunk(s); late_by_us=2238 ts_us=1046716376 now_us=1046718614 queue=4/8192 enq_lead_ms=-2 queue_age_ms=0 buf_ms=0 buf_bytes=0/2000000 stream_elapsed_s=3.9
WARNING:aiosendspin.server.connection.rFgILqo5YfPor8oK13GTFmECUaxYcW46Q1TFv8F38Xg:Enqueued already-late binary type=4 role=player: 1 message(s); behind_by_us=25986 ts_us=1047016376 now_us=1047042362 queue=0
{
"activation": {
"payload": {
"active_roles": [
"player@v1"
],
"activities": []
},
"type": "server/activate"
},
"audio": {
"bit_depth": 16,
"channels": 1,
"clip_seconds": 5.0,
"duration_seconds": 5.0,
"fixture": "/Users/runner/work/conformance/conformance/repos/sendspin-cli/tests/fixtures/almost_silent.flac",
"frame_alignment_samples": null,
"frame_count": 40000,
"sample_rate": 8000,
"sent_audio_chunk_count": 200,
"sent_codec_header_sha256": null,
"sent_encoded_byte_count": 80800,
"sent_encoded_sha256": "ec8485b8f374488a23613f3e4857ea3247f2bf95ab9a999981ca824f9884a0c1",
"source_flac_sha256": "8fdda8244e318c63cd8b699fe461cd7cdddbb729327a0ba00d1bfdbe2192fe17",
"source_pcm_sha256": "9d447b5b270bc99b45bb9a616937e436c941ca56c477f9cbe16a93275a6b059e",
"trimmed_source_frames": 0
},
"availability_trace": [
{
"available": false,
"type": "client/state"
},
{
"available": true,
"type": "client/state"
},
{
"phase": "sending",
"roles": [
"player"
],
"type": "stream/start"
},
{
"phase": "sent",
"roles": [
"player"
],
"type": "stream/start"
},
{
"available": true,
"type": "client/state"
},
{
"phase": "sending",
"roles": [
"player"
],
"type": "stream/start"
},
{
"phase": "sent",
"roles": [
"player"
],
"type": "stream/start"
}
],
"client": {
"active_roles": [
"player@v1"
],
"client_id": "rFgILqo5YfPor8oK13GTFmECUaxYcW46Q1TFv8F38Xg",
"name": "aiosendspin-client",
"supported_roles": [
"player@v1"
]
},
"discovery_method": "registry_advertised",
"format_preference": {
"received": {
"bit_depth": 16,
"channels": 1,
"codec": "pcm",
"sample_rate": 8000
}
},
"group_updates": [
{
"payload": {
"group_id": "801991ab-bc01-44b5-a396-c90148c016cc",
"group_name": "aiosendspin-client",
"playback_state": "stopped"
},
"type": "group/update"
},
{
"payload": {
"group_id": "801991ab-bc01-44b5-a396-c90148c016cc",
"group_name": "aiosendspin-client",
"playback_state": "playing"
},
"type": "group/update"
},
{
"payload": {
"group_id": "801991ab-bc01-44b5-a396-c90148c016cc",
"group_name": "aiosendspin-client",
"playback_state": "stopped"
},
"type": "group/update"
}
],
"implementation": "aiosendspin",
"initiator_role": "client",
"peer_hello": {
"payload": {
"name": "aiosendspin-client",
"player@v1_support": {
"buffer_capacity": 2000000,
"supported_formats": [
{
"bit_depth": 24,
"channels": 1,
"codec": "pcm",
"sample_rate": 8000
},
{
"bit_depth": 16,
"channels": 1,
"codec": "pcm",
"sample_rate": 8000
}
]
},
"supported_pair_methods": {
"pairing_psk": {}
},
"supported_roles": [
"player@v1"
],
"unpaired_access": {
"enabled": true
}
},
"type": "client/hello"
},
"preferred_codec": "pcm",
"role": "server",
"scenario_id": "client-initiated-state-format-pcm",
"server_id": "dsIlKLOY1OqUfE4ig1m3id0r6yr2D5_3R-FJLQZI30I",
"server_name": "aiosendspin server",
"status": "ok",
"stream": {
"bit_depth": 16,
"channels": 1,
"codec": "pcm",
"codec_header": null,
"sample_rate": 8000
},
"time_exchange": [
{
"payload": {
"client_transmitted": 1042373448
},
"type": "client/time"
},
{
"payload": {
"client_transmitted": 1042373448,
"server_received": 1042375465,
"server_transmitted": 1042375747
},
"type": "server/time"
},
{
"payload": {
"client_transmitted": 1042577024
},
"type": "client/time"
},
{
"payload": {
"client_transmitted": 1042577024,
"server_received": 1042577496,
"server_transmitted": 1042577817
},
"type": "server/time"
},
{
"type": "other-sent"
},
{
"payload": {
"client_transmitted": 1042672619
},
"type": "client/time"
},
{
"payload": {
"client_transmitted": 1042672619,
"server_received": 1042672901,
"server_transmitted": 1042673100
},
"type": "server/time"
},
{
"type": "other-sent"
},
{
"payload": {
"client_transmitted": 1042777781
},
"type": "client/time"
},
{
"payload": {
"client_transmitted": 1042777781,
"server_received": 1042778178,
"server_transmitted": 1042778418
},
"type": "server/time"
},
{
"payload": {
"client_transmitted": 1045786590
},
"type": "client/time"
},
{
"payload": {
"client_transmitted": 1045786590,
"server_received": 1045787092,
"server_transmitted": 1045787357
},
"type": "server/time"
},
{
"type": "other-sent"
},
{
"payload": {
"client_transmitted": 1048792992
},
"type": "client/time"
},
{
"payload": {
"client_transmitted": 1048792992,
"server_received": 1048793479,
"server_transmitted": 1048793772
},
"type": "server/time"
}
]
}
INFO:aiohttp.access:127.0.0.1 [21/Oct/2026:07:25:59 +0000] "GET /sendspin HTTP/1.1" 101 0 "-" "Python/3.12 aiohttp/3.14.5"
Client summary (JSON)
RAW{
"client_id": "rFgILqo5YfPor8oK13GTFmECUaxYcW46Q1TFv8F38Xg",
"client_name": "aiosendspin-client",
"implementation": "aiosendspin",
"initiator_role": "client",
"peer_hello": null,
"preferred_codec": "pcm",
"renegotiation": {
"final_format": {
"bit_depth": 16,
"channels": 1,
"codec": "pcm",
"sample_rate": 8000
},
"initial_format": {
"bit_depth": 24,
"channels": 1,
"codec": "pcm",
"sample_rate": 8000
},
"requested": {
"bit_depth": 16,
"channels": 1,
"codec": "pcm",
"sample_rate": 8000
},
"stream_start_count": 2
},
"role": "client",
"scenario_id": "client-initiated-state-format-pcm",
"server": null,
"status": "ok",
"stream": {
"bit_depth": 24,
"channels": 1,
"codec": "pcm",
"codec_header": null,
"sample_rate": 8000
}
}Client log
RAWINFO:aiosendspin.client.client:Connecting to Sendspin server at ws://127.0.0.1:19035/sendspin
INFO:aiosendspin.client.connection:Stream started with codec pcm
INFO:aiosendspin.client.connection:Stream format updated to pcm
{
"client_id": "rFgILqo5YfPor8oK13GTFmECUaxYcW46Q1TFv8F38Xg",
"client_name": "aiosendspin-client",
"implementation": "aiosendspin",
"initiator_role": "client",
"peer_hello": null,
"preferred_codec": "pcm",
"renegotiation": {
"final_format": {
"bit_depth": 16,
"channels": 1,
"codec": "pcm",
"sample_rate": 8000
},
"initial_format": {
"bit_depth": 24,
"channels": 1,
"codec": "pcm",
"sample_rate": 8000
},
"requested": {
"bit_depth": 16,
"channels": 1,
"codec": "pcm",
"sample_rate": 8000
},
"stream_start_count": 2
},
"role": "client",
"scenario_id": "client-initiated-state-format-pcm",
"server": null,
"status": "ok",
"stream": {
"bit_depth": 24,
"channels": 1,
"codec": "pcm",
"codec_header": null,
"sample_rate": 8000
}
}
ERROR:asyncio:Unclosed client session
client_session: <aiohttp.client.ClientSession object at 0x108a1e3f0>
Shared build log · python-adapters · built · 0.24s
RAW.py'... Compiling 'src/conformance/_vendor/aiosendspin/server/roles/player/audio_transformers.py'... Compiling 'src/conformance/_vendor/aiosendspin/server/roles/player/capabilities.py'... Compiling 'src/conformance/_vendor/aiosendspin/server/roles/player/events.py'... Compiling 'src/conformance/_vendor/aiosendspin/server/roles/player/group.py'... Compiling 'src/conformance/_vendor/aiosendspin/server/roles/player/types.py'... Compiling 'src/conformance/_vendor/aiosendspin/server/roles/player/v1.py'... Compiling 'src/conformance/_vendor/aiosendspin/server/roles/registry.py'... Compiling 'src/conformance/_vendor/aiosendspin/server/roles/scheduled_state.py'... Listing 'src/conformance/_vendor/aiosendspin/server/roles/source'... Compiling 'src/conformance/_vendor/aiosendspin/server/roles/source/__init__.py'... Compiling 'src/conformance/_vendor/aiosendspin/server/roles/source/events.py'... Compiling 'src/conformance/_vendor/aiosendspin/server/roles/source/stream.py'... Compiling 'src/conformance/_vendor/aiosendspin/server/roles/source/v1.py'... Listing 'src/conformance/_vendor/aiosendspin/server/roles/visualizer'... Compiling 'src/conformance/_vendor/aiosendspin/server/roles/visualizer/__init__.py'... Compiling 'src/conformance/_vendor/aiosendspin/server/roles/visualizer/features.py'... Compiling 'src/conformance/_vendor/aiosendspin/server/roles/visualizer/group.py'... Compiling 'src/conformance/_vendor/aiosendspin/server/roles/visualizer/packing.py'... Compiling 'src/conformance/_vendor/aiosendspin/server/roles/visualizer/types.py'... Compiling 'src/conformance/_vendor/aiosendspin/server/roles/visualizer/v1.py'... Listing 'src/conformance/_vendor/aiosendspin/server/roles/visualizer_draft_r1'... Compiling 'src/conformance/_vendor/aiosendspin/server/roles/visualizer_draft_r1/__init__.py'... Compiling 'src/conformance/_vendor/aiosendspin/server/roles/visualizer_draft_r1/features.py'... Compiling 'src/conformance/_vendor/aiosendspin/server/roles/visualizer_draft_r1/packing.py'... Compiling 'src/conformance/_vendor/aiosendspin/server/roles/visualizer_draft_r1/role.py'... Compiling 'src/conformance/_vendor/aiosendspin/server/server.py'... Compiling 'src/conformance/_vendor/aiosendspin/util.py'... Listing 'src/conformance/adapters'... Compiling 'src/conformance/adapters/__init__.py'... Compiling 'src/conformance/adapters/_aiosendspin_pairing.py'... Compiling 'src/conformance/adapters/_aiosendspin_protocol_evidence.py'... Compiling 'src/conformance/adapters/aiosendspin_client.py'... Compiling 'src/conformance/adapters/aiosendspin_server.py'... Compiling 'src/conformance/adapters/placeholder.py'... Compiling 'src/conformance/cli.py'... Compiling 'src/conformance/flac.py'... Compiling 'src/conformance/merge.py'... Compiling 'src/conformance/pcm.py'... Compiling 'src/conformance/registry.py'... Listing 'src/conformance/validator'... Compiling 'src/conformance/validator/__init__.py'... Compiling 'src/conformance/validator/checks.py'... Compiling 'src/conformance/validator/cli.py'... Compiling 'src/conformance/validator/code_pairing.py'... Compiling 'src/conformance/validator/code_pairing_checks.py'... Compiling 'src/conformance/validator/discovery.py'... Compiling 'src/conformance/validator/findings.py'... Compiling 'src/conformance/validator/noncompliance_refs.py'... Compiling 'src/conformance/validator/prompter.py'... Compiling 'src/conformance/validator/recorder.py'... Compiling 'src/conformance/validator/report.py'... Compiling 'src/conformance/validator/session.py'... Compiling 'src/conformance/validator/storage.py'... Compiling 'src/conformance/validator/suite_checks.py'... Compiling 'src/conformance/validator/suites.py'... Listing 'src/sendspin_conformance.egg-info'... Listing 'scripts'... Compiling 'scripts/detect_regressions.py'... Compiling 'scripts/merge_results.py'... Compiling 'scripts/run_all.py'... Compiling 'scripts/setup_repositories.py'... Compiling 'scripts/setup_workspace.py'... Compiling 'scripts/vendor_aiosendspin.py'...