We are currently using the DIVA.NET API wrapper to record calls.
I am able to record to file but unable to mimic the functionality of the sample "AudioMonitorRxStream".
Ultimately what we are trying to do is stream audio from the diva based app to another application.
The issue that we are having is that we cannot get the DataAvailable to fire off.
We're using a V-2PRI/E1/TI-60 card in monitoring mode (unfortunately we cannot test in a different mode).
Did you enable the collection of audio data by the application? You can try using DSAPI.MonitorEnableAudioData and wait for the DivaMonitorAudioData event. Then use DivaMonitorReceiveAudio to retrieve the buffer contents.
Refer to the SDK documentation for details on those functions/events.
Thank you for responding. I’ve looked for DSAPI.MonitorEnableAudioData but it does not show up as a function that I can use.
I am currently using DivaServer.dll v.188.8.131.52. Attached is an image of the monitor functions that the object browser does allow me to use.
Is this a function that existed in a previous version of the SDK?
Thank you for responding. I’ve looked for MonitorEnableAudioData but it does not show up as a function that I can use.
I am currently using DivaServer.dll v.184.108.40.206. I've tried using the object browser to see if it's under a different name but no luck.
These are the only functions I see with intellisense when I type monitor:
It is not a new function in 5.5SU5 nor has it been removed, I see it listed in dsSDK.dll 220.127.116.1176 (in Basic\bin\ and Basic\bin64\).
We have the latest dsSDK.dll and I am referencing the DivaServer.dll in my C# .NET project but that function is not in the DSAPI.
I tried modifying the sample included in the SDK "Basic\samples\VCSharp\AudioMonitorSingleTrunk" and it gave me the same error as well.
Below is the error that VS gives me, intellisense doesn't give me that function as an option:
Error 1 The type name 'MonitorEnableAudioData' does not exist in the type 'DivaServer.DSAPI' Regards,