message: SDPManagerUnified fixes
diff: @@ -11,6 +11,7 @@ const ICEInfo = SemanticSDP.ICEInfo;
  const StreamInfo = SemanticSDP.StreamInfo;
  const TrackInfo = SemanticSDP.TrackInfo;
  const SourceGroupInfo = SemanticSDP.SourceGroupInfo;
  +const Direction = SemanticSDP.Direction;
  class SDPManagerUnified extends SDPManager
  {
  @@ -272,8 +273,8 @@ class SDPManagerUnified extends SDPManager
  //Check new direction for remote stuff
  switch(mediaInfo.getDirection())
  {
  - case "sendrecv":
  - case "sendonly":
  + case Direction.SENDRECV:
  + case Direction.SENDONLY:
  //If we had one nd they are different
  if (transceiver.remote.track && transceiver.remote.track!=track)
  //Stop it
  @@ -285,13 +286,13 @@ class SDPManagerUnified extends SDPManager
  //If we don't have a track already
  if (!track && trackInfo)
  //Create new one on the stream
  - stream.creteTrack(trackInfo);
  + stream.createTrack(trackInfo);
  //Store track and stream info
  transceiver.remote.streamId = stream.getId();
  transceiver.remote.track = track;
  break;
  - case "recvonly":
  - case "inactive":
  + case Direction.RECVONLY:
  + case Direction.INACTIVE:
  //if we had track
  if (track)
  //Stop it
  @@ -304,8 +305,8 @@ class SDPManagerUnified extends SDPManager
  //Check new direction for local stuff
  switch(mediaInfo.getDirection())
  {
  - case "inactive":
  - case "sendonly":
  + case Direction.INACTIVE:
  + case Direction.SENDONLY:
  //If we had one track on this
  if (transceiver.local.track)
  //Stop it
  @@ -313,8 +314,8 @@ class SDPManagerUnified extends SDPManager
  //Delete it from transceiver
  delete (transceiver.local.track);
  break;
  - case "sendrecv":
  - case "recvonly":
  + case Direction.SENDRECV:
  + case Direction.RECVONLY:
  //if we don't have a track and we had pending for adding
  if (!transceiver.local.track && this.pending.length)
  {
  