Class: OBS::WebSocket::Protocol::Events::MediaStarted

Inherits:
OBS::WebSocket::Protocol::Event show all
Defined in:
lib/obs/websocket/protocol.rb

Instance Attribute Summary collapse

Method Summary

Methods inherited from OBS::WebSocket::Protocol::Event

create, #initialize, json_name, #rec_timecode, #stream_timecode, #to_h, #update_type

Constructor Details

This class inherits a constructor from OBS::WebSocket::Protocol::Event

Instance Attribute Details

#source_kindString (readonly)

Returns sourceKind field.

Returns:

  • (String)

    sourceKind field



552
# File 'lib/obs/websocket/protocol.rb', line 552

def source_kind; get_field("sourceKind", Types::String); end

#source_nameString (readonly)

Returns sourceName field.

Returns:

  • (String)

    sourceName field



549
# File 'lib/obs/websocket/protocol.rb', line 549

def source_name; get_field("sourceName", Types::String); end