VideoSDK RTC Go API Server Example
A complete Go server example demonstrating VideoSDK RTC API integration.
Pre-requisites​
- Go (Golang)
- VideoSDK Account - Get your API credentials from VideoSDK Developer Console
- VideoSDK RTC API Server Examples Repo - Clone it from Github
Installation & Setup​
1. Clone the Repository​
git clone https://github.com/videosdk-live/videosdk-rtc-api-server-examples.git
cd go
2. Install Dependencies​
go install
3. Configure Credentials​
Open the main.go
file and update it with your VideoSDK API Key and Secret:
VIDEOSDK_API_KEY = "your_api_key_here"
VIDEOSDK_SECRET_KEY = "your_secret_key_here"
VIDEOSDK_API_ENDPOINT = "https://api.videosdk.live/v2"
4. Run the Server​
go run main.go
Got a Question? Ask us on discord