Skip to content

Commit

Permalink
修复TV虎牙播放失败 #557
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaoyaocz committed Nov 29, 2024
1 parent d424f83 commit 4eb1846
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions assets/tv_app_version.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"version": "1.2.0",
"version_num": 10200,
"version_desc": "- 修复虎牙一起看播放中断 #543",
"version": "1.2.1",
"version_num": 10201,
"version_desc": "- 修复虎牙播放失败 #557",
"prerelease":true,
"download_url": "https://github.com/xiaoyaocz/dart_simple_live/releases"
}
Original file line number Diff line number Diff line change
Expand Up @@ -241,9 +241,9 @@ class LiveRoomController extends PlayerController with WidgetsBindingObserver {
};
} else if (site.id == Constant.kHuya) {
headers = {
"referer": "https://www.huya.com",
"referer": "https://m.huya.com",
"user-agent":
"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36 Edg/121.0.0.0"
"Mozilla/5.0 (iPhone; CPU iPhone OS 16_6 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.6 Mobile/15E148 Safari/604.1 Edg/130.0.0.0"
};
}

Expand Down
2 changes: 1 addition & 1 deletion simple_live_tv_app/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: simple_live_tv_app
description: A new Flutter project.
publish_to: 'none'
version: 1.2.0+10200
version: 1.2.1+10201

environment:
sdk: '>=3.1.2 <4.0.0'
Expand Down

0 comments on commit 4eb1846

Please sign in to comment.