https://github.com/quickcorp/qcobjects-video-streaming
The qcobjects-video-streaming template a quick start point to build a video streaming application using QCObjects and Socket.io.
https://github.com/quickcorp/qcobjects-video-streaming
Last synced: 8 months ago
JSON representation
The qcobjects-video-streaming template a quick start point to build a video streaming application using QCObjects and Socket.io.
- Host: GitHub
- URL: https://github.com/quickcorp/qcobjects-video-streaming
- Owner: QuickCorp
- License: lgpl-3.0
- Created: 2020-10-29T17:26:56.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-04-27T19:53:01.000Z (about 5 years ago)
- Last Synced: 2025-09-16T05:35:16.630Z (9 months ago)
- Language: JavaScript
- Size: 935 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# QCObjects Video Streaming
QCObjects Video Streaming App template
## Usage
#### Quick Start
The qcobjects-video-streaming template a quick start point to build a video streaming application using QCObjects and Socket.io.
```shell
qcobjects create --custom=qcobjects-video-streaming mynewapp
```
#### Config Settings
Create a config.json file in the root directory of your project and add the following settings
```json
{
"devmode": "debug",
"documentRoot": "./public/",
"dataPath": "./data/",
"relativeImportPath":"js/packages/",
"backend": {
"interceptors":[
{
"name": "Start Streaming",
"description": "Start Streaming",
"microservice": "com.qcobjects.cloud.backend.videostreaming",
"responseHeaders": {}
}
],
"routes": [
{
"name": "Socket IO",
"description": "Socket IO",
"path": "^/socket.io/(.*)$",
"microservice": "com.qcobjects.backend.microservice.socketio",
"redirect_to": "./node_modules/socket.io-client/dist/$1",
"supported_methods": ["GET","POST","PUT"]
}
]
},
"iceServers": [{
"urls": "stun:stun.l.google.com:19302"
}]
}
```
#### Set dependencies
In your package.json file add the following dependencies
```json
"dependencies": {
"qcobjects": "latest",
"socket.io": "^2.3.0"
},
```
Then install everything
```shell
npm i
```
#### Launch the application
```shell
> qcobjects launch app
```
Read more:
[QCObjects](https://qcobjects.com)