Commit 04c6111e authored by Linshizhi's avatar Linshizhi

tests edit

parent 7d553e85
...@@ -182,7 +182,6 @@ describe("Channel Spec", () => { ...@@ -182,7 +182,6 @@ describe("Channel Spec", () => {
} }
arrays = channel.writeStep1(unitSize); arrays = channel.writeStep1(unitSize);
console.log(arrays);
expect(arrays.length).toBe(2); expect(arrays.length).toBe(2);
arrays[0].set([0], 0); arrays[0].set([0], 0);
arrays[1].set([1,2,3,4,5,6,7,8,9], 0); arrays[1].set([1,2,3,4,5,6,7,8,9], 0);
......
...@@ -14,7 +14,7 @@ describe("H264EncWWGroup Spec", () => { ...@@ -14,7 +14,7 @@ describe("H264EncWWGroup Spec", () => {
it("Encode by H264EncWWGroup Spec", async () => { it("Encode by H264EncWWGroup Spec", async () => {
const RGBAFrameSize = 1920*1080*4; const RGBAFrameSize = 1920*1080*4;
let grp = new H264EncWWGroup("h264enc", 7, { let grp = new H264EncWWGroup("h264enc", 2, {
encchnlsize: RGBAFrameSize * 10, encchnlsize: RGBAFrameSize * 10,
bridgechnlsize: Math.pow(2, 25) bridgechnlsize: Math.pow(2, 25)
}); });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment