digitallysavvy / AgoraWebXR

This is an example of using Agora's Video SDK with WebXR (Aframe & AR.js)
MIT License
26 stars 16 forks source link

Broadcating not working #7

Open yogesh-rinologix opened 4 years ago

yogesh-rinologix commented 4 years ago

Hi, I use same code and i add api key but broadcast not run. https://ecommunication.asia/videoapi/nv/t/broadcaster.html Please check help me thanks

digitallysavvy commented 4 years ago

This issue is you have not properly configured your asset file paths. the example is looking for the broadcaster.glb within a folder assets. Based on the config the assets should exist within the same directory as the folder.

For whatever reason within your deployment, the server looking in the root directory of the domain (https://ecommunication.asia/assets/broadcaster.glb), which doesn't exist so it throws an error in the console. Since the asset is essential to the loading of the scene, Aframe never completes the load and appears to hang. You should hardcode the asset url to ensure that you are properly linking to the assets. (https://ecommunication.asia/videoapi/nv/tassets/broadcaster.glb)

image

yogesh-rinologix commented 4 years ago

Thanks brother issue not fixed 👍 Can you please share your skype id

digitallysavvy commented 4 years ago

Your demo seems to be working for me just fine.

image

yogesh-rinologix commented 4 years ago

Great brother but voice not working at my end. Can you share me your skype so that we can communicate thanks

digitallysavvy commented 4 years ago

Ahh good catch.

I disabled the audio in the createStream during testing and forgot to enable it .

in the broadcaster.js update the localStream's createStream call to:

  const localStream = AgoraRTC.createStream({
    streamID: uid,
    audio: true,
    video: true,
    screen: false
  });
yogesh-rinologix commented 4 years ago

Oh Thanks brother

yogesh-rinologix commented 4 years ago

Hi brother can you help me to provide any developer for hire to integrate agora api with my website Thanks

digitallysavvy commented 4 years ago

please send an email to devrel@agora.io with a description of your use-case and the scope of the work you need done and I can introduce you to one of Agora's developer partners.

yogesh-rinologix commented 4 years ago

I send email to devrel@agora.io with a description. Waiting for your revert Thank you so much brother