jlaine / aiortc-wpt-demo

1 stars 2 forks source link

video orientiation test #8

Open fippo opened 3 years ago

fippo commented 3 years ago

I just came up with a potential new test after... doing something wrong. 1/ send a black frame with non-square dimensions, e.g. 1280x720 2/ set the CVO extension to rotate by 90 degrees 3/ assert that video element onresize fires once (chrome will fire twice) and assert the videoWidth is 720 and the videoHeight 1280

fippo commented 3 years ago

VP8 black frame (hopefully!)

0x90, 0x12, 0x00, 0x9d, 0x01, 0x2a, 0x40, 0x01, 0xf0, 0x00, 0x39, 0x33, 0x00,
0x12, 0x1c, 0x22, 0x16, 0x16, 0x22, 0x66, 0x12, 0x20, 0x64, 0x08, 0x00, 0x18,
0x58, 0x13, 0xd7, 0x74, 0x86, 0x4a, 0xcb, 0x92, 0x42, 0xf2, 0xf4, 0xbb, 0xa4,
0x32, 0x56, 0x5c, 0x92, 0x17, 0x97, 0xa5, 0xdd, 0x21, 0x92, 0xb2, 0xe4, 0x90,
0xbc, 0xbd, 0x2e, 0xe9, 0x0c, 0x95, 0x97, 0x24, 0x85, 0xe5, 0xe9, 0x77, 0x48,
0x64, 0xac, 0xb9, 0x24, 0x2f, 0x2f, 0x4b, 0xba, 0x43, 0x25, 0x65, 0xc9, 0x21,
0x79, 0x7a, 0x5d, 0xd2, 0x19, 0x2b, 0x2e, 0x49, 0x0b, 0xcb, 0xd2, 0xee, 0x90,
0xc9, 0x59, 0x72, 0x48, 0x5e, 0x5e, 0x97, 0x74, 0x86, 0x4a, 0xcb, 0x92, 0x42,
0xf2, 0xf4, 0xbb, 0xa4, 0x32, 0x56, 0x5c, 0x92, 0x17, 0x97, 0xa5, 0xdd, 0x21,
0x92, 0xb2, 0xe4, 0x90, 0xbc, 0xbd, 0x2e, 0xe9, 0x0c, 0x95, 0x97, 0x24, 0x85,
0xe5, 0xe9, 0x77, 0x48, 0x64, 0xac, 0xb9, 0x24, 0x2f, 0x2f, 0x4b, 0xba, 0x43,
0x25, 0x65, 0xc9, 0x21, 0x79, 0x7a, 0x5d, 0xd2, 0x19, 0x2b, 0x2e, 0x49, 0x0b,
0xc9, 0x40, 0xfe, 0xf6, 0x3a, 0x40