No need to open video when testing webkitGetUserMedia.

The purpose of this test is to test whether the callback can be called.
This commit is contained in:
Cheng Zhao 2013-08-21 10:33:42 +08:00
parent 9105914b9e
commit 0cd3f3cc40

View file

@ -2,6 +2,6 @@ describe 'webrtc', ->
describe 'navigator.webkitGetUserMedia', ->
it 'should call its callbacks', (done) ->
@timeout 5000
navigator.webkitGetUserMedia audio: true, video: true,
navigator.webkitGetUserMedia audio: true, video: false,
-> done()
-> done()