|
Hi,
You shoud diable some code blocka nas see if memory usage increases, while find palce whats affects it. Also another way is to use some .NET profiling tool, which shows objects consuming memory.
|
|
|
|
|
The problem is maybe a lack of the "using" keyword and disposing streams? I haven't taken a look at the code, but it would be my guess.
|
|
|
|
|
Hi, I have a Panasonic TDA100D PBX for our phone exchnage. It has Serial and USA connection. I have already tried the Serial and I am ble to get the calls records as it will automatically throw it
đ
|
|
|
|
|
Dear All and Ivar Lumi!
Dear All and Ivar Lumi!
Current i have a problem about read files cdr in PBX over serial port (COM). So that i need to help of everybody anh Ivar Lumi. if everybody send for me the example about it
.
Thanks you very much!
đ
|
|
|
|
|
Is it possible using your library to stream to multiple clients.
Like you want to after speaking to a microphone send that audio to multiple listeners?
|
|
|
|
|
>Is it possible using your library to stream to multiple clients.
Yes you can steream to multiple endpoints.
also you can receive audio from multiple endpoints, but audio mixing is not implemented.
|
|
|
|
|
First of all, thank you Mr. Ivan for such a good code.
I have used your library + examples in my final year project, but I want to know,
for the beginning, I just want to record and play the sound only in 1 computer, but I got something wrong, the speaker didn't play the sound that captured from the mic. It was only produced sound like an impulse, only "bip bip bip".
|
|
|
|
|
Hi,
Normally this happens when you record one hz/bits and paly on another hz/bits ... .
|
|
|
|
|
hmm.. where can I checked the hz/bit from the code?
|
|
|
|
|
In code you alwyas set hz/bit for audio recorder class and player, otherwise you nver can play raw audio data.
|
|
|
|
|
These ones did you mean?
m_pWaveIn = new WaveIn(WaveIn.Devices[0], 8000, 16, 1, 400);
m_pWaveOut = new WaveOut(WaveOut.Devices[0], 8000, 16, 1);
|
|
|
|
|
|
hmm.. I have set the hz/bit for both recorder and player in the same value, but the sound didn't play correctly, maybe do you have any experience for my problem?
|
|
|
|
|
Then there can be only timing issues. You don't play audio samples with right rate(ms).
|
|
|
|
|
sorry to bother you again Mr. Ivan. But I want to know, why there are so much noise? The noise almost covered all the sound. How to clear the noise or at least, the noise is much more quiet than my voice..
|
|
|
|
|
If you are sending through netowrk, fisrt you may try send locally. This shows if network delay causes it.
|
|
|
|
|
Actually, I just use this program to receive the sound from the mic and directly play the recorded sound in the same computer. If I use your program with using the same ip address for sender and receiver, the result is still the same. there are so much noise.
|
|
|
|
|
|
hmm.. still the same. in the output the sound that heard was like a robot.
|
|
|
|
|
Hi,
When I am using this code to encode/decode audio,
Sometimes there is significant delay in the audio reaching the listener.
For eg, someone says something on a microphone and it takes maybe 10 seconds for the listener at the other end to hear it...
Maybe its a network issue and there is nothing I can do about it but I was wondering if there was anything I could do to make this delay less.
Thanks
|
|
|
|
|
|
This delay problem seems also be in RTP audio.
I have tested both versions WavePlayer and RTP Audio over a VPN with a roundtrip of about 42mS
and the delay is increasing over time, if i am connected for about 1 hour the delay can be up to 1.5 sek
sometime i have had several seconds in delay.
I have another voice application named IPSOUND that works OK, no delay what so ever, but that software is out of support and upgrades.
I had thoughts about making a new VOIP similar to IPSOUND that uses RTP audio, but first i have to sort out this delay problem.
Have you Ivar noticed any of this problem ?
Regards
Pete
|
|
|
|
|
Hi,
>I had thoughts about making a new VOIP similar to IPSOUND
You can try:
Simple SIP (VOIP) based phone in C#[^]
You can use local IP instead of domain, you can call 1 phone to another.
Though you need 2 computers for that.
See if it works ok.
For WavePlayer and rtp audio, first you need to sort out if mic or play out causing delay.
There are no adaptive sound buffering, so i can't see how delay increases ... .
|
|
|
|
|
Hi
I have downloaded Simple SIP and i am not shore how to set it up, i have 2 PC, one on 192.168.0.3 Local
and one remote 192.168.1.8
I have tried to set From sip:192.168.0.3 To sip:192.168.1.8 and on the remote side From sip:192.168.1.8 to sip:192.168.0.3 but i can´t get them to answer any call.
Am i missing something ?
>For WavePlayer and rtp audio, first you need to sort out if mic or play out causing delay.
>There are no adaptive sound buffering, so i can't see how delay increases ...
Well it works perfectly without any delay when i use IPSOUND with the same input / output so i don´t know.
Regards
Pete
|
|
|
|
|
You need to use "sip:user@ip:5060" as To:.
|
|
|
|