#956 Switch GMP AUS to our own infra

Open
opened 2 years ago by wolfbeast · 12 comments
wolfbeast commented 2 years ago (Migrated from github.com)

We need to stop relying on mozilla for our GMP redirects for Openh264 and Widevine.

Considering Google never responded to my e-mails to set up distribution of their CDM either directly or indirectly, we’ll be using our aus with update XML files that will redirect to the relevant distribution servers for both.

The current Windows x86 and x64 XMLs are:

<?xml version="1.0"?>
<updates>
    <addons>
        <addon id="gmp-gmpopenh264" URL="http://ciscobinary.openh264.org/openh264-win32-6c2e7008f8bbe2ff90100972f97071eb87ec37cb.zip" hashFunction="sha512" hashValue="8fedd61c631feba20b2a20eede9697bd7b2cdad874ad4dcbbe1664cbabbe52bd75940bf3364848eaf4476263a0e33d1275d8dd3d7d6a97f2a217cd59b2a338df" size="389427" version="1.7.1"/>
        <addon id="gmp-widevinecdm" URL="https://redirector.gvt1.com/edgedl/widevine-cdm/4.10.1146.0-win-ia32.zip" hashFunction="sha512" hashValue="d00fb1ce1b7d359ac0f06480d83960fc9aae25f6933e736483c7e27f86ad70a2ca7bfe45027874d1b619d3b72944372d5a7fb124ade4978efdcaeff0cc6c415b" size="3554840" version="4.10.1146.0"/>
    </addons>
</updates>
<?xml version="1.0"?>
<updates>
    <addons>
        <addon id="gmp-gmpopenh264" URL="http://ciscobinary.openh264.org/openh264-win64-6c2e7008f8bbe2ff90100972f97071eb87ec37cb.zip" hashFunction="sha512" hashValue="ceda21c6d2010dff9716eac11afccf15ff4eecaefc4da57400db77568bc613f41facad5faec2c9416796695909f1cb84e65e00abb57410ad51852268df2b69aa" size="444375" version="1.7.1"/>
        <addon id="gmp-widevinecdm" URL="https://redirector.gvt1.com/edgedl/widevine-cdm/4.10.1146.0-win-x64.zip" hashFunction="sha512" hashValue="6879b1a718f121eaca93864fa08dc29d5cd5adbdcfc3c3b7dd8cabea768ef4b2cc44b0d43bd04ce2768bea8039faf0a2ebc6d81247101abbe28efda253c89197" size="3523651" version="4.10.1146.0"/>
    </addons>
</updates>

People on Linux should find out and post their XML in this issue so they can be hosted.

We need to stop relying on mozilla for our GMP redirects for Openh264 and Widevine. Considering Google never responded to my e-mails to set up distribution of their CDM either directly or indirectly, we'll be using our aus with update XML files that will redirect to the relevant distribution servers for both. The current Windows x86 and x64 XMLs are: ```XML <?xml version="1.0"?> <updates> <addons> <addon id="gmp-gmpopenh264" URL="http://ciscobinary.openh264.org/openh264-win32-6c2e7008f8bbe2ff90100972f97071eb87ec37cb.zip" hashFunction="sha512" hashValue="8fedd61c631feba20b2a20eede9697bd7b2cdad874ad4dcbbe1664cbabbe52bd75940bf3364848eaf4476263a0e33d1275d8dd3d7d6a97f2a217cd59b2a338df" size="389427" version="1.7.1"/> <addon id="gmp-widevinecdm" URL="https://redirector.gvt1.com/edgedl/widevine-cdm/4.10.1146.0-win-ia32.zip" hashFunction="sha512" hashValue="d00fb1ce1b7d359ac0f06480d83960fc9aae25f6933e736483c7e27f86ad70a2ca7bfe45027874d1b619d3b72944372d5a7fb124ade4978efdcaeff0cc6c415b" size="3554840" version="4.10.1146.0"/> </addons> </updates> ``` ```XML <?xml version="1.0"?> <updates> <addons> <addon id="gmp-gmpopenh264" URL="http://ciscobinary.openh264.org/openh264-win64-6c2e7008f8bbe2ff90100972f97071eb87ec37cb.zip" hashFunction="sha512" hashValue="ceda21c6d2010dff9716eac11afccf15ff4eecaefc4da57400db77568bc613f41facad5faec2c9416796695909f1cb84e65e00abb57410ad51852268df2b69aa" size="444375" version="1.7.1"/> <addon id="gmp-widevinecdm" URL="https://redirector.gvt1.com/edgedl/widevine-cdm/4.10.1146.0-win-x64.zip" hashFunction="sha512" hashValue="6879b1a718f121eaca93864fa08dc29d5cd5adbdcfc3c3b7dd8cabea768ef4b2cc44b0d43bd04ce2768bea8039faf0a2ebc6d81247101abbe28efda253c89197" size="3523651" version="4.10.1146.0"/> </addons> </updates> ``` People on Linux should find out and post their XML in this issue so they can be hosted.
trav90 commented 2 years ago (Migrated from github.com)
Owner

Current x64 Linux XML file:

<?xml version="1.0"?>
<updates>
    <addons>
        <addon id="gmp-gmpopenh264" URL="http://ciscobinary.openh264.org/openh264-linux64-6c2e7008f8bbe2ff90100972f97071eb87ec37cb.zip" hashFunction="sha512" hashValue="26aff72c3d546e2a759f01c6e7329f32d2ec3993d3b2da937614d792cdc1a20e222e39cb8055bfad1b958081e4ec5209071ee5bdee855c876e32dda56d7d0bee" size="525838" version="1.7.1"/>
        <addon id="gmp-widevinecdm" URL="https://redirector.gvt1.com/edgedl/widevine-cdm/1.4.8.1008-linux-x64.zip" hashFunction="sha512" hashValue="37e037a5e0c320a6a577492050d86b2bbd00239610785b0f07326e6c47b6d1899ac4f6874ad1436982a95a13c11fd73e10e9287d88da0c1036dd6eb36fe91e65" size="2207964" version="1.4.8.1008"/>
    </addons>
</updates>

Linux x86 (in case it’s needed):

<?xml version="1.0"?>
<updates>
    <addons>
        <addon id="gmp-gmpopenh264" URL="http://ciscobinary.openh264.org/openh264-linux32-6c2e7008f8bbe2ff90100972f97071eb87ec37cb.zip" hashFunction="sha512" hashValue="bf567d3b02688863f32d40067eba3f7047029346b5dd744b2a2a6d00b78684e39f6f67c200bdde6334b84714607837f0d248d39bb44e9515e75102507415ac6f" size="525258" version="1.7.1"/>
        <addon id="gmp-widevinecdm" URL="https://redirector.gvt1.com/edgedl/widevine-cdm/1.4.8.1008-linux-ia32.zip" hashFunction="sha512" hashValue="5af0f41dddf3077c2977a775a3009c435569892f7efa2110932424fda3556d6ecee76fbb1e9633e72b72e09a92b0b7fa2ac159e1741b0d4cd94e095b6e121bce" size="2289324" version="1.4.8.1008"/>
    </addons>
</updates>
Current x64 Linux XML file: ```XML <?xml version="1.0"?> <updates> <addons> <addon id="gmp-gmpopenh264" URL="http://ciscobinary.openh264.org/openh264-linux64-6c2e7008f8bbe2ff90100972f97071eb87ec37cb.zip" hashFunction="sha512" hashValue="26aff72c3d546e2a759f01c6e7329f32d2ec3993d3b2da937614d792cdc1a20e222e39cb8055bfad1b958081e4ec5209071ee5bdee855c876e32dda56d7d0bee" size="525838" version="1.7.1"/> <addon id="gmp-widevinecdm" URL="https://redirector.gvt1.com/edgedl/widevine-cdm/1.4.8.1008-linux-x64.zip" hashFunction="sha512" hashValue="37e037a5e0c320a6a577492050d86b2bbd00239610785b0f07326e6c47b6d1899ac4f6874ad1436982a95a13c11fd73e10e9287d88da0c1036dd6eb36fe91e65" size="2207964" version="1.4.8.1008"/> </addons> </updates> ``` Linux x86 (in case it's needed): ```XML <?xml version="1.0"?> <updates> <addons> <addon id="gmp-gmpopenh264" URL="http://ciscobinary.openh264.org/openh264-linux32-6c2e7008f8bbe2ff90100972f97071eb87ec37cb.zip" hashFunction="sha512" hashValue="bf567d3b02688863f32d40067eba3f7047029346b5dd744b2a2a6d00b78684e39f6f67c200bdde6334b84714607837f0d248d39bb44e9515e75102507415ac6f" size="525258" version="1.7.1"/> <addon id="gmp-widevinecdm" URL="https://redirector.gvt1.com/edgedl/widevine-cdm/1.4.8.1008-linux-ia32.zip" hashFunction="sha512" hashValue="5af0f41dddf3077c2977a775a3009c435569892f7efa2110932424fda3556d6ecee76fbb1e9633e72b72e09a92b0b7fa2ac159e1741b0d4cd94e095b6e121bce" size="2289324" version="1.4.8.1008"/> </addons> </updates>
mattatobin commented 2 years ago (Migrated from github.com)
Owner

We need gmp-gmpopenh264 for linux as well.. Just enable extensions.log (logging?) and do find updates on the GMP plugins and the final URL should show in a request in the Error Console.

We need gmp-gmpopenh264 for linux as well.. Just enable extensions.log (logging?) and do find updates on the GMP plugins and the final URL should show in a request in the Error Console.
trav90 commented 2 years ago (Migrated from github.com)
Owner

@mattatobin got it thanks. I’ve updated my earlier comment with the current Linux XML’s.

@mattatobin got it thanks. I've updated my earlier comment with the current Linux XML's.
mattatobin commented 2 years ago (Migrated from github.com)
Owner

Now do it for 60.4 lol

Now do it for 60.4 lol
trav90 commented 2 years ago (Migrated from github.com)
Owner

I’m assuming you mean 64.0? 60.4 is identical to the default 60.0. Here’s the XML’s when using a 64.0 user agent:

x64:

<?xml version="1.0"?>
<updates>
    <addons>
        <addon id="gmp-gmpopenh264" URL="http://ciscobinary.openh264.org/openh264-linux64-6c2e7008f8bbe2ff90100972f97071eb87ec37cb.zip" hashFunction="sha512" hashValue="26aff72c3d546e2a759f01c6e7329f32d2ec3993d3b2da937614d792cdc1a20e222e39cb8055bfad1b958081e4ec5209071ee5bdee855c876e32dda56d7d0bee" size="525838" version="1.7.1"/>
        <addon id="gmp-widevinecdm" URL="https://redirector.gvt1.com/edgedl/widevine-cdm/4.10.1196.0-linux-x64.zip" hashFunction="sha512" hashValue="98fb97ec6c31277a9d56ae120dcdb99e8e13f8b0a06b95a4668a3e868931dff571caea584359ee9fc6a31c84549f3dbabfcb33ba7a610af68e0a554ea13c9c5f" size="3086102" version="4.10.1196.0"/>
    </addons>
</updates>

x86 (if needed):

<?xml version="1.0"?>
<updates>
    <addons>
        <addon id="gmp-gmpopenh264" URL="http://ciscobinary.openh264.org/openh264-linux32-6c2e7008f8bbe2ff90100972f97071eb87ec37cb.zip" hashFunction="sha512" hashValue="bf567d3b02688863f32d40067eba3f7047029346b5dd744b2a2a6d00b78684e39f6f67c200bdde6334b84714607837f0d248d39bb44e9515e75102507415ac6f" size="525258" version="1.7.1"/>
        <addon id="gmp-widevinecdm" URL="https://redirector.gvt1.com/edgedl/widevine-cdm/4.10.1196.0-linux-ia32.zip" hashFunction="sha512" hashValue="08b9644e1449ebb1de300e0ac9a4b45f5fa8a7ea8ecbab88fdf0ad8e713f0891b6285c0740e9e3f510a2a0248b193271f1533252ca4e9fe701445fcf0526dbe0" size="3243268" version="4.10.1196.0"/>
    </addons>
</updates>
I'm assuming you mean 64.0? 60.4 is identical to the default 60.0. Here's the XML's when using a 64.0 user agent: x64: ```XML <?xml version="1.0"?> <updates> <addons> <addon id="gmp-gmpopenh264" URL="http://ciscobinary.openh264.org/openh264-linux64-6c2e7008f8bbe2ff90100972f97071eb87ec37cb.zip" hashFunction="sha512" hashValue="26aff72c3d546e2a759f01c6e7329f32d2ec3993d3b2da937614d792cdc1a20e222e39cb8055bfad1b958081e4ec5209071ee5bdee855c876e32dda56d7d0bee" size="525838" version="1.7.1"/> <addon id="gmp-widevinecdm" URL="https://redirector.gvt1.com/edgedl/widevine-cdm/4.10.1196.0-linux-x64.zip" hashFunction="sha512" hashValue="98fb97ec6c31277a9d56ae120dcdb99e8e13f8b0a06b95a4668a3e868931dff571caea584359ee9fc6a31c84549f3dbabfcb33ba7a610af68e0a554ea13c9c5f" size="3086102" version="4.10.1196.0"/> </addons> </updates> ``` x86 (if needed): ```XML <?xml version="1.0"?> <updates> <addons> <addon id="gmp-gmpopenh264" URL="http://ciscobinary.openh264.org/openh264-linux32-6c2e7008f8bbe2ff90100972f97071eb87ec37cb.zip" hashFunction="sha512" hashValue="bf567d3b02688863f32d40067eba3f7047029346b5dd744b2a2a6d00b78684e39f6f67c200bdde6334b84714607837f0d248d39bb44e9515e75102507415ac6f" size="525258" version="1.7.1"/> <addon id="gmp-widevinecdm" URL="https://redirector.gvt1.com/edgedl/widevine-cdm/4.10.1196.0-linux-ia32.zip" hashFunction="sha512" hashValue="08b9644e1449ebb1de300e0ac9a4b45f5fa8a7ea8ecbab88fdf0ad8e713f0891b6285c0740e9e3f510a2a0248b193271f1533252ca4e9fe701445fcf0526dbe0" size="3243268" version="4.10.1196.0"/> </addons> </updates>
Vangelis66 commented 2 years ago (Migrated from github.com)
Owner

... I believe I humbly have a better approach, straight from within latest FirefoxESR 60.5.0:

Firefox Setup 60.5.0esr.exe!\core\omni.ja!\chrome\toolkit\content\global\gmp-sources\ =>

openh264.json:

{
  "vendors": {
    "gmp-gmpopenh264": {
      "platforms": {
        "WINNT_x86-msvc-x64": {
          "alias": "WINNT_x86-msvc"
        },
        "Android_x86-gcc3": {
          "fileUrl": "http://ciscobinary.openh264.org/openh264-android-x86-0410d336bb748149a4f560eb6108090f078254b1.zip",
          "hashValue": "8ce4d4318aa6ae9ac1376500d5fceecb3df38727aa920efd9f7829c139face4a069cab683d3902e7cdb89daad2a7e928ffba120812ae343f052a833812dad387",
          "filesize": 1640053
        },
        "WINNT_x86-msvc": {
          "fileUrl": "http://ciscobinary.openh264.org/openh264-win32-0410d336bb748149a4f560eb6108090f078254b1.zip",
          "hashValue": "991e01c3b95fa13fac52e0512e1936f1edae42ecbbbcc55447a36915eb3ca8f836546cc780343751691e0188872e5bc56fe3ad5f23f3243e90b96a637561b89e",
          "filesize": 356940
        },
        "WINNT_x86-msvc-x86": {
          "alias": "WINNT_x86-msvc"
        },
        "Linux_x86_64-gcc3": {
          "fileUrl": "http://ciscobinary.openh264.org/openh264-linux64-0410d336bb748149a4f560eb6108090f078254b1.zip",
          "hashValue": "e1086ee6e4fb60a1aa11b5626594b97695533a8e269d776877cebd5cf29088619e2c164e7bd1eba5486f772c943f2efec723f69cc48478ec84a11d7b61ca1865",
          "filesize": 515722
        },
        "Darwin_x86-gcc3-u-i386-x86_64": {
          "fileUrl": "http://ciscobinary.openh264.org/openh264-macosx32-0410d336bb748149a4f560eb6108090f078254b1.zip",
          "hashValue": "64b0e13e6319b7a31ed35a46bea5abcfe6af04ba59a277db07677236cfb685813763731ff6b44b85e03e1489f3b15f8df0128a299a36720531b9f4ba6e1c1f58",
          "filesize": 382435
        },
        "Darwin_x86_64-gcc3": {
          "alias": "Darwin_x86_64-gcc3-u-i386-x86_64"
        },
        "Linux_x86-gcc3": {
          "fileUrl": "http://ciscobinary.openh264.org/openh264-linux32-0410d336bb748149a4f560eb6108090f078254b1.zip",
          "hashValue": "19084f0230218c584715861f4723e072b1af02e26995762f368105f670f60ecb4082531bc4e33065a4675dd1296f6872a6cb101547ef2d19ef3e25e2e16d4dc0",
          "filesize": 515857
        },
        "Darwin_x86_64-gcc3-u-i386-x86_64": {
          "fileUrl": "http://ciscobinary.openh264.org/openh264-macosx64-0410d336bb748149a4f560eb6108090f078254b1.zip",
          "hashValue": "3b52343070a2f75e91b7b0d3bb33935352237c7e1d2fdc6a467d039ffbbda6a72087f9e0a369fe95e6c4c789ff3052f0c134af721d7273db9ba66d077d85b327",
          "filesize": 390308
        },
        "Android_arm-eabi-gcc3": {
          "fileUrl": "http://ciscobinary.openh264.org/openh264-android-arm-0410d336bb748149a4f560eb6108090f078254b1.zip",
          "hashValue": "7a15245c781f32df310ebb88cb8a783512eab934b38ffd889d6420473d40eddbe8a89c17cc60d4e7647c156b04d20030e1ae0081e3f90a0d8f94626ec5f4d817",
          "filesize": 1515895
        },
        "Darwin_x86-gcc3": {
          "alias": "Darwin_x86-gcc3-u-i386-x86_64"
        },
        "WINNT_x86_64-msvc-x64": {
          "alias": "WINNT_x86_64-msvc"
        },
        "WINNT_x86_64-msvc": {
          "fileUrl": "http://ciscobinary.openh264.org/openh264-win64-0410d336bb748149a4f560eb6108090f078254b1.zip",
          "hashValue": "5030b47065e817db5c40bca9c62ac27292bbf636e24698f45dc67f03fa6420b97bd2f792c1cb39df65776c1e7597c70122ac7abf36fb2ad0603734e9e8ec4ef3",
          "filesize": 404355
        }
      },
      "version": "1.6"
    }
  },
  "hashFunction": "sha512",
  "name": "OpenH264-1.6",
  "schema_version": 1000
}

widevinecdm.json =>

{
  "vendors": {
    "gmp-widevinecdm": {
      "platforms": {
        "WINNT_x86-msvc-x64": {
          "alias": "WINNT_x86-msvc"
        },
        "WINNT_x86-msvc": {
          "fileUrl": "https://redirector.gvt1.com/edgedl/widevine-cdm/4.10.1196.0-win-ia32.zip",
          "hashValue": "ab5c1cb0368974c805b2ea931adf3bba2619c8d6b6b29ec7ad7d80a9d051e8943ba839940866761fe8b321b0a84c5157479657a2c26e1c1aef31c0e6719ef9cf",
          "filesize": 3931391
        },
        "WINNT_x86-msvc-x86": {
          "alias": "WINNT_x86-msvc"
        },
        "Linux_x86_64-gcc3": {
          "fileUrl": "https://redirector.gvt1.com/edgedl/widevine-cdm/4.10.1196.0-linux-x64.zip",
          "hashValue": "98fb97ec6c31277a9d56ae120dcdb99e8e13f8b0a06b95a4668a3e868931dff571caea584359ee9fc6a31c84549f3dbabfcb33ba7a610af68e0a554ea13c9c5f",
          "filesize": 3086102
        },
        "Darwin_x86_64-gcc3-u-i386-x86_64": {
          "fileUrl": "https://redirector.gvt1.com/edgedl/widevine-cdm/4.10.1196.0-mac-x64.zip",
          "hashValue": "0a92f9743e151a78ae89d07f4e9c0a6bd5e2192b236a1ac5c1e019e570703f67c68b79f469ed3a94020e114f46dc3774d41b8a1df26a6b3a3bb000094d74a06f",
          "filesize": 3529196
        },
        "Darwin_x86_64-gcc3": {
          "alias": "Darwin_x86_64-gcc3-u-i386-x86_64"
        },
        "Linux_x86-gcc3": {
          "fileUrl": "https://redirector.gvt1.com/edgedl/widevine-cdm/4.10.1196.0-linux-ia32.zip",
          "hashValue": "08b9644e1449ebb1de300e0ac9a4b45f5fa8a7ea8ecbab88fdf0ad8e713f0891b6285c0740e9e3f510a2a0248b193271f1533252ca4e9fe701445fcf0526dbe0",
          "filesize": 3243268
        },
        "WINNT_x86_64-msvc-x64": {
          "alias": "WINNT_x86_64-msvc"
        },
        "WINNT_x86_64-msvc": {
          "fileUrl": "https://redirector.gvt1.com/edgedl/widevine-cdm/4.10.1196.0-win-x64.zip",
          "hashValue": "7e9f36add38c7094d199212975abdf3b48fa98b4c90d1de40531bac0516925144812e81ea94f250a5b729c7b0c7d340cceca194d5796b7b314f9402b02087858",
          "filesize": 3786874
        }
      },
      "version": "4.10.1196.0"
    }
  },
  "hashFunction": "sha512",
  "name": "Widevine-4.10.1196.0",
  "schema_version": 1000
}

Links and hashes for the very latest versions of both GMPs, for all supported OSes!

Addendum: On-line source for the same GMP.json files:
https://searchfox.org/mozilla-central/source/toolkit/content/gmp-sources

... I believe I humbly have a better approach, straight from within latest **FirefoxESR 60.5.0**: `Firefox Setup 60.5.0esr.exe!\core\omni.ja!\chrome\toolkit\content\global\gmp-sources\` => openh264.json: ```json { "vendors": { "gmp-gmpopenh264": { "platforms": { "WINNT_x86-msvc-x64": { "alias": "WINNT_x86-msvc" }, "Android_x86-gcc3": { "fileUrl": "http://ciscobinary.openh264.org/openh264-android-x86-0410d336bb748149a4f560eb6108090f078254b1.zip", "hashValue": "8ce4d4318aa6ae9ac1376500d5fceecb3df38727aa920efd9f7829c139face4a069cab683d3902e7cdb89daad2a7e928ffba120812ae343f052a833812dad387", "filesize": 1640053 }, "WINNT_x86-msvc": { "fileUrl": "http://ciscobinary.openh264.org/openh264-win32-0410d336bb748149a4f560eb6108090f078254b1.zip", "hashValue": "991e01c3b95fa13fac52e0512e1936f1edae42ecbbbcc55447a36915eb3ca8f836546cc780343751691e0188872e5bc56fe3ad5f23f3243e90b96a637561b89e", "filesize": 356940 }, "WINNT_x86-msvc-x86": { "alias": "WINNT_x86-msvc" }, "Linux_x86_64-gcc3": { "fileUrl": "http://ciscobinary.openh264.org/openh264-linux64-0410d336bb748149a4f560eb6108090f078254b1.zip", "hashValue": "e1086ee6e4fb60a1aa11b5626594b97695533a8e269d776877cebd5cf29088619e2c164e7bd1eba5486f772c943f2efec723f69cc48478ec84a11d7b61ca1865", "filesize": 515722 }, "Darwin_x86-gcc3-u-i386-x86_64": { "fileUrl": "http://ciscobinary.openh264.org/openh264-macosx32-0410d336bb748149a4f560eb6108090f078254b1.zip", "hashValue": "64b0e13e6319b7a31ed35a46bea5abcfe6af04ba59a277db07677236cfb685813763731ff6b44b85e03e1489f3b15f8df0128a299a36720531b9f4ba6e1c1f58", "filesize": 382435 }, "Darwin_x86_64-gcc3": { "alias": "Darwin_x86_64-gcc3-u-i386-x86_64" }, "Linux_x86-gcc3": { "fileUrl": "http://ciscobinary.openh264.org/openh264-linux32-0410d336bb748149a4f560eb6108090f078254b1.zip", "hashValue": "19084f0230218c584715861f4723e072b1af02e26995762f368105f670f60ecb4082531bc4e33065a4675dd1296f6872a6cb101547ef2d19ef3e25e2e16d4dc0", "filesize": 515857 }, "Darwin_x86_64-gcc3-u-i386-x86_64": { "fileUrl": "http://ciscobinary.openh264.org/openh264-macosx64-0410d336bb748149a4f560eb6108090f078254b1.zip", "hashValue": "3b52343070a2f75e91b7b0d3bb33935352237c7e1d2fdc6a467d039ffbbda6a72087f9e0a369fe95e6c4c789ff3052f0c134af721d7273db9ba66d077d85b327", "filesize": 390308 }, "Android_arm-eabi-gcc3": { "fileUrl": "http://ciscobinary.openh264.org/openh264-android-arm-0410d336bb748149a4f560eb6108090f078254b1.zip", "hashValue": "7a15245c781f32df310ebb88cb8a783512eab934b38ffd889d6420473d40eddbe8a89c17cc60d4e7647c156b04d20030e1ae0081e3f90a0d8f94626ec5f4d817", "filesize": 1515895 }, "Darwin_x86-gcc3": { "alias": "Darwin_x86-gcc3-u-i386-x86_64" }, "WINNT_x86_64-msvc-x64": { "alias": "WINNT_x86_64-msvc" }, "WINNT_x86_64-msvc": { "fileUrl": "http://ciscobinary.openh264.org/openh264-win64-0410d336bb748149a4f560eb6108090f078254b1.zip", "hashValue": "5030b47065e817db5c40bca9c62ac27292bbf636e24698f45dc67f03fa6420b97bd2f792c1cb39df65776c1e7597c70122ac7abf36fb2ad0603734e9e8ec4ef3", "filesize": 404355 } }, "version": "1.6" } }, "hashFunction": "sha512", "name": "OpenH264-1.6", "schema_version": 1000 } ``` widevinecdm.json => ```json { "vendors": { "gmp-widevinecdm": { "platforms": { "WINNT_x86-msvc-x64": { "alias": "WINNT_x86-msvc" }, "WINNT_x86-msvc": { "fileUrl": "https://redirector.gvt1.com/edgedl/widevine-cdm/4.10.1196.0-win-ia32.zip", "hashValue": "ab5c1cb0368974c805b2ea931adf3bba2619c8d6b6b29ec7ad7d80a9d051e8943ba839940866761fe8b321b0a84c5157479657a2c26e1c1aef31c0e6719ef9cf", "filesize": 3931391 }, "WINNT_x86-msvc-x86": { "alias": "WINNT_x86-msvc" }, "Linux_x86_64-gcc3": { "fileUrl": "https://redirector.gvt1.com/edgedl/widevine-cdm/4.10.1196.0-linux-x64.zip", "hashValue": "98fb97ec6c31277a9d56ae120dcdb99e8e13f8b0a06b95a4668a3e868931dff571caea584359ee9fc6a31c84549f3dbabfcb33ba7a610af68e0a554ea13c9c5f", "filesize": 3086102 }, "Darwin_x86_64-gcc3-u-i386-x86_64": { "fileUrl": "https://redirector.gvt1.com/edgedl/widevine-cdm/4.10.1196.0-mac-x64.zip", "hashValue": "0a92f9743e151a78ae89d07f4e9c0a6bd5e2192b236a1ac5c1e019e570703f67c68b79f469ed3a94020e114f46dc3774d41b8a1df26a6b3a3bb000094d74a06f", "filesize": 3529196 }, "Darwin_x86_64-gcc3": { "alias": "Darwin_x86_64-gcc3-u-i386-x86_64" }, "Linux_x86-gcc3": { "fileUrl": "https://redirector.gvt1.com/edgedl/widevine-cdm/4.10.1196.0-linux-ia32.zip", "hashValue": "08b9644e1449ebb1de300e0ac9a4b45f5fa8a7ea8ecbab88fdf0ad8e713f0891b6285c0740e9e3f510a2a0248b193271f1533252ca4e9fe701445fcf0526dbe0", "filesize": 3243268 }, "WINNT_x86_64-msvc-x64": { "alias": "WINNT_x86_64-msvc" }, "WINNT_x86_64-msvc": { "fileUrl": "https://redirector.gvt1.com/edgedl/widevine-cdm/4.10.1196.0-win-x64.zip", "hashValue": "7e9f36add38c7094d199212975abdf3b48fa98b4c90d1de40531bac0516925144812e81ea94f250a5b729c7b0c7d340cceca194d5796b7b314f9402b02087858", "filesize": 3786874 } }, "version": "4.10.1196.0" } }, "hashFunction": "sha512", "name": "Widevine-4.10.1196.0", "schema_version": 1000 } ``` _**Links**_ and _**hashes**_ for the **very latest** versions of both GMPs, for **all** supported OSes! **Addendum**: On-line source for the same GMP.json files: https://searchfox.org/mozilla-central/source/toolkit/content/gmp-sources
trav90 commented 2 years ago (Migrated from github.com)
Owner

Thanks @Vangelis66 but the openh264 is actually an older version (I already checked).

Thanks @Vangelis66 but the openh264 is actually an older version (I already checked).
mattatobin commented 2 years ago (Migrated from github.com)
Owner

Yeah well we don’t have a way to consume a preloaded json or json from aus.. We need the xml form.

Yeah well we don't have a way to consume a preloaded json or json from aus.. We need the xml form.
Vangelis66 commented 2 years ago (Migrated from github.com)
Owner

@trav90 : Well, consider this another Mozilla c*ck-up, as even the file openh264.json inside their latest stable 65.0 release points to v1.6 of openh264 (and not to v1.7.1)

@mattatobin : Of course, you’re correct, but the XML file template is the same (as the ones already posted), and, at least for the latest WidevineCDM, valid XML files can be constructed from the values found inside widevinecdm.json...

Regards

@trav90 : Well, consider this another Mozilla c*ck-up, as even the file **openh264.json** inside their latest stable **65.0** release points to v**1.6** of openh264 (and not to v**1.7.1**) @mattatobin : Of course, you're correct, but the XML file template is the same (as the ones already posted), and, at least for the latest WidevineCDM, valid XML files can be constructed from the values found inside **widevinecdm.json**... Regards
wolfbeast commented 2 years ago (Migrated from github.com)
Owner

We can move this forward short term if we stick to using:
https://redirector.gvt1.com/edgedl/widevine-cdm/1.4.8.1008-{architecture}.zip
The versions after #962 has been resolved can switch to
https://redirector.gvt1.com/edgedl/widevine-cdm/4.10.{build}.0-{architexture}.zip
Using a simple PHP script to serve the appropriate version based on URL seems to be simplest.

Hashes can be generated from the actual zip files after downloading. We are just not allowed to distribute the CDM modules ourselves.

We can move this forward short term if we stick to using: `https://redirector.gvt1.com/edgedl/widevine-cdm/1.4.8.1008-{architecture}.zip` The versions after #962 has been resolved can switch to `https://redirector.gvt1.com/edgedl/widevine-cdm/4.10.{build}.0-{architexture}.zip` Using a simple PHP script to serve the appropriate version based on URL seems to be simplest. Hashes can be generated from the actual zip files after downloading. We are just not allowed to distribute the CDM modules ourselves.
wolfbeast commented 2 years ago (Migrated from github.com)
Owner

Looks like 1.4.8.1008 no longer works on new installations because Google is no longer giving out content license keys for that version -- so a previously installed version that already got a license for it through prior use will still work, but a new license request isn’t honored.

We should probably hold off on this and keep using Mozilla infra until we can get 1.4.9 and/or 4.10 working.

Looks like 1.4.8.1008 no longer works on new installations because Google is no longer giving out content license keys for that version -- so a previously installed version that already got a license for it through prior use will still work, but a new license request isn't honored. We should probably hold off on this and keep using Mozilla infra until we can get 1.4.9 and/or 4.10 working.
mattatobin commented 1 year ago (Migrated from github.com)
Owner

Blocks #1320

Blocks #1320
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.