Class: Aws::TranscribeStreamingService::EventStreams::AudioStream
- Inherits:
-
Object
- Object
- Aws::TranscribeStreamingService::EventStreams::AudioStream
- Defined in:
- gems/aws-sdk-transcribestreamingservice/lib/aws-sdk-transcribestreamingservice/event_streams.rb,
gems/aws-sdk-transcribestreamingservice/lib/aws-sdk-transcribestreamingservice/event_streams.rb,
gems/aws-sdk-transcribestreamingservice/lib/aws-sdk-transcribestreamingservice/event_streams.rb
Instance Method Summary collapse
-
#initialize ⇒ AudioStream
constructor
A new instance of AudioStream.
-
#signal_audio_event_event(params = {}) ⇒ Object
-
#signal_configuration_event_event(params = {}) ⇒ Object
-
#signal_end_stream ⇒ Object
Constructor Details
#initialize ⇒ AudioStream
Returns a new instance of AudioStream.
14 15 16 |
# File 'gems/aws-sdk-transcribestreamingservice/lib/aws-sdk-transcribestreamingservice/event_streams.rb', line 14 def initialize @event_emitter = Aws::EventEmitter.new end |
Instance Method Details
#signal_audio_event_event(params = {}) ⇒ Object
22 23 24 |
# File 'gems/aws-sdk-transcribestreamingservice/lib/aws-sdk-transcribestreamingservice/event_streams.rb', line 22 def signal_audio_event_event(params = {}) @event_emitter.emit(:audio_event, params) end |
#signal_configuration_event_event(params = {}) ⇒ Object
42 43 44 |
# File 'gems/aws-sdk-transcribestreamingservice/lib/aws-sdk-transcribestreamingservice/event_streams.rb', line 42 def signal_configuration_event_event(params = {}) @event_emitter.emit(:configuration_event, params) end |
#signal_end_stream ⇒ Object
46 47 48 |
# File 'gems/aws-sdk-transcribestreamingservice/lib/aws-sdk-transcribestreamingservice/event_streams.rb', line 46 def signal_end_stream @event_emitter.emit(:end_stream, {}) end |