This code provides a simple WebRTC player based on the code provided by https://github.com/WowzaMediaSystems/webrtc-examples.
<video id="player" autoplay playsinline muted controls>
</video>
<script type="text/javascript" src="//webrtchacks.github.io/adapter/adapter-latest.js"></script>
<script src="//unpkg.com/[email protected]/dist/WowzaWebRtcPlayer.browser.js"></script>
<script>
(function () {
var player = new WowzaRtc.WowzaWebRtcPlayer('player');
player.start('wss://someserver:443/webrtc-session.json','someapplication','some.stream');
})();
</script>