How to pause or stop live streaming

123 views
Skip to first unread message

Ket

unread,
Jul 9, 2012, 10:58:10 AM7/9/12
to nod...@googlegroups.com
Hi guys,

I've socket.send(something); to start streaming live. But what if I want to stop or pause sending withing leaving the web page.

Thanks

Dominic Tarr

unread,
Jul 10, 2012, 6:19:46 AM7/10/12
to nod...@googlegroups.com
this question does not have enough information to answer it.

what modules/API/framework are you using to 'stream live' as you say?

I'm not familiar with socket.send(..) node uses socket.write(data) or
socket.pipe(stream)
> --
> Job Board: http://jobs.nodejs.org/
> Posting guidelines:
> https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
> You received this message because you are subscribed to the Google
> Groups "nodejs" group.
> To post to this group, send email to nod...@googlegroups.com
> To unsubscribe from this group, send email to
> nodejs+un...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/nodejs?hl=en?hl=en

Arnout Kazemier

unread,
Jul 10, 2012, 6:42:23 AM7/10/12
to nod...@googlegroups.com
Sounds more like a Socket.IO API to me, as that has a socket.send() method. To
send data in realtime / live.

If the question was about socket.io then you can just do socket.disconnect()

Ket

unread,
Jul 10, 2012, 10:19:35 AM7/10/12
to nod...@googlegroups.com
Thanks V1

Yes, it stream live data from web browser. I'll try your method.


Reply all
Reply to author
Forward
0 new messages