Im trying to test out the sample streams given in PlayReady test content. Im using dash.js as the player and testing in Edge(Dev).
Im getting this error at the playback.
[61][Stream] audioCodec (audio/mp4;codecs="ac-3") is not supported
My code
var player, video;
const config = {
serverURL: 'http://test.playready.microsoft.com/service/rightsmanager.asmx?cfg=(persist:false,sl:150)'
};
const protData = {
"com.microsoft.playready": config
};
const url = "https://test.playready.microsoft.com/media/dash/APPLEENC_CBCS_BBB_1080p/1080p.mpd";
video = document.querySelector("video");
player = dashjs.MediaPlayer().create();
player.setProtectionData(protData);
player.initialize(video, url, true);
What have I missed?