Closed streunerlein closed 2 years ago
@streunerlein Hi, you can try the Audio scene in the package sample. Sorry documentation is not updated yet 😓 https://docs.unity3d.com/Packages/com.unity.webrtc@2.4/manual/sample.html
@karasusan Don't worry, it's no problem at all! Thanks for the sample link, I've followed the samples and was able to create audio streaming. I was hoping these docs point to an API I have missed or misunderstood, because I am currently fighting weird problems with streaming microphone input to multiple peers and hoped I was doing something wrong.
@streunerlein Sure, I am understanding the documentation is lack for these features. I will make a priority of the documentation for next update.
@karasusan
Hi, I'm having so much trouble to figure out how to stream the whole scene audio ! As it was working in version 2.2.1 (using com.unity.renderstream as well) The doc hasn't been updated yet and the Audio class has disappeared ..
We can stream Audio only from an AudioSource component (which is working for the Microphone) but not for the whole scene.
I've tried to generate an AudioClip Combined from all the AudioSources in the scene and to apply it to an AudioSource to try to stream it but it doesn't work ..
What am i supposed to do ?
Thanks !
AudioListener
call OnAudioFilterRead
method same as AudioSource
.
You can use the whole scene audio if you implements OnAudioFilterRead
.
Oh ok, Thank you !
@crosf32 Of course, we will update docs next month. Sorry for too late!
memo: WRS-164
Fixed docs in this PR #621
@streunerlein We released the new version 2.4.0-exp.5. Please check it out and if your issue is not solved, please notify me.
Describe the bug The reference talks about Audio Streaming on https://docs.unity3d.com/Packages/com.unity.webrtc@2.4/manual/audiostreaming.html using
Audio.CaptureStream
which I cannot find any documentation nor source for this API. Is this outdated or just wrong docs? What is the current state-of-the-art for Audio Streaming with UnityWebRTC?