samples icon indicating copy to clipboard operation
samples copied to clipboard

TestRTC fails on Android when in portrait mode (can't find 640x480 resolution)

Open juberti opened this issue 11 years ago • 3 comments

We should probably tolerate either 640x480 or its rotated variant.

juberti avatar Dec 04 '14 18:12 juberti

Lets leave it unfixed until the report diagnostic is created and we can use it to identify why the test fail. Note: we already know why and know how to fix.

andresusanopinto avatar Dec 05 '14 12:12 andresusanopinto

SGTM

juberti avatar Dec 05 '14 18:12 juberti

At the moment the log file is downloadable even for android... so lets proceed with this.

Sample of a log that fails:

 {"ts":1420631888494,"name":"test-run","id":3,"args":{"name":"Test video feed","status":"Running"}},
{"ts":1420631888499,"name":"getusermedia","id":4,"args":{"status":"pending","constraints":{"video":{"mandatory":{"minWidth":640,"minHeight":480},"optional":[{"sourceId":"6ce0000e0583476d2ea8b90c279c707e7b91fe00e1a1a14a205fe8e17b4d2f47"}]}}}},
{"ts":1420631888524,"name":"getusermedia","id":4,"args":{"status":"success","camera":"camera 1, facing front","microphone":null}},
{"ts":1420631888525,"name":"test-run","id":3,"args":{"success":"getUserMedia succeeded."}},
{"ts":1420631888525,"name":"test-run","id":3,"args":{"success":"Video track exists with label = camera 1, facing front"}},
{"ts":1420631888569,"name":"test-run","id":3,"args":{"info":"Checking if your camera is delivering frames for five seconds..."}},
{"ts":1420631893574,"name":"test-run","id":3,"args":{"info":"Details: {\"videoWidth\":480,\"videoHeight\":640,\"isMuted\":false,\"readyState\":\"live\",\"mandatoryMinWidth\":640,\"mandatoryMinHeight\":480,\"testedFrames\":29,\"blackFrames\":0,\"frozenFrames\":0}"}},
{"ts":1420631893574,"name":"test-run","id":3,"args":{"error":"Incorrect captured width."}},
{"ts":1420631893575,"name":"test-run","id":3,"args":{"error":"Incorrect captured height."}},
{"ts":1420631893579,"name":"test-run","id":3,"args":{"status":"Failure"}},

As expected it is returning the rotated variant... test needs to be fixed.

andresusanopinto avatar Jan 07 '15 12:01 andresusanopinto