Class: OpenTok::Captions
- Inherits:
-
Object
- Object
- OpenTok::Captions
- Defined in:
- lib/opentok/captions.rb
Overview
A class for working with OpenTok captions.
Instance Method Summary collapse
-
#start(session_id, token, options = {}) ⇒ Object
Starts live captions for the specified OpenTok session.
-
#stop(captions_id) ⇒ Object
Starts live captions for the specified OpenTok session.
Instance Method Details
#start(session_id, token, options = {}) ⇒ Object
Starts live captions for the specified OpenTok session. See the / OpenTok Live Captions developer guide.
46 47 48 |
# File 'lib/opentok/captions.rb', line 46 def start(session_id, token, = {}) @client.(session_id, token, ) end |
#stop(captions_id) ⇒ Object
Starts live captions for the specified OpenTok session. See the / OpenTok Live Captions developer guide.
57 58 59 |
# File 'lib/opentok/captions.rb', line 57 def stop() @client.() end |