Skip to content

Commit 7056c17

Browse files
author
Taois
committed
fix:IJK和exo完美适配
1 parent 8754e64 commit 7056c17

4 files changed

Lines changed: 198 additions & 87 deletions

File tree

mediaProxy/README.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -167,8 +167,11 @@ curl "http://localhost:57574/?form=base64&url=$URL_B64&headers=$HEADER_B64&auth=
167167

168168
### 5. 自定义分片大小
169169
```bash
170-
# 设置每个分片为256KB
170+
# 设置每个分片为256KB(带单位)
171171
curl "http://localhost:57574/?url=https://example.com/file.zip&size=256K&auth=drpys"
172+
173+
# 设置每个分片为512KB(纯数字默认单位为KB)
174+
curl "http://localhost:57574/?url=https://example.com/file.zip&size=512&auth=drpys"
172175
```
173176

174177
## 项目架构
@@ -232,10 +235,10 @@ headers和url可进行base64编码,以避免sni阻断
232235
</thead>
233236
<tbody>
234237
<tr>
235-
<td style="text-align:center;">size</td>
238+
<td style="text-align:center;">size/chunkSize</td>
236239
<td style="text-align:center;">可选</td>
237-
<td style="text-align:center;">单线程下载数据大小,可动态调节</td>
238-
<td style="text-align:center;">128K,线程数小于4时,为 2048/线程数 K</td>
240+
<td style="text-align:center;">单次分片下载数据大小。<br>支持单位(K/M/B),纯数字默认单位为KB。<br>系统限制:最小32KB,最大10MB。</td>
241+
<td style="text-align:center;">128KB</td>
239242
</tr>
240243
<tr>
241244
<td style="text-align:center;">thread</td>

mediaProxy/custom_spider.jar

2.76 KB
Binary file not shown.

mediaProxy/custom_spider.jar.md5

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
4ac3e305d164a75e5af3e634268afc1f
1+
198c66eaf2db6ed7a38ab13f9a4e6c70

0 commit comments

Comments
 (0)