Axis Customer Forum

It is currently Fri Oct 19, 2018 1:23 pm

All times are UTC




Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: Wed Apr 11, 2018 7:29 pm 

Joined: Wed Apr 11, 2018 6:25 pm
Posts: 5
Hi there,

I'm trying to build an audio/video conferencing system in C#.NET using a Videocamera (P3215-VE Network Camera), an Audio Module with a mic connected to it (P8221 I/O Audio Module) and a speaker (C1004-E). Up to now I have successfully implemented a way to view the video stream from the Camera in my GUI using the AXIS Media Control SDK, but I have no idea how to send an audio stream from the mic to the speakers.

I have tried using VAPIX to capture the audio through a GET request (http://AudioModuleIP/axis-cgi/audio/receive.cgi) and then listen to the recorded stream with a POST method (http://SpeakersIP/axis-cgi/audio/transmit.cgi) but it doesn't work. I've also tried using the AMC with the following comands: axAxisMediaControl1.AudioTransmitURL and axAxisMediaControl1.AudioTransmitStart(), but again unsuccessfully. Is it because AMC only works with cameras or bc I'm doing something wrong?

My idea is to be able to send audio to the speakers (from the Audio Module or from my PC) by pushing a button in the application. Does anyone know how to implement this?


Top
 Profile  
 
PostPosted: Fri Apr 13, 2018 6:47 am 

Joined: Fri Nov 14, 2014 1:38 am
Posts: 632
This will help you to find the right commands.

https://www.axis.com/ftp/pub_soft/Solut ... Manual.pdf

https://www.axis.com/ftp/pub_soft/Solut ... _Setup.zip

Use Wireshark to monitor the commands send to the speaker.

If you are interested in further discussion, please contact me via Skype @ Cheng.Xin.SG


Top
 Profile  
 
PostPosted: Mon Apr 16, 2018 10:36 am 

Joined: Wed Apr 11, 2018 6:25 pm
Posts: 5
Dear Cheng,

Thank you so much for your help. Is there any way I could get the Visual studio solution file of that application? I've successfully found the comands using Wireshark as you indicated and the Post/get requests have worked in Postman, but I can't manage to make it work in my own code, which is my main goal. Thanks again for your help.


Top
 Profile  
 
PostPosted: Thu Apr 19, 2018 10:19 am 

Joined: Fri Nov 14, 2014 1:38 am
Posts: 632
Hi Pablo,

The apps is a freeware from Axis. Ask Axis Support nicely and you should be able to get the source code.


regards,
Cheng Xin


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group