About pushing audio streams in OpenIPC for two-way voice interaction functionality
Hello,
I am trying to implement two-way voice interaction in OpenIPC, where part of the functionality is to push audio streams from an external source to the camera. Specifically, I want to push audio to enable two-way voice interaction, but I am unsure if a certain version of OpenIPC already supports this feature or if OpenIPC is capable of receiving pushed audio streams.
Additionally, while reviewing the documentation, I found that Majestic Streamer supports audio playback. I followed the instructions in the Majestic Streamer documentation but was unsuccessful. Specifically, I am using an AAC file and modified the audio-related settings in the configuration file as shown below: audio: enabled: true volume: 30 srate: 8000 codec: aac outputEnabled: true outputVolume: 80 speakerPinInvert: false
However, the audio playback did not work as expected. Could you please provide any guidance or suggestions, especially on how to successfully play audio in OpenIPC or how to implement two-way voice communication by pushing audio streams?
Thank you very much for your help!
The command I used to play the local AAC file is: curl -u root:12345 --data-binary @/Users/mac32/20250307_180527.aac http://192.168.31.12/play_audio
curl -u root:12345 --data-binary @test.pcm http://192.168.31.12/play_audio
audio config : audio: enabled: true volume: 30 srate: 8000 codec: opus outputEnabled: true outputVolume: 90
it's working , oh yes ,
However, I still haven’t found a method to capture and push audio simultaneously
I tried to push an Opus format file to OpenIPC using the command:
curl -u root:12345 --data-binary @output.opus http://192.168.31.12/play_audio
but it doesn’t play correctly and only produces noise.
Trying to figure this out as well using blue iris.