mirror of
https://github.com/Palakis/obs-websocket.git
synced 2024-08-30 18:12:16 +00:00
Port change
This commit is contained in:
parent
87b64d4511
commit
c23eaed283
@ -1,5 +1,6 @@
|
||||
#include <obs-module.h>
|
||||
#include <obs-frontend-api.h>
|
||||
#include "obs-websocket.h"
|
||||
#include "WSEvents.h"
|
||||
#include "WSServer.h"
|
||||
|
||||
@ -11,9 +12,9 @@ WSServer *server;
|
||||
|
||||
bool obs_module_load(void)
|
||||
{
|
||||
blog(LOG_INFO, "[obs-websockets] you can haz websockets");
|
||||
blog(LOG_INFO, "[obs-websockets] you can haz websockets (version %f)", OBS_WEBSOCKET_VERSION);
|
||||
|
||||
server = new WSServer(8080);
|
||||
server = new WSServer(4444);
|
||||
eventHandler = new WSEvents(server);
|
||||
|
||||
return true;
|
||||
|
6
obs-websocket.h
Normal file
6
obs-websocket.h
Normal file
@ -0,0 +1,6 @@
|
||||
#ifndef OBSWEBSOCKET_H
|
||||
#define OBSWEBSOCKET_H
|
||||
|
||||
#define OBS_WEBSOCKET_VERSION 0.2
|
||||
|
||||
#endif // OBSWEBSOCKET_H
|
Loading…
x
Reference in New Issue
Block a user