btnexus-node-python.btStreamingNode module¶
A Node which accepts audio streams and forwards them to the speech to text service of your choice and publishes the transcript on the transcript topic
-
class
btStreamingNode.
StreamingNode
(token=None, axonURL=None, debug=None, logger=None)[source]¶ Bases:
btNode.Node
Constructor sets up the NexusConnector.
- Parameters
token (String) – AccessToken for the btNexus
axonURL (String) – URL for the Axon(InstanceURL)
debug (bool) – switch for debug messages
-
connect
()[source]¶ Runs this node and listen forever This is a blocking call Uses the kwargs for the socketio.Client see https://python-socketio.readthedocs.io/en/latest/api.html