gpt4 book ai didi

http-live-streaming - 使用 Stream/RAF Tester 调试 Roku 技巧模式

转载 作者:行者123 更新时间:2023-12-04 15:05:44 25 4
gpt4 key购买 nike

我正尝试在 Roku 上为我们的 VoD 实现技巧模式。我在这里遵循了他们的 HLS 指南: https://developer.roku.com/en-gb/docs/developer-program/media-playback/trick-mode/hls-and-dash.md

我看到我的播放列表使用 EXT-X-IMAGE-STREAM-IN 更新:

#EXTM3U
#EXT-X-VERSION:7
#EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID="audio_0",NAME="main",DEFAULT=YES,AUTOSELECT=YES,URI="a/3000/chunklist_audio_1611173953675_1611174576175.m3u8"
#EXT-X-STREAM-INF:BANDWIDTH=3000000,CODECS="avc1.640020,mp4a.40.2",RESOLUTION=1280x720,AUDIO="audio_0"
a/3000/chunklist_1611173953675_1611174576175.m3u8
#EXT-X-IMAGE-STREAM-INF:BANDWIDTH=311040,RESOLUTION=480x270,CODECS="jpeg",URI="media_playlists/media_playlist_480x270_1611173953675_1611174576175.m3u8"

如您所见,播放列表指向 media_playlists/media_playlist_480x270_1611173953675_1611174576175.m3u8,其中包含以下内容:

#EXTM3U
#EXT-X-TARGETDURATION:1000
#EXT-X-VERSION:7
#EXT-X-MEDIA-SEQUENCE:1
#EXT-X-PLAYLIST-TYPE:VOD
#EXT-X-IMAGES-ONLY
#EXTINF:1000.000
#EXT-X-TILES:RESOLUTION=480x270,LAYOUT=10x10,DURATION=10.000
../images/tiles_480x270_1611173953675_1611174576175_0001.jpg
#EXT-X-ENDLIST

而且我已经确认图像存在于上面指向的位置。

我很困惑,因为我对 Stream/RAF 测试器工具发出的请求没有任何可见性,所以我不知道哪个请求可能会失败。

当我在测试 channel 上播放视频时,效果很好,所以我知道 HLS 正在按预期工作。但是,当我在播放视频时尝试搜索时,缩略图不显示并且进度条停留在起始位置。

任何建议将不胜感激 - 特别是如果有一种方法可以从流/raf 测试工具中查看日志记录!

最佳答案

您好,我遇到了与 DASH 类似的问题,它的行为与您描述的类似,洗涤器位置为 0。

我不知道为什么你的擦洗不起作用。就

Any advice would be greatly appreciated - especially if there is a way to see logging from the stream/raf testing tool!

一种方法是在测试 channel 和发布视频流的远程端点之间添加代理服务器。我在 GO 中写了一个简单的代理。这是代码 https://play.golang.org/p/-EA8bVt75cG我在我的示例代码中将服务器本地部署在 localhost:8998 上。然后在流测试器请求中将您的主机:端口替换为本地主机:8998。代理会将来自 Roku 播放器的请求转发到流发布主机并记录所有详细信息。

现在我可以看到所有特技播放请求/响应。

2021/02/15 19:44:46 RquestUri /live/dev/trickplay/trickplay/1613433254/thumbnails-1727.jpeg
2021/02/15 19:44:46 New RquestUri http://myhost.com:80/live/dev/trickplay/trickplay/1613433254/thumbnails-1727.jpeg
Header field "User-Agent", Value ["Roku/DVP-9.40 (509.40E04200A)"]
Header field "Accept", Value ["*/*"]
2021/02/15 19:44:46 10.0.0.15:50536 200 OK
2021/02/15 19:44:46 Remote Address 10.0.0.15:50521
2021/02/15 19:44:46 RquestUri /live/dev/trickplay/trickplay/1613433254_video_288p-30fps-350k/video_1865.ts
2021/02/15 19:44:46 New RquestUri http://myhost.com:80/live/dev/trickplay/trickplay/1613433254_video_288p-30fps-350k/video_1865.ts
Header field "User-Agent", Value ["Roku/DVP-9.40 (509.40E04200A)"]
Header field "Accept", Value ["*/*"]
2021/02/15 19:44:46 10.0.0.15:50521 200 OK
2021/02/15 19:44:46 Remote Address 10.0.0.15:50523
2021/02/15 19:44:46 RquestUri /live/dev/trickplay/trickplay/1613433254_video_288p-30fps-350k/video_1866.ts
2021/02/15 19:44:46 New RquestUri http://myhost.com:80/live/dev/trickplay/trickplay/1613433254_video_288p-30fps-350k/video_1866.ts
Header field "User-Agent", Value ["Roku/DVP-9.40 (509.40E04200A)"]
Header field "Accept", Value ["*/*"]
2021/02/15 19:44:46 Remote Address 10.0.0.15:50537
2021/02/15 19:44:46 RquestUri /live/dev/trickplay/trickplay/1613433254/thumbnails-1728.jpeg
2021/02/15 19:44:46 New RquestUri http://myhost.com:80/live/dev/trickplay/trickplay/1613433254/thumbnails-1728.jpeg
Header field "User-Agent", Value ["Roku/DVP-9.40 (509.40E04200A)"]
Header field "Accept", Value ["*/*"]
2021/02/15 19:44:46 10.0.0.15:50523 200 OK
2021/02/15 19:44:46 10.0.0.15:50537 200 OK
2021/02/15 19:44:47 Remote Address 10.0.0.15:50535
2021/02/15 19:44:47 RquestUri /live/dev/trickplay/trickplay/1613433254/thumbnails-1729.jpeg
2021/02/15 19:44:47 New RquestUri http://myhost.com:80/live/dev/trickplay/trickplay/1613433254/thumbnails-1729.jpeg
Header field "Accept", Value ["*/*"]
Header field "User-Agent", Value ["Roku/DVP-9.40 (509.40E04200A)"]
2021/02/15 19:44:47 10.0.0.15:50535 200 OK
2021/02/15 19:44:47 Remote Address 10.0.0.15:50538
2021/02/15 19:44:47 RquestUri /live/dev/trickplay/trickplay/1613433254/thumbnails-1730.jpeg
2021/02/15 19:44:47 New RquestUri http://myhost.com:80/live/dev/trickplay/trickplay/1613433254/thumbnails-1730.jpeg
Header field "User-Agent", Value ["Roku/DVP-9.40 (509.40E04200A)"]
Header field "Accept", Value ["*/*"]
2021/02/15 19:44:47 10.0.0.15:50538 200 OK
2021/02/15 19:44:47 Remote Address 10.0.0.15:50536
2021/02/15 19:44:47 RquestUri /live/dev/trickplay/trickplay/1613433254/thumbnails-1731.jpeg

关于http-live-streaming - 使用 Stream/RAF Tester 调试 Roku 技巧模式,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/66173540/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com