Here we are going to integrate simple video call and voice chat functionality in your website with WebRTC, Socket.IO & Node.js. WebRTC (Web Real-Time Communications) is an open source project which enables real-time communication of audio, video and data in Web and native apps. And we’ll use Socket.IO and Node.js development services for setting up signaling server. Requirements • Latest browser which is […] Read more
Shocket.Io emit Cheatsheet io.on('connect', onConnect); function onConnect(socket){ // sending to the client socket.emit('hello', 'can you hear me?', 1, 2, 'abc'); // sending to all clients except sender socket.broadcast.emit('broadcast', 'hello friends!'); // sending to all clients in 'game' room except sender socket.to('game').emit('nice game', "let's play a game"); // sending to all clients in 'game1' and/or in […] Read more
WebSocket is an amazingly fast, easy to use and full-duplex way to communicate between client and server. WebSocket is recommended if you want a fast real-time application like a bid application, or a real time poker game. It’s easy to broadcast messages between users. What is WebSocket? WebSocket is a protocol for creating a fast […] Read more
Let’s take a look at how to optimize MySQL queries for speed and performance. He we will go through the steps of optimizing SQL queries and databases. This will guarantee stability, scalability, reliability and speed of applications and websites. 1. Index All Columns Used in ‘where’, ‘order by’, and ‘group by’ Clauses Apart from guaranteeing […] Read more
Here is list of all available keyboard shortcut in Mozilla Firebox browsers. Table of Contents Navigation Current Page Editing Search Windows & Tabs History Bookmarks Tools PDF Viewer Miscellaneous Media shortcuts Developer shortcuts Navigation Command Shortcut Back Alt + ← Backspace Forward Alt + → Shift + Backspace Home Alt + Home Open File Ctrl […] Read more