'user_name' in Get Stream response sometimes cannot be used as 'channel' to play in the embedded player

I noticed this live stream today has a user_name “Riot Games”. When I use it as ‘channel’ in the embedded player, it wouldn’t play. “RiotGames” without the space works. Maybe this specific case is a bug? Or we should reference something else as the ‘channel’. Please advise. Thanks.
{
“id”: “38366429088”,
“user_id”: “36029255”,
“user_name”: “Riot Games”,
“game_id”: “21779”,
“type”: “live”,
“title”: “Mid-Season Streamathon: LPL vs LCK Mid-Season Cup Semifinals”,
“viewer_count”: 43920,
“started_at”: “2020-05-29T23:02:15Z”,
“language”: “en”,
“thumbnail_url”: “https://static-cdn.jtvnw.net/previews-ttv/live_user_riotgames-{width}x{height}.jpg”,
“tag_ids”: [
“36a89a80-4fcd-4b74-b3d2-2c6fd9b30c95”,
“6ea6bca4-4712-4ab9-a906-e3336a9d8039”
]
},

(p.s. as a temporary workaround, I’m skipping all the spaces)

1 Like

Thanks Barry -

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.