RtpHeaderExtension.fromMap constructor

RtpHeaderExtension.fromMap(
  1. Map data
)

Implementation

RtpHeaderExtension.fromMap(Map data)
    : kind = RTCRtpMediaTypeExtension.fromString(data['kind']),
      uri = data['uri'],
      preferredId = data['preferredId'],
      preferredEncrypt = data['preferredEncrypt'],
      direction = RtpHeaderDirectionExtension.fromString(data['direction']);