From 5554cbfd6ad9e35af5282883004d01391169f832 Mon Sep 17 00:00:00 2001 From: viktorxda <35473052+viktorxda@users.noreply.github.com> Date: Mon, 25 Mar 2024 04:47:30 +0100 Subject: [PATCH] Update majestic-streamer.md --- en/majestic-streamer.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/en/majestic-streamer.md b/en/majestic-streamer.md index b31eecd..0714b06 100644 --- a/en/majestic-streamer.md +++ b/en/majestic-streamer.md @@ -68,7 +68,6 @@ cli -s .nightMode.minThreshold 10 cli -s .nightMode.maxThreshold 50 ``` - ### Motion detection Motion detect is supported for Hisilion/Goke, Ingenic and Sigmastar. @@ -180,10 +179,9 @@ sox speech.mp3 -t raw -r 8000 -e signed -b 16 -c 1 test.pcm ### How to play audio file on camera's speaker over network ``` -cat test.pcm | curl -v -u user:password -H "Content-Type: application/json" -X POST --data-binary @- http://192.168.1.10/play_audio +curl -u root:12345 --data-binary @test.pcm http://192.168.1.10/play_audio ``` - [aac]: https://en.wikipedia.org/wiki/Advanced_Audio_Coding [alaw]: https://en.wikipedia.org/wiki/A-law_algorithm [dng]: https://en.wikipedia.org/wiki/Digital_Negative