-
Notifications
You must be signed in to change notification settings - Fork 76
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
Post Audio Stream (Enhancement) #59
Comments
Hello @d-adamson that is a great idea!! |
Inspired from the Home Alone movie 😃
David Adamson
…On Feb 22, 2017 05:16, "Marcelo Moreira de Mello" ***@***.***> wrote:
Hello @d-adamson <https://github.com/d-adamson> that is a great idea!!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#59 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AHeRVnCnapNi19C96nVk9IOv08XFHaGHks5re7azgaJpZM4MFa6N>
.
|
I've played around with this a little. Here is a code snippet using the curl program from the command line in Linux. Substituting your user name, password and IP address (of course). The AMCREST seems to be pretty particular about the wav file format. After some trial and error the following worked. Still have not been able to successfully convert & play an mp3 file :( $ curl -verbose --request POST --url 'http:https://admin:[email protected]/cgi-bin/audio.cgi?action=postAudio&httptype=singlepart&channel=1' --header 'content-length: 9999999' --header 'content-type: Audio/G.711A' --data-binary @9000g_PCM.wav |
Thanks for your collaboration @d-adamson , really motivated me to step out and provide a patch soon. |
Pull request based on this idea: #63 |
Nice project. Thanks!
Could you implement the Post Audio Stream API (ref section 4.3.3 in the API manual 2.10 2016-05-25)?
Use case:
When motion or sound are detected, play an audio file over the camera's speaker to act as a deterrent. Examples: dog barking, TV or radio playing, background conversations, alarm sound, etc.
The text was updated successfully, but these errors were encountered: