Case
aiosendspin -> sendspin-dotnet
Start the server first, then the client. The server loads the PCM audio derived from almost_silent.flac, the client advertises a listener and FLAC as its only supported audio format, the server connects in, uses the SDK to encode the PCM into FLAC, streams it to the client, and the matrix compares the transported FLAC header and chunk bytes as received by the client.
Server
aiosendspin
Client
sendspin-dotnet
Status
Passed
FLAC chunk bytes match exactly
Inspection
Summaries, logs, and builds
Matrix result
RAW{
"case_dir": "artifacts/results/data/macos__server-initiated-flac__aiosendspin__to__sendspin-dotnet",
"client_exit_code": 0,
"client_impl": "sendspin-dotnet",
"reason": "FLAC chunk bytes match exactly",
"scenario_id": "server-initiated-flac",
"server_exit_code": 0,
"server_impl": "aiosendspin",
"status": "passed"
}Server summary (JSON)
RAW{
"audio": {
"bit_depth": 16,
"channels": 1,
"clip_seconds": 5.0,
"duration_seconds": 4.968,
"fixture": "/Users/runner/work/conformance/conformance/repos/sendspin-cli/tests/fixtures/almost_silent.flac",
"frame_alignment_samples": 576,
"frame_count": 39744,
"sample_rate": 8000,
"sent_audio_chunk_count": 69,
"sent_codec_header_sha256": "cf785f756a60586c95243e827c384663e8dc4be893f3eb79a5b092b4df511214",
"sent_encoded_byte_count": 3817,
"sent_encoded_sha256": "a4be5550140f2e9d7a631318496eab0f63ca6b09ce6ff0e148b50d0364ffe49a",
"source_flac_sha256": "8fdda8244e318c63cd8b699fe461cd7cdddbb729327a0ba00d1bfdbe2192fe17",
"source_pcm_sha256": "ea4a8f1ced7d3ad85d46da1dea8cf98cd2cf75dbf305fb11cffea11b1e180952",
"trimmed_source_frames": 256
},
"client": {
"active_roles": [
"player@v1"
],
"client_id": "sendspin-dotnet-client-id",
"name": "sendspin-dotnet-client",
"supported_roles": [
"player@v1"
]
},
"discovery_method": "registry_fallback",
"implementation": "aiosendspin",
"initiator_role": "server",
"peer_hello": {
"payload": {
"client_id": "sendspin-dotnet-client-id",
"device_info": {
"manufacturer": "Sendspin Conformance",
"product_name": "Conformance Dotnet Client",
"software_version": "0.1.0"
},
"name": "sendspin-dotnet-client",
"player@v1_support": {
"buffer_capacity": 2000000,
"supported_commands": [
"volume",
"mute"
],
"supported_formats": [
{
"bit_depth": 16,
"channels": 1,
"codec": "flac",
"sample_rate": 8000
},
{
"bit_depth": 16,
"channels": 1,
"codec": "pcm",
"sample_rate": 8000
},
{
"bit_depth": 16,
"channels": 2,
"codec": "flac",
"sample_rate": 44100
},
{
"bit_depth": 16,
"channels": 2,
"codec": "pcm",
"sample_rate": 44100
}
]
},
"supported_roles": [
"player@v1"
],
"version": 1
},
"type": "client/hello"
},
"preferred_codec": "flac",
"role": "server",
"scenario_id": "server-initiated-flac",
"server_id": "aiosendspin-server",
"server_name": "aiosendspin server",
"status": "ok",
"stream": {
"bit_depth": 16,
"channels": 1,
"codec": "flac",
"codec_header": "ZkxhQ4AAACICQAJAAAAAAASVAfQA8AAAAAAAAAAAAAAAAAAAAAAAAAAA",
"codec_header_sha256": "cf785f756a60586c95243e827c384663e8dc4be893f3eb79a5b092b4df511214",
"sample_rate": 8000
}
}Server log
RAWINFO:aiosendspin.server.server:Starting Sendspin server on port 19009
INFO:aiosendspin.server.server:Sendspin server started successfully on 127.0.0.1:19009
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.
{
"audio": {
"bit_depth": 16,
"channels": 1,
"clip_seconds": 5.0,
"duration_seconds": 4.968,
"fixture": "/Users/runner/work/conformance/conformance/repos/sendspin-cli/tests/fixtures/almost_silent.flac",
"frame_alignment_samples": 576,
"frame_count": 39744,
"sample_rate": 8000,
"sent_audio_chunk_count": 69,
"sent_codec_header_sha256": "cf785f756a60586c95243e827c384663e8dc4be893f3eb79a5b092b4df511214",
"sent_encoded_byte_count": 3817,
"sent_encoded_sha256": "a4be5550140f2e9d7a631318496eab0f63ca6b09ce6ff0e148b50d0364ffe49a",
"source_flac_sha256": "8fdda8244e318c63cd8b699fe461cd7cdddbb729327a0ba00d1bfdbe2192fe17",
"source_pcm_sha256": "ea4a8f1ced7d3ad85d46da1dea8cf98cd2cf75dbf305fb11cffea11b1e180952",
"trimmed_source_frames": 256
},
"client": {
"active_roles": [
"player@v1"
],
"client_id": "sendspin-dotnet-client-id",
"name": "sendspin-dotnet-client",
"supported_roles": [
"player@v1"
]
},
"discovery_method": "registry_fallback",
"implementation": "aiosendspin",
"initiator_role": "server",
"peer_hello": {
"payload": {
"client_id": "sendspin-dotnet-client-id",
"device_info": {
"manufacturer": "Sendspin Conformance",
"product_name": "Conformance Dotnet Client",
"software_version": "0.1.0"
},
"name": "sendspin-dotnet-client",
"player@v1_support": {
"buffer_capacity": 2000000,
"supported_commands": [
"volume",
"mute"
],
"supported_formats": [
{
"bit_depth": 16,
"channels": 1,
"codec": "flac",
"sample_rate": 8000
},
{
"bit_depth": 16,
"channels": 1,
"codec": "pcm",
"sample_rate": 8000
},
{
"bit_depth": 16,
"channels": 2,
"codec": "flac",
"sample_rate": 44100
},
{
"bit_depth": 16,
"channels": 2,
"codec": "pcm",
"sample_rate": 44100
}
]
},
"supported_roles": [
"player@v1"
],
"version": 1
},
"type": "client/hello"
},
"preferred_codec": "flac",
"role": "server",
"scenario_id": "server-initiated-flac",
"server_id": "aiosendspin-server",
"server_name": "aiosendspin server",
"status": "ok",
"stream": {
"bit_depth": 16,
"channels": 1,
"codec": "flac",
"codec_header": "ZkxhQ4AAACICQAJAAAAAAASVAfQA8AAAAAAAAAAAAAAAAAAAAAAAAAAA",
"codec_header_sha256": "cf785f756a60586c95243e827c384663e8dc4be893f3eb79a5b092b4df511214",
"sample_rate": 8000
}
}
Client summary (JSON)
RAW{
"audio": {
"audio_chunk_count": 69,
"received_encoded_sha256": "a4be5550140f2e9d7a631318496eab0f63ca6b09ce6ff0e148b50d0364ffe49a",
"received_pcm_sha256": "ea4a8f1ced7d3ad85d46da1dea8cf98cd2cf75dbf305fb11cffea11b1e180952",
"received_sample_count": 39744
},
"client_id": "sendspin-dotnet-client-id",
"client_name": "sendspin-dotnet-client",
"implementation": "sendspin-dotnet",
"initiator_role": "server",
"peer_hello": null,
"preferred_codec": "flac",
"reason": null,
"role": "client",
"scenario_id": "server-initiated-flac",
"server": {
"connection_reason": "playback",
"server_id": "aiosendspin-server",
"server_name": "aiosendspin server"
},
"status": "ok",
"stream": null
}Client log
RAW05:36:08 info: Sendspin.SDK.Client.SendspinHostService[0] Starting Sendspin host service
05:36:08 info: Sendspin.SDK.Connection.SendspinListener[0] WebSocket server listening on port 20009
05:36:08 info: Sendspin.SDK.Connection.SendspinListener[0] Sendspin listener started on ws://0.0.0.0:20009 (path: /sendspin)
05:36:08 info: Sendspin.SDK.Discovery.MdnsServiceAdvertiser[0] Local IP addresses for mDNS: 192.168.64.6
05:36:08 info: Sendspin.SDK.Discovery.MdnsServiceAdvertiser[0] mDNS Service Profile: FullName=sendspin-dotnet-client-id._sendspin._tcp.local, ServiceName=_sendspin._tcp, HostName=sendspin-dotnet-client-id.sendspin.local, Port=20009
05:36:08 info: Sendspin.SDK.Discovery.MdnsServiceAdvertiser[0] Advertising Sendspin client: sendspin-dotnet-client-id on port 20009 (path=/sendspin)
05:36:08 info: Sendspin.SDK.Client.SendspinHostService[0] Sendspin host service started - waiting for server connections
05:36:08 info: Sendspin.SDK.Connection.SendspinListener[0] WebSocket connection opened from 127.0.0.1
05:36:08 info: Sendspin.SDK.Client.SendspinHostService[0] New server connection: d3a666d0
05:36:08 info: Sendspin.SDK.Client.SendspinHostService[0] Sending client/hello: {"type":"client/hello","payload":{"client_id":"sendspin-dotnet-client-id","name":"sendspin-dotnet-client","version":1,"supported_roles":["player@v1"],"player@v1_support":{"supported_formats":[{"codec":"flac","channels":1,"sample_rate":8000,"bit_depth":16},{"codec":"pcm","channels":1,"sample_rate":8000,"bit_depth":16},{"codec":"flac","channels":2,"sample_rate":44100,"bit_depth":16},{"codec":"pcm","channels":2,"sample_rate":44100,"bit_depth":16}],"buffer_capacity":2000000,"supported_commands":["volume","mute"]},"artwork@v1_support":{"channels":[{"source":"album","format":"jpeg","media_width":256,"media_height":256}]},"device_info":{"product_name":"Conformance Dotnet Client","manufacturer":"Sendspin Conformance","software_version":"0.1.0"}}}
05:36:08 info: Sendspin.SDK.Client.SendspinClientService[0] Server hello received: aiosendspin-server (aiosendspin server), reason: playback, roles: player@v1
05:36:08 info: Sendspin.SDK.Client.SendspinHostService[0] Arbitration: Accepting aiosendspin-server (no existing connection)
05:36:08 info: Sendspin.SDK.Client.SendspinHostService[0] Server connected: aiosendspin-server (aiosendspin server)
05:36:09 info: Sendspin.SDK.Client.SendspinClientService[0] Sending initial client/state: {"type":"client/state","payload":{"state":"synchronized","player":{"volume":100,"muted":false}}}
05:36:09 info: Sendspin.SDK.Client.SendspinClientService[0] Stream starting: FLAC 8000Hz 1ch 16bit
05:36:09 info: Sendspin.SDK.Client.SendspinHostService[0] Last played server updated: aiosendspin-server
05:36:14 info: Sendspin.SDK.Client.SendspinClientService[0] Stream ended: unknown
05:36:15 info: Sendspin.SDK.Connection.IncomingConnection[0] Server closed connection
05:36:15 info: Sendspin.SDK.Client.SendspinHostService[0] Server disconnected: aiosendspin-server
05:36:15 info: Sendspin.SDK.Client.SendspinHostService[0] Stopping Sendspin host service
05:36:15 info: Sendspin.SDK.Discovery.MdnsServiceAdvertiser[0] Stopping mDNS advertisement for sendspin-dotnet-client-id
05:36:15 info: Sendspin.SDK.Connection.SendspinListener[0] Stopping Sendspin listener
05:36:15 info: Sendspin.SDK.Connection.SendspinListener[0] Stopping WebSocket server
05:36:15 info: Sendspin.SDK.Client.SendspinHostService[0] Sendspin host service stopped
05:36:15 info: Sendspin.SDK.Client.SendspinHostService[0] Stopping Sendspin host service
05:36:15 info: Sendspin.SDK.Client.SendspinHostService[0] Sendspin host service stopped
{
"status": "ok",
"reason": null,
"implementation": "sendspin-dotnet",
"role": "client",
"scenario_id": "server-initiated-flac",
"initiator_role": "server",
"preferred_codec": "flac",
"client_name": "sendspin-dotnet-client",
"client_id": "sendspin-dotnet-client-id",
"server": {
"server_id": "aiosendspin-server",
"server_name": "aiosendspin server",
"connection_reason": "playback"
},
"peer_hello": null,
"stream": null,
"audio": {
"received_pcm_sha256": "ea4a8f1ced7d3ad85d46da1dea8cf98cd2cf75dbf305fb11cffea11b1e180952",
"received_encoded_sha256": "a4be5550140f2e9d7a631318496eab0f63ca6b09ce6ff0e148b50d0364ffe49a",
"received_sample_count": 39744,
"audio_chunk_count": 69
}
}
Server build log · python-adapters · built · 0.07s
RAWListing 'src'... Listing 'src/conformance'... Listing 'src/conformance/adapters'... Compiling 'src/conformance/adapters/__init__.py'... Compiling 'src/conformance/adapters/aiosendspin_client.py'... Compiling 'src/conformance/adapters/aiosendspin_server.py'... Compiling 'src/conformance/adapters/placeholder.py'... Compiling 'src/conformance/adapters/sendspin_jvm_client.py'... Compiling 'src/conformance/cli.py'... Compiling 'src/conformance/merge.py'... Compiling 'src/conformance/registry.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'...
Client build log · sendspin-dotnet-client · built · 15.75s
RAWnce/conformance/repos/sendspin-dotnet/src/Sendspin.SDK/Sendspin.SDK.csproj::TargetFramework=net10.0]
/Users/runner/work/conformance/conformance/repos/sendspin-dotnet/src/Sendspin.SDK/Client/SendSpinClient.cs(890,43): warning SA1117: The parameters should all be placed on the same line or each parameter should be placed on its own line. (https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1117.md) [/Users/runner/work/conformance/conformance/repos/sendspin-dotnet/src/Sendspin.SDK/Sendspin.SDK.csproj::TargetFramework=net10.0]
/Users/runner/work/conformance/conformance/repos/sendspin-dotnet/src/Sendspin.SDK/Client/SendSpinClient.cs(1029,9): warning S108: Either remove or fill this block of code. (https://rules.sonarsource.com/csharp/RSPEC-108) [/Users/runner/work/conformance/conformance/repos/sendspin-dotnet/src/Sendspin.SDK/Sendspin.SDK.csproj::TargetFramework=net10.0]
/Users/runner/work/conformance/conformance/repos/sendspin-dotnet/src/Sendspin.SDK/Client/SendSpinClient.cs(1053,13): warning S1481: Remove the unused local variable 'message'. (https://rules.sonarsource.com/csharp/RSPEC-1481) [/Users/runner/work/conformance/conformance/repos/sendspin-dotnet/src/Sendspin.SDK/Sendspin.SDK.csproj::TargetFramework=net10.0]
/Users/runner/work/conformance/conformance/repos/sendspin-dotnet/src/Sendspin.SDK/Client/SendSpinClient.cs(974,9): warning S108: Either remove or fill this block of code. (https://rules.sonarsource.com/csharp/RSPEC-108) [/Users/runner/work/conformance/conformance/repos/sendspin-dotnet/src/Sendspin.SDK/Sendspin.SDK.csproj::TargetFramework=net10.0]
/Users/runner/work/conformance/conformance/repos/sendspin-dotnet/src/Sendspin.SDK/Client/SendSpinClient.cs(1122,24): warning SA1503: Braces should not be omitted (https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1503.md) [/Users/runner/work/conformance/conformance/repos/sendspin-dotnet/src/Sendspin.SDK/Sendspin.SDK.csproj::TargetFramework=net10.0]
/Users/runner/work/conformance/conformance/repos/sendspin-dotnet/src/Sendspin.SDK/Client/SendSpinClient.cs(1131,24): warning SA1503: Braces should not be omitted (https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1503.md) [/Users/runner/work/conformance/conformance/repos/sendspin-dotnet/src/Sendspin.SDK/Sendspin.SDK.csproj::TargetFramework=net10.0]
/Users/runner/work/conformance/conformance/repos/sendspin-dotnet/src/Sendspin.SDK/Client/SendSpinClient.cs(986,30): warning SA1116: The parameters should begin on the line after the declaration, whenever the parameter span across multiple lines (https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1116.md) [/Users/runner/work/conformance/conformance/repos/sendspin-dotnet/src/Sendspin.SDK/Sendspin.SDK.csproj::TargetFramework=net10.0]
CSC : warning AD0001: Analyzer 'StyleCop.Analyzers.OrderingRules.SA1201ElementsMustAppearInTheCorrectOrder' threw an exception of type 'System.Collections.Generic.KeyNotFoundException' with message 'The given key 'RecordStructDeclaration' was not present in the dictionary.'. [/Users/runner/work/conformance/conformance/repos/sendspin-dotnet/src/Sendspin.SDK/Sendspin.SDK.csproj::TargetFramework=net10.0]
CSC : warning AD0001: Analyzer 'StyleCop.Analyzers.OrderingRules.SA1201ElementsMustAppearInTheCorrectOrder' threw an exception of type 'System.Collections.Generic.KeyNotFoundException' with message 'The given key 'RecordStructDeclaration' was not present in the dictionary.'. [/Users/runner/work/conformance/conformance/repos/sendspin-dotnet/src/Sendspin.SDK/Sendspin.SDK.csproj::TargetFramework=net10.0]
/Users/runner/work/conformance/conformance/adapters/sendspin-dotnet/client/Program.cs(576,52): warning CS0067: The event 'HashingAudioPipeline.ErrorOccurred' is never used [/Users/runner/work/conformance/conformance/adapters/sendspin-dotnet/client/Conformance.SendspinDotnet.Client.csproj]
593 Warning(s)
0 Error(s)
Time Elapsed 00:00:14.31