Closed chasd00 closed 6 years ago
hmm ;) It's a gap xD I didn't though about this.
2016-09-04 21:32 GMT+02:00 chasd00 notifications@github.com:
How do I programmatically leave a video chat and turn off the webcam? It seems the only way I've found to do it is reload the page.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/mslosarz/nextrtc-example-videochat/issues/9, or mute the thread https://github.com/notifications/unsubscribe-auth/ADysRWNEOQjOu1wbPixo7F-BYY03fxKBks5qmxy7gaJpZM4J0m-F .
Marcin Ślósarz
If you want to just point me in the right direction i'll work on it. A page reload would destroy the DOM with no chance to signal anyone or anything, so would it be just a matter of destroying the
On Mon, Sep 5, 2016 at 1:07 PM, Marcin Ślósarz notifications@github.com wrote:
hmm ;) It's a gap xD I didn't though about this.
2016-09-04 21:32 GMT+02:00 chasd00 notifications@github.com:
How do I programmatically leave a video chat and turn off the webcam? It seems the only way I've found to do it is reload the page.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/mslosarz/nextrtc-example-videochat/issues/9, or mute the thread https://github.com/notifications/unsubscribe- auth/ADysRWNEOQjOu1wbPixo7F-BYY03fxKBks5qmxy7gaJpZM4J0m-F .
Marcin Ślósarz
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/mslosarz/nextrtc-example-videochat/issues/9#issuecomment-244794086, or mute the thread https://github.com/notifications/unsubscribe-auth/ABM-5CGxg4mM-7rOIESqRVcwx8xFMWxkks5qnFpHgaJpZM4J0m-F .
To close rtcConnection (so also the capturing the microphone and camera) only one thing is required :) (see http://stackoverflow.com/questions/27818708/how-to-close-peerconnection-in-webrtc) we have to call close method on localStream. In js client nextRTC.js we have to create function leave which will call nextRTC.localStream.close()
2016-09-07 17:49 GMT+02:00 chasd00 notifications@github.com:
If you want to just point me in the right direction i'll work on it. A page reload would destroy the DOM with no chance to signal anyone or anything, so would it be just a matter of destroying the
On Mon, Sep 5, 2016 at 1:07 PM, Marcin Ślósarz notifications@github.com wrote:
hmm ;) It's a gap xD I didn't though about this.
2016-09-04 21:32 GMT+02:00 chasd00 notifications@github.com:
How do I programmatically leave a video chat and turn off the webcam? It seems the only way I've found to do it is reload the page.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/mslosarz/nextrtc-example-videochat/issues/9, or mute the thread https://github.com/notifications/unsubscribe- auth/ADysRWNEOQjOu1wbPixo7F-BYY03fxKBks5qmxy7gaJpZM4J0m-F .
Marcin Ślósarz
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/mslosarz/nextrtc-example-videochat/ issues/9#issuecomment-244794086, or mute the thread https://github.com/notifications/unsubscribe-auth/ABM-5CGxg4mM- 7rOIESqRVcwx8xFMWxkks5qnFpHgaJpZM4J0m-F .
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/mslosarz/nextrtc-example-videochat/issues/9#issuecomment-245325450, or mute the thread https://github.com/notifications/unsubscribe-auth/ADysRVrEIZONDtja8YI3ocycCDo6VlG8ks5qntz2gaJpZM4J0m-F .
Marcin Ślósarz
I've made it ;) in examples there is a use case
2016-09-07 21:52 GMT+02:00 Marcin Ślósarz m.slosarz@ahej.pl:
To close rtcConnection (so also the capturing the microphone and camera) only one thing is required :) (see http://stackoverflow.com/ questions/27818708/how-to-close-peerconnection-in-webrtc) we have to call close method on localStream. In js client nextRTC.js we have to create function leave which will call nextRTC.localStream.close()
2016-09-07 17:49 GMT+02:00 chasd00 notifications@github.com:
If you want to just point me in the right direction i'll work on it. A page reload would destroy the DOM with no chance to signal anyone or anything, so would it be just a matter of destroying the
On Mon, Sep 5, 2016 at 1:07 PM, Marcin Ślósarz notifications@github.com wrote:
hmm ;) It's a gap xD I didn't though about this.
2016-09-04 21:32 GMT+02:00 chasd00 notifications@github.com:
How do I programmatically leave a video chat and turn off the webcam? It seems the only way I've found to do it is reload the page.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/mslosarz/nextrtc-example-videochat/issues/9, or mute the thread https://github.com/notifications/unsubscribe- auth/ADysRWNEOQjOu1wbPixo7F-BYY03fxKBks5qmxy7gaJpZM4J0m-F .
Marcin Ślósarz
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/mslosarz/nextrtc-example-videochat/issue s/9#issuecomment-244794086, or mute the thread https://github.com/notifications/unsubscribe-auth/ABM- 5CGxg4mM-7rOIESqRVcwx8xFMWxkks5qnFpHgaJpZM4J0m-F .
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/mslosarz/nextrtc-example-videochat/issues/9#issuecomment-245325450, or mute the thread https://github.com/notifications/unsubscribe-auth/ADysRVrEIZONDtja8YI3ocycCDo6VlG8ks5qntz2gaJpZM4J0m-F .
Marcin Ślósarz
Marcin Ślósarz
How do I programmatically leave a video chat and turn off the webcam? It seems the only way I've found to do it is reload the page.