Repository: yt-dlp
Issue: orf.on/tvthek - Livestreams
Labels: site-enhancement,solved-upstream

### DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

- [X] I understand that I will be **blocked** if I *intentionally* remove or skip any mandatory\* field

### Checklist

- [X] I'm requesting a site-specific feature
- [X] I've verified that I have **updated yt-dlp to nightly or master** ([update instructions](https://github.com/yt-dlp/yt-dlp#update-channels))
- [X] I've checked that all provided URLs are playable in a browser with the same IP and same login details
- [X] I've searched [known issues](https://github.com/yt-dlp/yt-dlp/issues/3766) and the [bugtracker](https://github.com/yt-dlp/yt-dlp/issues?q=) for similar issues **including closed ones**. DO NOT post duplicates
- [X] I've read the [guidelines for opening an issue](https://github.com/yt-dlp/yt-dlp/blob/master/CONTRIBUTING.md#opening-an-issue)
- [X] I've read about [sharing account credentials](https://github.com/yt-dlp/yt-dlp/blob/master/CONTRIBUTING.md#are-you-willing-to-share-account-details-if-needed) and I'm willing to share it if required

### Region

Austria

### Example URLs

https://on.orf.at/livestream/14319441/eishockey-wm-semifinale-kanada-schweiz (offline already, listed for the URL-format)
https://on.orf.at/livestream/14320204/pressekonferenz-neos-zu-aktuellen-entwicklungen

If livestreams are online, they are usually listed here with a red dot next to their title for live streams, or gray for future streams:
https://on.orf.at/sammlung/13870213/exklusiv-in-voller-laenge-nur-im-streaming-auf-orf-on
https://on.orf.at/sammlung/13869249/sport-highlights
These streams might be regionlocked.


### Provide a description that is worded well enough to be understood

yt-dlp supported livestreams from tvthek.orf.at, and it was possible to watch these livestreams in an external mediaplayer like mpc-hc instead of a browser.
Now that ORF relaunched tvthek as orf.on, yt-dlp is missing support for livestreams. Manually extracting the mpd/m3u8 and playing them with mpc-hc still works after the relaunch.
Not to be confused with "ORF Live", which are 24/7 livestreams of their tv-channels.

Video-URL: `https://on.orf.at/livestream/14319441/eishockey-wm-semifinale-kanada-schweiz` (example)
HTML:  [on.orf.at_livestream_14319441_eishockey-wm-semifinale-kanada-schweiz.zip](https://github.com/yt-dlp/yt-dlp/files/15469830/on.orf.at_livestream_14319441_eishockey-wm-semifinale-kanada-schweiz.zip)
JSON-URL: `https://api-tvthek.orf.at/api/v4.3/public/livestream/encrypted/`{encrypted_id}
Prefix for encrypted_id: `8876324jshjd7293ktd`
This was the JSON for the stream:
[on.orf.at_livestream_14319441_eishockey-wm-semifinale-kanada-schweiz.json](https://github.com/yt-dlp/yt-dlp/files/15466405/on.orf.at_livestream_14319441_eishockey-wm-semifinale-kanada-schweiz.json)

No idea if there are any differences compared to normal on.orf.at streams or past tvthek-livestreams, with regard to downloading, subtitles etc.

### Provide verbose output that clearly demonstrates the problem

- [X] Run **your** yt-dlp command with **-vU** flag added (`yt-dlp -vU <your command line>`)
- [ ] If using API, add `'verbose': True` to `YoutubeDL` params instead
- [X] Copy the WHOLE output (starting with `[debug] Command-line config`) and insert it below

### Complete Verbose Output

```shell
[debug] Command-line config: ['-vUF', 'https://on.orf.at/livestream/14320204/pressekonferenz-neos-zu-aktuellen-entwicklungen']
[debug] Encodings: locale cp1252, fs utf-8, pref cp1252, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version nightly@2024.05.27.232744 from yt-dlp/yt-dlp-nightly-builds [111b61dde] (win_exe)
[debug] Python 3.8.10 (CPython AMD64 64bit) - Windows-10-10.0.19044-SP0 (OpenSSL 1.1.1k  25 Mar 2021)
[debug] exe versions: none
[debug] Optional libraries: Cryptodome-3.20.0, brotli-1.1.0, certifi-2024.02.02, curl_cffi-0.5.10, mutagen-1.47.0, requests-2.32.2, sqlite3-3.35.5, urllib3-2.2.1, websockets-12.0
[debug] Proxy map: {}
[debug] Request Handlers: urllib, requests, websockets, curl_cffi
[debug] Loaded 1820 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp-nightly-builds/releases/latest
Latest version: nightly@2024.05.27.232744 from yt-dlp/yt-dlp-nightly-builds
yt-dlp is up to date (nightly@2024.05.27.232744 from yt-dlp/yt-dlp-nightly-builds)
[generic] Extracting URL: https://on.orf.at/livestream/14320204/pressekonferenz-neos-zu-aktuellen-entwicklungen
[generic] pressekonferenz-neos-zu-aktuellen-entwicklungen: Downloading webpage
WARNING: [generic] Falling back on generic information extractor
[generic] pressekonferenz-neos-zu-aktuellen-entwicklungen: Extracting information
[debug] Looking for embeds
ERROR: Unsupported URL: https://on.orf.at/livestream/14320204/pressekonferenz-neos-zu-aktuellen-entwicklungen
Traceback (most recent call last):
  File "yt_dlp\YoutubeDL.py", line 1606, in wrapper
  File "yt_dlp\YoutubeDL.py", line 1741, in __extract_info
  File "yt_dlp\extractor\common.py", line 734, in extract
  File "yt_dlp\extractor\generic.py", line 2514, in _real_extract
yt_dlp.utils.UnsupportedError: Unsupported URL: https://on.orf.at/livestream/14320204/pressekonferenz-neos-zu-aktuellen-entwicklungen
```