wangchengnick / sipml5

Automatically exported from code.google.com/p/sipml5
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Turn off camera when call is terminated #109

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?

Please use labels and text to provide additional information.
When your website is not using "https://" then, the browser will ask permission 
to access you camera/microphone each time you initiated a call. To avoid this, 
we cache the media stream and reuse it for next calls.
In the next release, it will be possible to decide whether to cache the stream 
or not.
In the attached patch you can toggle 
"tmedia_session_jsep.prototype.b_cache_stream".

Original issue reported on code.google.com by boss...@yahoo.fr on 10 Jul 2013 at 5:16

Attachments:

GoogleCodeExporter commented 9 years ago
Patch only works to stop camera after a successful call. If the call fails or 
is ended before connecting to the far party, then the webcam still stays up.

Original comment by saket...@gmail.com on 23 Jul 2013 at 8:54

GoogleCodeExporter commented 9 years ago
Fixed in 1.3.203

Original comment by boss...@yahoo.fr on 10 Aug 2013 at 8:26