Class: OBS::WebSocket::Protocol::Responses::GetMediaSourcesList
- Inherits:
-
OBS::WebSocket::Protocol::Response
- Object
- ServerMessage
- OBS::WebSocket::Protocol::Response
- OBS::WebSocket::Protocol::Responses::GetMediaSourcesList
- Defined in:
- lib/obs/websocket/protocol.rb
Overview
Instance Attribute Summary collapse
-
#media_sources ⇒ Array<Hash>
readonly
mediaSources
field.
Method Summary
Methods inherited from OBS::WebSocket::Protocol::Response
Constructor Details
This class inherits a constructor from OBS::WebSocket::Protocol::Response
Instance Attribute Details
#media_sources ⇒ Array<Hash> (readonly)
Returns mediaSources
field.
3615 |
# File 'lib/obs/websocket/protocol.rb', line 3615 def media_sources; get_field("mediaSources", Types::Array[Types::Object[{:source_name=>{:type=>Types::String, :json_name=>"sourceName"}, :source_kind=>{:type=>Types::String, :json_name=>"sourceKind"}, :media_state=>{:type=>Types::String, :json_name=>"mediaState"}}]]); end |