Class: FastpixClient::Models::Components::SimulcastRequest
- Inherits:
-
Object
- Object
- FastpixClient::Models::Components::SimulcastRequest
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/fastpix_client/models/components/simulcastrequest.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(metadata: nil, url: 'rtmp://example.com/', stream_key: 'd851d91d5b768b36k61a264dcc447b') ⇒ SimulcastRequest
constructor
A new instance of SimulcastRequest.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(metadata: nil, url: 'rtmp://example.com/', stream_key: 'd851d91d5b768b36k61a264dcc447b') ⇒ SimulcastRequest
Returns a new instance of SimulcastRequest.
23 24 25 26 27 |
# File 'lib/fastpix_client/models/components/simulcastrequest.rb', line 23 def initialize(metadata: nil, url: 'rtmp://example.com/', stream_key: 'd851d91d5b768b36k61a264dcc447b') = @url = url @stream_key = stream_key end |
Instance Method Details
#==(other) ⇒ Object
30 31 32 33 34 35 36 |
# File 'lib/fastpix_client/models/components/simulcastrequest.rb', line 30 def ==(other) return false unless other.is_a? self.class return false unless == other. return false unless @url == other.url return false unless @stream_key == other.stream_key true end |