public MP4Config(byte[] sps, byte[] pps) { mPPS = Base64.EncodeToString(pps, 0, pps.Length, Base64Flags.NoWrap); mSPS = Base64.EncodeToString(sps, 0, sps.Length, Base64Flags.NoWrap); mProfilLevel = MP4Parser.toHexString(sps, 1, 3); }
public System.String getProfileLevel() { return(MP4Parser.toHexString(sps, 1, 3)); }
public MP4Config(System.String sps, System.String pps) { mPPS = pps; mSPS = sps; mProfilLevel = MP4Parser.toHexString(Base64.Decode(sps, Base64Flags.NoWrap), 1, 3); }