Skip to content

Commit

Permalink
Merge pull request #144 from girlbymirror/master
Browse files Browse the repository at this point in the history
update
  • Loading branch information
girlbymirror authored May 7, 2022
2 parents efb3891 + a780459 commit 22e7d0d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 553 deletions.
272 changes: 0 additions & 272 deletions example/dist/dist-play.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

25 changes: 5 additions & 20 deletions example/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -124,36 +124,21 @@ <h1> h265web.js 播放器 Demo </h1>
// var url = "http://127.0.0.1/live/test.live.ts";
// var url = "http://127.0.0.1/live/test/hls.m3u8";

/******** raw hevc http(vod) *****/
// var url = "http://127.0.0.1/test.h265";

var config = {
player: "glplayer",
width: 960,
height: 540,
token : token,
extInfo : {
coreProbePart : 0.4,
probeSize : 8192
probeSize : 8192,
// rawFps : 30 // if raw hevc stream
}
};
makeH265webjs(url, config);

/*
* Play raw 265 demo
*/
/*
var type = "raw265";
var url265raw = "/res/spreedmovie.hevc";
var config = {
type: type,
player: "glplayer",
width: 960,
height: 540,
token : token,
extInfo : {
rawFps : 30
}
};
var h265Object = makeH265webjsRaw(url265raw, config);
*/
</script>
</body>
</html>
Loading

0 comments on commit 22e7d0d

Please sign in to comment.