message: Allow passing MediaInfo objects to set(Local|Remote)Properties
diff: const Native = require("./Native");
  +const SemanticSDP = require("semantic-sdp");
  +const MediaInfo = SemanticSDP.MediaInfo;
  function convertRTPProperties(rtp)
  {
  @@ -9,8 +11,12 @@ function convertRTPProperties(rtp)
  if (rtp.audio)
  {
  let num = 0;
  +
  + //Supppor plain and Semantic SDP objects
  + const audio = rtp.audio.constructor.name === "MediaInfo" ? rtp.audio : MediaInfo.expand(rtp.audio);
  +
  //For each codec
  - for (let codec of rtp.audio.getCodecs().values())
  + for (let codec of audio.getCodecs().values())
  {
  //Item
  let item = "audio.codecs."+num;
  @@ -31,7 +37,7 @@ function convertRTPProperties(rtp)
  num = 0;
  //For each extension
  - for (let [id,uri] of rtp.audio.getExtensions().entries())
  + for (let [id,uri] of audio.getExtensions().entries())
  {
  //Set properties
  properties.SetProperty("audio.ext."+num+".id" ,id);
  @@ -47,8 +53,10 @@ function convertRTPProperties(rtp)
  if (rtp.video)
  {
  let num = 0;
  + //Supppor plain and Semantic SDP objects
  + const video = rtp.video.constructor.name === "MediaInfo" ? rtp.video : MediaInfo.expand(rtp.video);
  //For each codec
  - for (let codec of rtp.video.getCodecs().values())
  + for (let codec of video.getCodecs().values())
  {
  //Item
  let item = "video.codecs."+num;
  @@ -69,7 +77,7 @@ function convertRTPProperties(rtp)
  num = 0;
  //For each extension
  - for (let [id,uri] of rtp.video.getExtensions().entries())
  + for (let [id,uri] of video.getExtensions().entries())
  {
  //Set properties
  properties.SetProperty("video.ext."+num+".id" ,id);
  