Public Member Functions | Private Attributes
rospeex_core.sr.google.streaming_client.StreamingClient Class Reference
Inheritance diagram for rospeex_core.sr.google.streaming_client.StreamingClient:
Inheritance graph
[legend]

List of all members.

Public Member Functions

def __init__
def add_streaming_packet
def join
def register_streaming_cb
def set_streaming_config
def support_streaming
def unregister_streaming_cb

Private Attributes

 _language
 _session
 _streaming_cb_list
 _streaming_cb_lock
 _streaming_state

Detailed Description

Audio Processor class 

Definition at line 16 of file google/streaming_client.py.


Constructor & Destructor Documentation

def rospeex_core.sr.google.streaming_client.StreamingClient.__init__ (   self,
  google_api_key = None,
  language = 'ja',
  args,
  kwargs 
)

Definition at line 19 of file google/streaming_client.py.


Member Function Documentation

def rospeex_core.sr.google.streaming_client.StreamingClient.add_streaming_packet (   self,
  packet_type,
  packet_data 
)
add streaming packet
@param packet_type:
@type  packet_type: int
@param packet_data:
@param packet_data: str

Definition at line 48 of file google/streaming_client.py.

join streaming client
@param timeout:
@type timeout:

Definition at line 73 of file google/streaming_client.py.

register streaming result callback
@param cb:
@type cb:

Definition at line 57 of file google/streaming_client.py.

set streaming config

@param language:

Definition at line 40 of file google/streaming_client.py.

check support streaming
@returns: True for support streaming / False for NOT support streaming

Definition at line 33 of file google/streaming_client.py.

unregister streaming result callback
@param cb:
@type cb:

Definition at line 65 of file google/streaming_client.py.


Member Data Documentation

Definition at line 19 of file google/streaming_client.py.

Definition at line 19 of file google/streaming_client.py.

Definition at line 19 of file google/streaming_client.py.

Definition at line 19 of file google/streaming_client.py.

Definition at line 19 of file google/streaming_client.py.


The documentation for this class was generated from the following file:


rospeex_core
Author(s): Komei Sugiura
autogenerated on Thu Jun 6 2019 18:53:10