streamaserver/streama

[Feature request] Socket control

Open

#796 ouverte le 10 mai 2019

Voir sur GitHub
 (4 commentaires) (0 réactions) (0 assignés)JavaScript (977 forks)batch import
Help wanted

Métriques du dépôt

Stars
 (9 565 stars)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

Description

I was wondering if it would be possible to use socket to control certain parts of the application. I am designing my own bot in python and would like to have it start a new video session for synced video watching. (right now i just have the bot open a browser and have it do everything in the browser, which eats CPU)

I just figured that socket would be the way to go for this, like Streama would have it's own key for verification, and you would send the key + the command to the socket, and have it execute a function.

So like this: Python code: Send - 'hQNX3To86NjvqtCx' + ':' + 'Do_this' Streama code: Recv - 'hQNX3To86NjvqtCx:Do_this' then split it with the colon, check the key and run the command

Guide contributeur