Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
A WebAR audience UI using, AR.js and
<!doctype HTML>
<title>Agora AR.js - Live Streamed WebAR</title>
<meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
<script src=""></script>
<script src=""></script>
<script src="js/AgoraRTCSDK-3.0.2.js" type="text/javascript"></script>
<script src="js/agora-rtm-sdk-1.2.2.js" type="text/javascript"></script>
<script src="js/agora-audience.js" type="text/javascript"></script>
<script src=""></script>
<body style='margin : 0px; overflow: hidden;'>
<a-scene embedded arjs='sourceType: webcam; debugUIEnabled: false; detectionMode: mono_and_matrix; matrixCodeType: 3x3;'>
<a-asset-item id="broadcaster" src="/assets/broadcaster.glb"></a-asset-item>
<a-marker type='barcode' value='6'>
<a-entity camera></a-entity>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.