-
Notifications
You must be signed in to change notification settings - Fork 296
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
Agoraverse- Adding Agora WebSDK for Voice channel #305
base: master
Are you sure you want to change the base?
Conversation
Initial commit for AgoraVerse is now working
Now Avatars can shoot bullets.. Added random Avatars with bullets
Removing references to jquery
- Mute Un Mute - Echo fix
Disable video channel
Removing video
Fixing the label
Label Fixes 1.0 and added a Loading Image
Minor landing page changes
Hi, did you wanted to contribute some examples with the agora SDK or just wanted to share you were currently prototyping an adapter for agora? You didn't give lot of instructions in the PR description so I don't know what your plans are here. Anyway, I changed the certificate to be able to test your agora-rtc example.
It's a mix of the shooter, google-blocks and basic-audio examples, I like it. If you want people to learn how to use the agora SDK, you should put your example without all the networked-aframe code in a separate repository, and add it on glitch. I can then add a link in the README to your example. Question, instead of using the easyrtc server for signaling and naf updates, can you use the agora SDK to send arbitrary stringified json to all participants via an agora websocket? You will need to properly write a NAF adapter similar to wseasyrtc so that all messages transit via the agora SDK. For the audio, do you have a single audio stream or one stream per participant? Do you have some number to give us concerning the number of participants that can be in an Agora channel? |
Ah actually it seems agora supports "3-D spatial audio" server side by specifying the pan and gain values for each participant, that's nice. I was just reading this interesting article When I saw the PR 2446 for janus audiobridge plugin (MCU) last year that added spatial audio by specifying just the pan value (spatial_position ranges from 0 (hard left) to 100 (hard right)), but gain (volume) wasn't supported, I was wondering if we could send periodically the values to the MCU like that to use a MCU but still with spatial audio. I guess the answer yes. :) |
I read about the different agora products, it doesn't seem agora gives such a service. Tell me if I'm wrong. NAF updates can occur every 10ms for each participant if they are moving. I'm interested to see how you can get the current active speaker via the Agora SDK and show like an icon above the avatar. |
@vincentfretin .. Thank you for taking a look at this PR .. The plan is to write a network adaptor similar to naf-janus-adapter Yes Agora supports spatial audio with options on the serverside, also agora has a signaling layer called rtm, which we are looking into using for NAT updates, also the RTC(A/V) has a data channel that can be used to send small packets of data as well.. |
Agoraverse- Adding Agora WebSDK for Voice channel..
Replacing easyRCT Adapyor with AgoraWebSDK