Skip to content

Commit

Permalink
Do an experimental test to match the A/V sync
Browse files Browse the repository at this point in the history
  • Loading branch information
SangwonOh committed Sep 30, 2021
1 parent 9e53799 commit a475c9a
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dist/ovenplayer.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/ovenplayer.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ovenplayer",
"version": "0.10.5",
"version": "0.10.6",
"description": "OvenPlayer is Open-Source HTML5 Player. OvenPlayer supports WebRTC Signaling from OvenMediaEngine for Sub-Second Latency Streaming.",
"main": "dist/ovenplayer.js",
"scripts": {
Expand Down
3 changes: 3 additions & 0 deletions src/js/api/provider/html5/providers/WebRTC.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,9 @@ const WebRTC = function(element, playerConfig, adTagUrl){
}

element.srcObject = stream;

const AudioContext = window.AudioContext || window.webkitAudioContext;
audioCtx = new AudioContext();
};

webrtcLoader = WebRTCLoader(that, source.file, loadCallback, errorTrigger, playerConfig);
Expand Down

0 comments on commit a475c9a

Please sign in to comment.