Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

simplestream updates to send variable-length JSON metadata along with streaming audio packets #891

Merged

Conversation

aaknitt
Copy link
Contributor

@aaknitt aaknitt commented Dec 30, 2023

Added 'sendJSON' configuration to simplestream plugin.

When set to true, JSON metadata that contains talkgroup, freq, src, patched_talkgroups, and audio_sample_rate fields will be prepended to each audio packet. Length of the JSON metadata will be prepended (4 bytes, little endian) to the metadata.

sendJSON will override the older sendTGID parameter (deprecated).

example_audio_player.py updated to support receiving & acting on JSON metadata.

… audio

parent dfc4792
author aaknitt <andyknitt@gmail.com> 1703912162 -0600
committer aaknitt <andyknitt@gmail.com> 1703956056 -0600
@robotastic robotastic merged commit a926a59 into robotastic:master Jan 6, 2024
1 check passed
@robotastic
Copy link
Owner

Looks good!

EricTendian pushed a commit to CrimeIsDown/trunk-recorder that referenced this pull request Feb 6, 2024
… audio (robotastic#891)

parent dfc4792
author aaknitt <andyknitt@gmail.com> 1703912162 -0600
committer aaknitt <andyknitt@gmail.com> 1703956056 -0600
EricTendian pushed a commit to CrimeIsDown/trunk-recorder that referenced this pull request Feb 6, 2024
… audio (robotastic#891)

parent dfc4792
author aaknitt <andyknitt@gmail.com> 1703912162 -0600
committer aaknitt <andyknitt@gmail.com> 1703956056 -0600
EricTendian pushed a commit to CrimeIsDown/trunk-recorder that referenced this pull request Feb 6, 2024
… audio (robotastic#891)

parent dfc4792
author aaknitt <andyknitt@gmail.com> 1703912162 -0600
committer aaknitt <andyknitt@gmail.com> 1703956056 -0600
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants