Class: WebRTC::RTCRtpHeaderExtensionParameters

Inherits:
Object
  • Object
show all
Defined in:
lib/webrtc/parity_types.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(uri:, id:, encrypted: false) ⇒ RTCRtpHeaderExtensionParameters

Returns a new instance of RTCRtpHeaderExtensionParameters.



306
307
308
309
310
# File 'lib/webrtc/parity_types.rb', line 306

def initialize(uri:, id:, encrypted: false)
  @uri = uri
  @id = id
  @encrypted = encrypted
end

Instance Attribute Details

#encryptedObject

Returns the value of attribute encrypted.



304
305
306
# File 'lib/webrtc/parity_types.rb', line 304

def encrypted
  @encrypted
end

#idObject

Returns the value of attribute id.



304
305
306
# File 'lib/webrtc/parity_types.rb', line 304

def id
  @id
end

#uriObject

Returns the value of attribute uri.



304
305
306
# File 'lib/webrtc/parity_types.rb', line 304

def uri
  @uri
end