Skip to content
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

视频通话听不到声音 #1

Open
Saturdaycong opened this issue Feb 26, 2019 · 11 comments
Open

视频通话听不到声音 #1

Saturdaycong opened this issue Feb 26, 2019 · 11 comments

Comments

@Saturdaycong
Copy link

No description provided.

@xmtggh
Copy link
Owner

xmtggh commented Feb 28, 2019

@Saturdaycong
在音频的代码里面打log看是那部分的问题

@foxbamboo
Copy link

@Saturdaycong
在音频的代码里面打log看是那部分的问题

看源码里,似乎并没有采集音频呢

@foxbamboo
Copy link

我尝试了一下,在这句:
isSend = !isSend;
后添加:
if (isSend)
{
audioRecorder.startRecording();
}else {
audioRecorder.stopRecording();
}
项目运行成功。
但有点回声:)

@xmtggh
Copy link
Owner

xmtggh commented Mar 1, 2019

@foxbamboo 里面并没有使用消回音算法,在一些设备上开功放或者比较差的设备也会有,要是手机的话你可以尝试使用android自带的消回音算法,还是可以的!

@foxbamboo
Copy link

@foxbamboo 里面并没有使用消回音算法,在一些设备上开功放或者比较差的设备也会有,要是手机的话你可以尝试使用android自带的消回音算法,还是可以的!

没找到你的邮箱。。。。。。麻烦你给我直接发个邮件吧,谢谢!

@xmtggh
Copy link
Owner

xmtggh commented Mar 1, 2019

@sampatparas13
Copy link

I tried it, in this sentence:
isSend = !isSend;
after adding:
if (isSend)
{
audioRecorder.startRecording();
}else {
audioRecorder.stopRecording();
} The
project ran successfully.
But a little echo :)

I am getting nullpointerexception. How do I use audioRecorder?

@xmtggh
Copy link
Owner

xmtggh commented Mar 11, 2019

@sampatparas13 Can you show your log errors

@sampatparas13
Copy link

sampatparas13 commented Mar 12, 2019

@xmtggh It's working now. Forgot to run AudioRecorder.
I have another query. Will this work over LAN without Internet Connectivity?

@foxbamboo
Copy link

@xmtggh It's working now. Forgot to run AudioRecorder.
I have another query. Will this work over LAN without Internet Connectivity?

Yes, I use this without internet, just over LAN.

@ManyFish
Copy link

我尝试了一下,在这句: isSend = !isSend; 后添加: if (isSend) { audioRecorder.startRecording(); }else { audioRecorder.stopRecording(); } 项目运行成功。 但有点回声:)

您好,我运行起来视频也听不到声音,想请教一下您是怎么修改和运行的,感谢!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants