python-amcrest icon indicating copy to clipboard operation
python-amcrest copied to clipboard

Problem with audio_stream_capture

Open rt-outofservice opened this issue 7 years ago • 9 comments

Hi,

Probably, I'm doing something wrong but in my case method audio_stream_capture never returns. I call it like this:

camera.audio_send_stream(httptype="singlepart", path_file=<path_to_file>, channel=1, encode="AAC")
<... other_logic ...>

My camera plays the sound successfully (length of the file is ~3 sec) but the method never returns and "<... other_logic ...>" below never executes. I also tried to play with httptype=multipart but in this case, I hear no sound from the camera.

I also tried pure Amcrest REST API and basically have the same result. HTTP request takes too long (> 30 secs for 3 sec audio file), I hear sound but never get HTTP-response since it just hits a timeout.

So the question is, what is the proper way to send audio to a camera? :)

rt-outofservice avatar Dec 23 '17 12:12 rt-outofservice

@tischenko Looks like it's a know issue for us :( We might be facing some issues in firmware. However, what's the current firmware and camera that you are using?

Some discussion already happened here: https://github.com/tchellomello/python-amcrest/issues/75

dougsland avatar Jan 11 '18 03:01 dougsland

I think I'm on the latest firmware for IP2M-841 - 2.420.AC00.10.R 1/6/2016. Did you try to reach out to Amcrest support team regarding this issue?

rt-outofservice avatar Jan 11 '18 12:01 rt-outofservice

@tischenko regarding this audio no. Please let us know if you are going to open a ticket with them.

dougsland avatar Jan 11 '18 18:01 dougsland

I've sent an email to [email protected] regarding the problem. Will keep you updated.

rt-outofservice avatar Jan 23 '18 09:01 rt-outofservice

Quick update on this. After chatting with the support team and providing all the details about the problem, they have passed the problem to the development department. No estimates or further feedback was provided but my support ticket is still opened.

rt-outofservice avatar Mar 07 '18 11:03 rt-outofservice

@tischenko Any update on this ticket? I'm having a similar problem using audio_send_stream

BongoEADGC6 avatar Apr 19 '18 23:04 BongoEADGC6

@tischenko any updates?

tchellomello avatar May 16 '18 04:05 tchellomello

The ticket is still pending. No updates.

rt-outofservice avatar May 18 '18 15:05 rt-outofservice

Thanks for your reply @tischenko. I have one open for quite a bit too and I'm still waiting.

tchellomello avatar May 18 '18 15:05 tchellomello