go-olive / olive

Live Stream Recorder 直播录制/录播
https://go-olive.github.io
Apache License 2.0
854 stars 84 forks source link

fix a replay source bug #174

Closed wangbjun closed 9 months ago

wangbjun commented 9 months ago

https://github.com/go-olive/olive/blob/edd387ba6125a5b8f490f4bc1037e9ee7f6d6dd5/foundation/olivetv/huya.go#L71C1-L72C1

虎牙的直播源加密方式经常变,找了很多发现只有这个库是可以用的,借鉴了一下,作者辛苦了,不过这块代码有一点点小问题,这个u是未decode的字符串,当是直播间是重放的时候,应该用decodedURL拼接地址。

luxcgo commented 9 months ago

能提供个测试的 url 吗? 重放的有点难找。 或者你确定的话直接提 pr 也可以。

wangbjun commented 9 months ago

你试试这2个直播间,重播的时候都有问题发自我的 iPhone在 2024年1月9日,10:46,luxcgo @.***> 写道: 能提供个测试的 url 吗? 重放的有点难找。 或者你确定的话直接提 pr 也可以。

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

luxcgo commented 9 months ago

哪两个?没发出来吧。

On Wed, Jan 10, 2024 at 9:42 AM wangbenjun @.***> wrote:

你试试这2个直播间,重播的时候都有问题发自我的 iPhone在 2024年1月9日,10:46,luxcgo @.***> 写道: 能提供个测试的 url 吗? 重放的有点难找。 或者你确定的话直接提 pr 也可以。

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

— Reply to this email directly, view it on GitHub https://github.com/go-olive/olive/issues/174#issuecomment-1884057596, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARRSMF4UZHP2GGWS5OX54H3YNXWWXAVCNFSM6AAAAABBRQ7EAOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOBUGA2TONJZGY . You are receiving this because you commented.Message ID: @.***>

wangbjun commented 9 months ago

不好意思,图片没发出去,我重新贴一下 d3a0e9177ca842573b8562e9a07abdf

你可以试试虎牙直播间991111、uzi等正在重播的直播间,都是没有获取成功