https://github.com/microchipgnu/a-streaming
A streaming a-frame component. Uses MediaRecorder, MediaStream and WebSockets.
https://github.com/microchipgnu/a-streaming
aframe aframe-component stream vr webxr
Last synced: 2 months ago
JSON representation
A streaming a-frame component. Uses MediaRecorder, MediaStream and WebSockets.
- Host: GitHub
- URL: https://github.com/microchipgnu/a-streaming
- Owner: microchipgnu
- Created: 2019-05-19T23:07:57.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2023-01-07T05:39:17.000Z (over 3 years ago)
- Last Synced: 2023-03-05T16:22:28.546Z (over 3 years ago)
- Topics: aframe, aframe-component, stream, vr, webxr
- Language: JavaScript
- Homepage:
- Size: 1.84 MB
- Stars: 5
- Watchers: 4
- Forks: 1
- Open Issues: 16
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# a-streaming
This component allows to stream (video only for now) to potentially any service, like YouTube, Facebook or even Twitch.

### Properties
| Property | Description | Default value|
|--|--|--|
|fps| frames per second |60|
|dumpTimeFrequency|The number of milliseconds to record into each [`Blob`](https://developer.mozilla.org/en-US/docs/Web/API/Blob "A Blob object represents a file-like object of immutable, raw data. Blobs represent data that isn't necessarily in a JavaScript-native format. The File interface is based on Blob, inheriting blob functionality and expanding it to support files on the user's system.")|500|
|mimeType|The mime type you want to use as the recording container for the new|video/webm|
|videoBitsPerSecond|The chosen bitrate for the video component of the media|15000000|
|service|TO BE IMPLEMENTED|dev|
|server_url|Encoding server URL|ws://localhost:3000|
|stream_url|Streaming URL|rtmp://localhost/live/STREAM_DEV|
### Installation
#### Browser
### Usage
To use with [a-streaming-server](https://github.com/LewisFreitas/a-streaming-server)