Thanks for trying to help. Here's more information.
I don't do P2P. I just push (stream) data to everyone connected and it's not storing video it's live broadcast. The stream don't eat bandwidth as far as I notice. It eats RAM. Bandwidth almost does not change during the stream. Any idea about this? On Wednesday, January 9, 2013 7:52:50 AM UTC+7, Marco Rogers wrote: > > As I said, a large topic. I feel like exploring this is really good > though. The architecture we're describing is one that will be increasingly > interesting for web apps going forward. Figuring out how to make it work > well with nodejs as the server component would be a win. > > That said, I don't know enough about the WebRTC stuff at this point. I > know people have done good work bringing the streams api to the browser for > things like this. > > Unfortunately, I'm not sure any of this is going to help Ket in the short > term though :) > > :Marco > > > On Tue, Jan 8, 2013 at 2:30 PM, Mark Hahn <[email protected] > <javascript:>>wrote: > >> Sorry, I didn't catch the usage of P2P. That is a horse of a different >> color. >> >> >> On Tue, Jan 8, 2013 at 2:09 PM, Adam Malcontenti-Wilson < >> [email protected] <javascript:>> wrote: >> >>> If your using WebRTC P2P for streaming the video, the slow streaming >>> very well may be client-side, as it relies on each peer having enough >>> upload bandwidth to each other peer. The only reason your server would >>> be involved in the slowing down of streaming is if you were piping the >>> video through the websocket connection, which would likely be slow >>> over the internet depending on how you serialise the data. >>> >>> On Tue, Jan 8, 2013 at 7:35 PM, Ket <[email protected] <javascript:>> >>> wrote: >>> > Thank you for suggestion. >>> > >>> > Hope the details below would help. >>> > >>> > The hosting is A2Hosting, a vps package, based in Michigan. I know >>> it's not >>> > powerful but I plan to upgrade over time. >>> > >>> > The node.js package is provided by Joyent on Github here: >>> > https://github.com/joyent/node >>> > >>> > The websocket package provides by Worlize on Github here: >>> > https://github.com/Worlize/WebSocket-Node >>> > >>> > And for the WebRTC script, I just simply turn HTML5Rocks.com upside >>> down to >>> > sift out the codes. >>> > >>> > My initial intention is to use between friends and a small number of my >>> > clients and may expand if it works out so well. >>> > >>> > Thank you, >>> > >>> > >>> > On Tuesday, January 8, 2013 2:41:31 PM UTC+7, Marco Rogers wrote: >>> >> >>> >> From your link, it looks like you want to do live streaming to a >>> dynamic >>> >> list of recipients. That is a large topic, and "use nodejs" doesn't >>> begin to >>> >> cover it. Voxer does live audio streaming with node and they have a >>> large >>> >> system and use many many servers. So I'd think real hard about >>> standing up >>> >> something simple and expecting it to hold up in production. >>> >> >>> >> But you didn't ask that. You asked why it's slow on your web host. >>> You'll >>> >> have to provide more information about what web host you're using, >>> your app >>> >> architecture, and what "slow" means in order for someone to help you >>> out >>> >> with that. >>> >> >>> >> Good luck >>> >> :Marco >>> >> >>> > -- >>> > 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 [email protected]<javascript:> >>> > To unsubscribe from this group, send email to >>> > [email protected] <javascript:> >>> > For more options, visit this group at >>> > http://groups.google.com/group/nodejs?hl=en?hl=en >>> >>> >>> >>> -- >>> Adam Malcontenti-Wilson >>> >>> -- >>> 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 [email protected]<javascript:> >>> To unsubscribe from this group, send email to >>> [email protected] <javascript:> >>> For more options, visit this group at >>> http://groups.google.com/group/nodejs?hl=en?hl=en >>> >> >> -- >> 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 [email protected]<javascript:> >> To unsubscribe from this group, send email to >> [email protected] <javascript:> >> For more options, visit this group at >> http://groups.google.com/group/nodejs?hl=en?hl=en >> > > > > -- > Marco Rogers > [email protected] <javascript:> | https://twitter.com/polotek > > Life is ten percent what happens to you and ninety percent how you respond > to it. > - Lou Holtz > -- 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 [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en
