Skip to main content

No project description provided

Project description

RTCCafe Signaller Python

A collection of implementations of the RTCCafe Signalling Server for various python server implementations.

Installation

pip install rtc-cafe-signaller

Setup

For all server implementations, simply pass your server instance into one of the supplied wrappers.

Flask-SocketIO

import os

import flask
from flask_socketio import SocketIO
from rtc_cafe_signaller.wrappers import flask_socketio_wrapper

def validate_rtc_cafe_messages(sid, messageType, data):
  ...

app = flask.Flask(__name__)
socketio = SocketIO(app, message_queue=os.environ.get("REDIS_URL"), engineio_logger=True)
flask_socketio_wrapper.wrap(socketio, validate_rtc_cafe_messages)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

rtc-cafe-signaller-python-0.2.0.tar.gz (1.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

rtc_cafe_signaller_python-0.2.0-py3-none-any.whl (2.7 kB view details)

Uploaded Python 3

File details

Details for the file rtc-cafe-signaller-python-0.2.0.tar.gz.

File metadata

  • Download URL: rtc-cafe-signaller-python-0.2.0.tar.gz
  • Upload date:
  • Size: 1.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.7.3

File hashes

Hashes for rtc-cafe-signaller-python-0.2.0.tar.gz
Algorithm Hash digest
SHA256 a03beff2e7db06913163659c517f4ea579e36bdb1aa11da8801e942c64a60fda
MD5 a309012529284d17f5575ef8b472b3a5
BLAKE2b-256 92af524c0f934504e237d093808bb70b4d4977aff65d2c508a7de26a7f4d25aa

See more details on using hashes here.

File details

Details for the file rtc_cafe_signaller_python-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: rtc_cafe_signaller_python-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 2.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.7.3

File hashes

Hashes for rtc_cafe_signaller_python-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e3c98b0204d63f8891041957eaccffb9d8704f91d63e7fb51e22ef5c7fb27583
MD5 712de1404dbd199c894b0e3d50b0f424
BLAKE2b-256 41fc0e0ae33eac185d6db5c1487fc9b3df66d7ed0525e203969c15d778335064

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page