Skip to content

Commit

Permalink
Flavor of Encoded Transform (IS or RTCRtpScript), MMS support detection
Browse files Browse the repository at this point in the history
  • Loading branch information
vitaly-castLabs committed Sep 21, 2023
1 parent ec5e124 commit 28d5f9c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,14 @@
}
hasEnoughAPIs = supportsInsertableStreams && supportsTransferableStreams;
}
document.getElementById('etSupport').textContent = hasEnoughAPIs ? 'Yes' : 'No';
document.getElementById('etSupport').textContent = (hasEnoughAPIs ? 'Yes' : 'No') + ' (' + (!!window.RTCRtpScriptTransform ? 'RTCRtpScriptTransform' : 'InsertableStreams') + ')';
document.getElementById('mmsSupport').textContent = !window.ManagedMediaSource ? 'No' : 'Yes';
}
</script>
</head>
<body>
<p>User Agent: <span id="userAgent"></span></p>
<p>Encoded Transform supported: <span id="etSupport"></span></p>
<p>Managed Media Source supported: <span id="mmsSupport"></span></p>
</body>
</html>
</html>

0 comments on commit 28d5f9c

Please sign in to comment.