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:
parent
9105914b9e
commit
0cd3f3cc40
1 changed files with 1 additions and 1 deletions
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue