{"id":20208469,"url":"https://github.com/ivan770/audiosocket","last_synced_at":"2025-06-19T00:03:41.139Z","repository":{"id":62438353,"uuid":"326715029","full_name":"ivan770/audiosocket","owner":"ivan770","description":"Rust implementation of AudioSocket protocol","archived":false,"fork":false,"pushed_at":"2021-02-07T19:57:04.000Z","size":16,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-11T10:07:42.293Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ivan770.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-01-04T14:47:41.000Z","updated_at":"2021-08-11T07:51:57.000Z","dependencies_parsed_at":"2022-11-01T21:46:19.941Z","dependency_job_id":null,"html_url":"https://github.com/ivan770/audiosocket","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ivan770/audiosocket","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ivan770%2Faudiosocket","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ivan770%2Faudiosocket/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ivan770%2Faudiosocket/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ivan770%2Faudiosocket/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ivan770","download_url":"https://codeload.github.com/ivan770/audiosocket/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ivan770%2Faudiosocket/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260654624,"owners_count":23042671,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-14T05:35:47.598Z","updated_at":"2025-06-19T00:03:36.094Z","avatar_url":"https://github.com/ivan770.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AudioSocket\n**AudioSocket is a simple TCP-based protocol for sending and receiving real-time audio streams.**\n\n## Usage\n```rust\nuse std::{convert::TryFrom, str::FromStr};\n\nuse audiosocket::{Message, RawMessage, Type};\nuse uuid::Uuid;\n\n// You may replace this with bytes from TCP socket, test file, etc.\nlet recv = [\n    // Message contains a stream identifier.\n    1u8,\n\n    // Payload length is 16 bytes.\n    0,\n    16,\n\n    // Payload with UUID.\n    4,\n    54,\n    67,\n    12,\n    43,\n    2,\n    98,\n    76,\n    32,\n    50,\n    87,\n    5,\n    1,\n    33,\n    43,\n    87\n];\n\nlet raw_message = RawMessage::try_from(\u0026recv[..]).unwrap();\nassert_eq!(*raw_message.message_type(), Type::Identifier);\n\nlet message = Message::try_from(raw_message).unwrap();\nassert_eq!(message, Message::Identifier(Uuid::from_str(\"0436430c-2b02-624c-2032-570501212b57\").unwrap()))\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fivan770%2Faudiosocket","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fivan770%2Faudiosocket","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fivan770%2Faudiosocket/lists"}