Suggestions

close search

Add Messaging, Voice, and Authentication to your apps with Vonage Communications APIs

Visit the Vonage API Developer Portal

Class: OpenTok::Stream

Inherits:
Object
Defined in:
lib/opentok/stream.rb

Instance Attribute Summary

Instance Method Summary

Dynamic Method Handling

This class handles dynamic methods through the method_missing method

#method_missing(method, *args, &block) ⇒ Object

Instance Attribute Details

#layoutClassListarray

An array of the layout classes for the stream.

Returns:

  • (array)

    the current value of layoutClassList

#videoTypestring

The videoType property is either “camera” or “screen”.

Returns:

  • (string)

    the current value of videoType

Instance Method Details

#to_jsonObject

A JSON-encoded string representation of the stream.