Coder Social home page Coder Social logo

Comments (4)

mslosarz avatar mslosarz commented on July 24, 2024

hmm ;)
It's a gap xD
I didn't though about this.

2016-09-04 21:32 GMT+02:00 chasd00 [email protected]:

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
#9, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ADysRWNEOQjOu1wbPixo7F-BYY03fxKBks5qmxy7gaJpZM4J0m-F
.

Marcin Ślósarz

from nextrtc-example-videochat.

chasd00 avatar chasd00 commented on July 24, 2024

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 [email protected]
wrote:

hmm ;)
It's a gap xD
I didn't though about this.

2016-09-04 21:32 GMT+02:00 chasd00 [email protected]:

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
#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
#9 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABM-5CGxg4mM-7rOIESqRVcwx8xFMWxkks5qnFpHgaJpZM4J0m-F
.

from nextrtc-example-videochat.

mslosarz avatar mslosarz commented on July 24, 2024

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 [email protected]:

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 [email protected]
wrote:

hmm ;)
It's a gap xD
I didn't though about this.

2016-09-04 21:32 GMT+02:00 chasd00 [email protected]:

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
#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
#9 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADysRVrEIZONDtja8YI3ocycCDo6VlG8ks5qntz2gaJpZM4J0m-F
.

Marcin Ślósarz

from nextrtc-example-videochat.

mslosarz avatar mslosarz commented on July 24, 2024

I've made it ;)
in examples there is a use case

2016-09-07 21:52 GMT+02:00 Marcin Ślósarz [email protected]:

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 [email protected]:

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 [email protected]
wrote:

hmm ;)
It's a gap xD
I didn't though about this.

2016-09-04 21:32 GMT+02:00 chasd00 [email protected]:

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
#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
#9 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADysRVrEIZONDtja8YI3ocycCDo6VlG8ks5qntz2gaJpZM4J0m-F
.

Marcin Ślósarz

Marcin Ślósarz

from nextrtc-example-videochat.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.