Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Live stream URLS not working anymore #21

Closed
pietje666 opened this issue Jun 5, 2018 · 18 comments
Closed

Live stream URLS not working anymore #21

pietje666 opened this issue Jun 5, 2018 · 18 comments
Labels
enhancement New feature or request

Comments

@pietje666
Copy link
Collaborator

pietje666 commented Jun 5, 2018

Since few days live url streams are not working anymore. Apparently due to DRM

(changed title and content since, everyone is talking about the live streams. While actually that is a seperate issue not related to the original)

@pietje666 pietje666 added enhancement New feature or request help wanted Extra attention is needed labels Jun 5, 2018
@berntholer
Copy link

First of all thanks for the plugin, it was great ... while it worked.

I pulled v1.1.2 yesterday and noticed that VRT's livestreams are not working either. If there is anything I can do to help out let me know.

Are you sure you need to perform a login to get a valid token? I tried watching the livestream from Sporza's website without being logged in to a vrt.nu account and that seemed to work.

@dagwieers
Copy link
Collaborator

I was told by a VRT spokesperson that in order to stream the FIFA Worldcup in 720p they had to encrypt the stream, which means it can only be played using specific browsers that supported DRM.

Dan hebben wij goed nieuws voor u: de kwaliteit van onze livestreaming zal verhogen van SD naar HD, dus naar 720p. Maar door de regelgeving van FIFA zullen we dan wel DRM moeten toepassen, dit zal tot gevolg hebben dat bepaalde browsers een foutmelding zullen geven. Hieronder volgt een overzicht van wat er mogelijk fout kan gaan bij bepaalde toestellen en wat de mogelijke oplossingen zijn.

  • Apple – iphone/ipad:
    • Google Chromebrowser werkt niet
    • Firefox browser werkt niet
    • Oplossing:
      • Safari browser gebruiken
      • Airplay werkt ook
  • Samsung – smartphones:
    • Samsungbrowser werkt niet
    • Oplossing:
      • Google Chrome browser gebruiken
  • IE 11:
    • VRT laptops werken niet
    • Potentieel andere “bedrijfslaptops” ook niet
    • Normale laptops werken wel.
    • Oplossing:
      • Google Chrome browser gebruiken
  • De browser binnen de Facebook app:
    • Als je VRT NU opent binnen de facebook app werkt het niet.
    • Oplossing:
      • Op Apple: surf via Safari browser naar VRT NU
      • Op Android: surf via Google Chrome browser naar VRT NU
  • Chromecasten naar TV:
    • Chromecast werkt niet met DRM
    • Oplossing:
      • Laptop via HDMI kabel verbinden met de TV of Airplay indien je een apple TV hebt.
  • Platformen die we standaard niet ondersteunen zoals smart TV’s of Kodi plugins: gedrag is onbekend maar zal waarschijnlijk niet werken.

@michaelarnauts
Copy link
Contributor

I just tried casting to my Chromecast (2nd revision, and that seamed to work fine), so maybe DRM is supported just fine.

@rafvanopdorp
Copy link

rafvanopdorp commented Jun 15, 2018

I don't know if this is helpful but i watched the live stream tonight using the hls_aes stream i found here:

https://media-services-public.vrt.be/vualto-video-aggregator-web/rest/external/v1/videos/vualto_een_geo?vrtPlayerToken=b0@1346d33a1524c4cab1fc141b7303e6169b0a04bfcb6becaa957949ded582725f&client=vrtvideo

{
  "duration": 0,
  "skinType": "live",
  "title": "EEN_GEO",
  "shortDescription": null,
  "drm": "vrt|2018-06-15T22:59:03Z|JQ+5wYy/Tp9XH+ZTKSAoNEVid6kPznYl6noAaJxgq6G2oJlDx4Dt7hA1ctuYQDKyStOdCAcQC25FGtwJvqGNSfXFTpnehDBIGrIF+8os0vymX7tM4pR10v/3BYBTTenNSxm+jsgmbxsoFee3/B26guvbGkXFJjaKuE4ghiIGCAlobStTWYsDYiHuArUpx/Cm|1b6f7e08f445865f2c788e8a6866d79423405a82",
  "drmExpired": "2018-06-15T23:59:03.060Z",
  "aspectRatio": null,
  "targetUrls": [
    {
      "type": "mpeg_dash",
      "url": "https://live-vrt.akamaized.net/groupc/live/8edf3bdf-7db3-41c3-a318-72cb7f82de66/live.isml/.mpd"
    },
    {
      "type": "hls",
      "url": "https://live-vrt.akamaized.net/groupc/live/8edf3bdf-7db3-41c3-a318-72cb7f82de66/live.isml/.m3u8"
    },
    {
      "type": "hls_aes",
      "url": "https://live-vrt.akamaized.net/groupc/live/8edf3bdf-7db3-41c3-a318-72cb7f82de66/live_aes.isml/.m3u8"
    }
  ],
  "posterImageUrl": null,
  "channelId": "vualto_een_geo",
  "playlist": {
    "content": []
  },
  "chaptering": {
    "content": []
  }
}

I created a .strm file & was able to stream using kodi on a raspberry pi.

@rafvanopdorp
Copy link

rafvanopdorp commented Jun 15, 2018

This returns a valid token:

curl -X POST https://media-services-public.vrt.be/vualto-video-aggregator-web/rest/external/v1/tokens --header "Content-Type:application/json"

@pietje666 pietje666 changed the title Use new VRT Media Services Live stream URLS not working anymore Jun 16, 2018
@pietje666
Copy link
Collaborator Author

Changed the title, since this issue was actually about using the new media services (not about the livestreams). If it is DRM related like @dagwieers said then i am not sure if i can solve it. Anyway thanks all for responding i will try to solve the issue

@basrieter
Copy link

So if there is a list of live url's we can just use that? I used to use https://services.vrt.be/videoplayer/r/live.json to find all the live streams, but they are no longer valid.

@rafvanopdorp
Copy link

I was able to get working stream URL's using the following procedure:

Request a token

curl -X POST https://media-services-public.vrt.be/vualto-video-aggregator-web/rest/external/v1/tokens --header "Content-Type:application/json"

Get the streams

You can get the streams by making requests to the following links using the token.

Canvas

Een

Ketnet

The tokens expire but i'm still getting the same stream URL i used to watch "Een" yesterday.

@pietje666
Copy link
Collaborator Author

Excellent! Will implement it like this tomorrow!

@dagwieers
Copy link
Collaborator

Are these streams 540p or 720p ? Also for the world cup streams ? (Can't test right now)

@basrieter
Copy link

Anyone that could find the Sporza streams?

@peno64
Copy link

peno64 commented Jun 17, 2018

For sporza, I tried:

https://media-services-public.vrt.be/vualto-video-aggregator-web/rest/external/v1/videos/vualto_sporza_geo?vrtPlayerToken=b0@1ee0bc110eded7a0fba69c678fe39e6001c372aa29800ad5d618b2e253ec6413&client=vrtvideo

This gives:

{"duration":0,"skinType":"live","title":"","shortDescription":null,"drm":"vrt|2018-06-17T16:21:32Z|wpEiUuhDIPmGB4hf++tasPXQnlxxquRyxVjWztpq937TKp6uxHlNVcDKnRcN5OkcGSjoxFLT5YmAStABzfi+mhmn1wvqMHmefwTqq9W+IkKMYKFziEcfARj11ndZiIQaSxm+jsgmbxsoFee3/B26guvbGkXFJjaKuE4ghiIGCAlobStTWYsDYiHuArUpx/Cm|957336a14795b9e38fa31261464ad845c496e878","drmExpired":"2018-06-17T17:21:32.266Z","aspectRatio":null,"targetUrls":[{"type":"mpeg_dash","url":"https://live-vrt.akamaized.net/groupa/live/7d5f0e4a-3429-4861-91d4-aa3229d7ad7b/live.isml/.mpd"},{"type":"hls","url":"https://live-vrt.akamaized.net/groupa/live/7d5f0e4a-3429-4861-91d4-aa3229d7ad7b/live.isml/.m3u8"},{"type":"hls_aes","url":"https://live-vrt.akamaized.net/groupa/live/7d5f0e4a-3429-4861-91d4-aa3229d7ad7b/live_aes.isml/.m3u8"}],"posterImageUrl":null,"channelId":"vualto_sporza_geo","playlist":{"content":[]},"chaptering":{"content":[]}}

Is this usefull?

@basrieter
Copy link

I think so!

@pietje666
Copy link
Collaborator Author

@dagwieers its 540p

@pietje666
Copy link
Collaborator Author

pietje666 commented Jun 17, 2018

Fixed in commit 0118de9. Thanks all for helping!

@dagwieers
Copy link
Collaborator

This change is working great !

So the 720p stream with DRM mentioned seems to be the stream through the online VRT.NU player only ?

@pietje666
Copy link
Collaborator Author

Guess so, the others gave 404 errors. Lets hope this one sticks around

@pietje666
Copy link
Collaborator Author

Btw if anyone knows how to get a token from https://media-services-public.vrt.be/vualto-video-aggregator-web/rest/external/v1/tokens containing a token starting with "b1" i can solve issue #22 as well!
Maybe you @rafvanopdorp ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

7 participants