xmtggh / VideoCalling

局域网p2p视频聊天
Other
350 stars 69 forks source link

视频通话听不到声音 #1

Open Saturdaycong opened 5 years ago

xmtggh commented 5 years ago

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

foxbamboo commented 5 years ago

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

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

foxbamboo commented 5 years ago

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

xmtggh commented 5 years ago

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

foxbamboo commented 5 years ago

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

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

xmtggh commented 5 years ago

626393661@qq.com @foxbamboo

sampatparas13 commented 5 years ago

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 commented 5 years ago

@sampatparas13 Can you show your log errors

sampatparas13 commented 5 years ago

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

foxbamboo commented 5 years ago

@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 commented 1 year ago

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

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