https://github.com/its-just-nans/obs-webview
PoC - Control a web page for OBS
https://github.com/its-just-nans/obs-webview
browser live obs open-broadcaster-software stream webview
Last synced: about 1 month ago
JSON representation
PoC - Control a web page for OBS
- Host: GitHub
- URL: https://github.com/its-just-nans/obs-webview
- Owner: Its-Just-Nans
- License: mit
- Created: 2023-04-14T14:01:46.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-08-04T18:51:26.000Z (over 1 year ago)
- Last Synced: 2025-01-25T22:56:05.628Z (3 months ago)
- Topics: browser, live, obs, open-broadcaster-software, stream, webview
- Language: Svelte
- Homepage: https://its-just-nans.github.io/obs-webview/
- Size: 32.2 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# obs-webview-poc
## Usage
Just go to [https://its-just-nans.github.io/obs-webview](https://its-just-nans.github.io/obs-webview)
## Improvements idea
> ~~This project is just a POC, I don't think I will updated it~~
- [x] create a system to design the page on a new URL like `/studio` (with a button "update")
- [x] try to have only one server for websocket and webserver## Infos
The second version `v1` was using a communication with a websocket on a server
This first version was using an fetch on an interval, but it's not clean
```js
setInterval(() => {
fetch("http://localhost:8100/needRefresh").then(async (resp) => {
const txt = await resp.text();
if (txt === "yes") {
location.reload();
}
}).catch((e) => {
})
}, 1000)
```