Case
sendspin-go -> 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
sendspin-go
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__sendspin-go__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": "sendspin-go",
"status": "passed"
}Server summary (JSON)
RAW{
"audio": {
"bit_depth": 24,
"channels": 1,
"clip_seconds": 5,
"duration_seconds": 5,
"fixture": "/Users/runner/work/conformance/conformance/repos/sendspin-cli/tests/fixtures/almost_silent.flac",
"frame_count": 40000,
"sample_rate": 8000,
"sent_audio_chunk_count": 1,
"sent_codec_header_sha256": "f7c0c5cea7e7afcc5cad7f40b3c292c811132bd60d65f8a55c383722ce6c1edb",
"sent_encoded_byte_count": 14698,
"sent_encoded_sha256": "7bc1b2ee421ee57d7ea84fee6b2a8301c83c56264081475e2c3f4ca7bd53a070",
"source_flac_sha256": "8fdda8244e318c63cd8b699fe461cd7cdddbb729327a0ba00d1bfdbe2192fe17",
"source_pcm_sha256": "f9ae8fe5e6c34fc6baa67cbb4a97224d777a0bfacf6d996449be1054824f66bf"
},
"client": {
"client_id": "sendspin-dotnet-client-id",
"name": "sendspin-dotnet-client",
"supported_roles": [
"player@v1"
]
},
"discovery_method": "registry_advertised",
"implementation": "sendspin-go",
"initiator_role": "server",
"peer_hello": {
"payload": {
"artwork@v1_support": {
"channels": [
{
"format": "jpeg",
"media_height": 256,
"media_width": 256,
"source": "album"
}
]
},
"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": "sendspin-go-server",
"server_name": "sendspin-go server",
"status": "ok",
"stream": {
"bit_depth": 24,
"channels": 1,
"codec": "flac",
"codec_header": "ZkxhQ4AAACICQAJAAAAMAADIAfQBcAAHkwCKnZ7FLvzY30lWx+3k6wJC",
"sample_rate": 8000
}
}Server log
RAW{
"audio": {
"bit_depth": 24,
"channels": 1,
"clip_seconds": 5,
"duration_seconds": 5,
"fixture": "/Users/runner/work/conformance/conformance/repos/sendspin-cli/tests/fixtures/almost_silent.flac",
"frame_count": 40000,
"sample_rate": 8000,
"sent_audio_chunk_count": 1,
"sent_codec_header_sha256": "f7c0c5cea7e7afcc5cad7f40b3c292c811132bd60d65f8a55c383722ce6c1edb",
"sent_encoded_byte_count": 14698,
"sent_encoded_sha256": "7bc1b2ee421ee57d7ea84fee6b2a8301c83c56264081475e2c3f4ca7bd53a070",
"source_flac_sha256": "8fdda8244e318c63cd8b699fe461cd7cdddbb729327a0ba00d1bfdbe2192fe17",
"source_pcm_sha256": "f9ae8fe5e6c34fc6baa67cbb4a97224d777a0bfacf6d996449be1054824f66bf"
},
"client": {
"client_id": "sendspin-dotnet-client-id",
"name": "sendspin-dotnet-client",
"supported_roles": [
"player@v1"
]
},
"discovery_method": "registry_advertised",
"implementation": "sendspin-go",
"initiator_role": "server",
"peer_hello": {
"payload": {
"artwork@v1_support": {
"channels": [
{
"format": "jpeg",
"media_height": 256,
"media_width": 256,
"source": "album"
}
]
},
"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": "sendspin-go-server",
"server_name": "sendspin-go server",
"status": "ok",
"stream": {
"bit_depth": 24,
"channels": 1,
"codec": "flac",
"codec_header": "ZkxhQ4AAACICQAJAAAAMAADIAfQBcAAHkwCKnZ7FLvzY30lWx+3k6wJC",
"sample_rate": 8000
}
}
Client summary (JSON)
RAW{
"audio": {
"audio_chunk_count": 1,
"received_encoded_sha256": "7bc1b2ee421ee57d7ea84fee6b2a8301c83c56264081475e2c3f4ca7bd53a070",
"received_pcm_sha256": "238d9757b3e5c6e1c09edfb5a9708f50766889dcaec13e3221beff9b977922af",
"received_sample_count": 8064
},
"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": "sendspin-go-server",
"server_name": "sendspin-go server"
},
"status": "ok",
"stream": null
}Client log
RAW05:36:31 info: Sendspin.SDK.Client.SendspinHostService[0] Starting Sendspin host service
05:36:31 info: Sendspin.SDK.Connection.SendspinListener[0] WebSocket server listening on port 20017
05:36:31 info: Sendspin.SDK.Connection.SendspinListener[0] Sendspin listener started on ws://0.0.0.0:20017 (path: /sendspin)
05:36:31 info: Sendspin.SDK.Discovery.MdnsServiceAdvertiser[0] Local IP addresses for mDNS: 192.168.64.6
05:36:31 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=20017
05:36:31 info: Sendspin.SDK.Discovery.MdnsServiceAdvertiser[0] Advertising Sendspin client: sendspin-dotnet-client-id on port 20017 (path=/sendspin)
05:36:31 info: Sendspin.SDK.Client.SendspinHostService[0] Sendspin host service started - waiting for server connections
05:36:31 info: Sendspin.SDK.Connection.SendspinListener[0] WebSocket connection opened from 127.0.0.1
05:36:31 info: Sendspin.SDK.Client.SendspinHostService[0] New server connection: 6c3e81ce
05:36:31 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:31 info: Sendspin.SDK.Client.SendspinClientService[0] Server hello received: sendspin-go-server (sendspin-go server), reason: playback, roles: player@v1
05:36:31 info: Sendspin.SDK.Client.SendspinHostService[0] Arbitration: Accepting sendspin-go-server (no existing connection)
05:36:31 info: Sendspin.SDK.Client.SendspinHostService[0] Server connected: sendspin-go-server (sendspin-go server)
05:36:31 info: Sendspin.SDK.Client.SendspinClientService[0] Sending initial client/state: {"type":"client/state","payload":{"state":"synchronized","player":{"volume":100,"muted":false}}}
05:36:31 info: Sendspin.SDK.Client.SendspinClientService[0] Stream starting: FLAC 8000Hz 1ch 24bit
05:36:31 info: Sendspin.SDK.Client.SendspinHostService[0] Last played server updated: sendspin-go-server
05:36:31 info: Sendspin.SDK.Connection.IncomingConnection[0] Server closed connection
05:36:31 info: Sendspin.SDK.Client.SendspinHostService[0] Server disconnected: sendspin-go-server
05:36:31 info: Sendspin.SDK.Client.SendspinHostService[0] Stopping Sendspin host service
05:36:31 info: Sendspin.SDK.Discovery.MdnsServiceAdvertiser[0] Stopping mDNS advertisement for sendspin-dotnet-client-id
05:36:31 info: Sendspin.SDK.Connection.SendspinListener[0] Stopping Sendspin listener
05:36:31 info: Sendspin.SDK.Connection.SendspinListener[0] Stopping WebSocket server
05:36:31 info: Sendspin.SDK.Client.SendspinHostService[0] Sendspin host service stopped
05:36:31 info: Sendspin.SDK.Client.SendspinHostService[0] Stopping Sendspin host service
05:36:31 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": "sendspin-go-server",
"server_name": "sendspin-go server",
"connection_reason": "playback"
},
"peer_hello": null,
"stream": null,
"audio": {
"received_pcm_sha256": "238d9757b3e5c6e1c09edfb5a9708f50766889dcaec13e3221beff9b977922af",
"received_encoded_sha256": "7bc1b2ee421ee57d7ea84fee6b2a8301c83c56264081475e2c3f4ca7bd53a070",
"received_sample_count": 8064,
"audio_chunk_count": 1
}
}
Server build log · sendspin-go-server · built · 1.01s
RAWNo build detail was recorded.
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