Class: OBS::WebSocket::Protocol::Events::MediaRestarted

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



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

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

#source_nameString (readonly)

Returns sourceName field.

Returns:

  • (String)

    sourceName field



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

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