I want to let user's of my mini chat to create their rooms dynamically. For now i got const in flask server app: # Predefined rooms for chat ROOMS = ["Lounge", "news", "games", "coding", "food", "cars&...
I am streaming audio in my flask app from a client to the server, but the received audio has very low quality. On the client, I preprocess the audio buffer as follows: this.node.onaudioprocess = function(e){ var buf = e.inputBuffer.getChannel...
In my index.html (HTML/Javascript) I have: $(document).ready(function(){ namespace = '/test'; var socket = io.connect('http://' + document.domain + ':' + location.port + namespace); socket.on('c...
I’m having trouble serving static files (image assets, etc.) for a small game I’m working on in Phaser. I’m using flask-socketio on the server (and socket.io on the client-side) for networking which is why I’m trying to get this working unde...
In my project I am using a React front-end and a Flask server with a RESTful API. The basic functionality is that the front-end fetches data from the server and displays it. This works fine, but I figured I'd improve upon it by making the client...
Very simple communicator built with Flask works fine everywhere but no in Internet Explorer. On Microcrap browser it returns "405 - Method Not Allowed" error without any additional info. Events never reach the Flask application (no log) so I...
I have a program where the backend is written in Python, the frontend is written in React/Electron and I use websockets, specifically Socket.IO to communicate between the two (I use Flask-SocketIO in the backend). I'd like to continuously trans...
I have made a Flask web application that uses a Bootstrap table to display information. In each row, a user can change a dropdown and update a notes text area. I want both of these actions to be able to update on all connected clients with the update...
I am setting up socketio with flask and am having some errors that are preventing it from running. File "src/gevent/greenlet.py", line 705, in gevent._greenlet.Greenlet.run File "/Users/hairy/anaconda2/lib/python2.7/site-packages...
I am trying to get response from javascript after the connection is established between the flask and javascript.The onconnect() function is working properly but onmessage() is not. I tried broadcast along with the emit method in javascript too but...
©2020 All rights reserved.