---
# System prepended metadata

title: Socker Server

---

# Socker Server

## Connect to Socker Server
    
    
    import { io } from "socket.io-client";
    import randomString from "randomstring";
    
    const socket = io("https://vcsock.diplay.app");
    var randId = randomString.generate(7);
    const connectUser = () => { return socket.emit("userConnected", randId);};
    socket.on("connect", connectUser);
    
    
    
## Socket Events
    

- ## Get Dolby Processing Progress
    
    socket.on("dolbyProgress", (progress) => {console.log(progress)});
    
    
- ## Get Video Converting Progress
    
    socket.on("getProgress", (progress) => {console.log(progress)});

- ## Get Upload Video Progress
    
    socket.on("getPercentage", (progress) => {console.log(progress)});

