An MPD with incorrect root element attributes leads to an uncaught exception.
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 30/100
- Issue 类型
- 缺陷
- 描述清晰度
- 需要澄清
- 活跃度
- 停滞
- 技术栈
- javascript
调研方向
Start by reproducing the issue with the MPD example in the report and trace the parser path that handles the root element and SegmentList attributes. Confirm the malformed input produces a defined parsing error such as MISSING_SEGMENT_INFORMATION instead of an uncaught TypeError. The payload does not name a source file or test, so those must be located before implementation.
由索引模型根据 Issue 内容生成。
描述
An MPD such as:
<?xml version="1.0"?>
<MPD xmlns="urn:mpeg:dash:schema:mpd:2011" profiles="urn:mpeg:dash:profile:full:2011" minBufferTime="PT1.5S">
<Period duration="PT30S">
<BaseURL>main/</BaseURL>
<AdaptationSet mimeType="video/mp2t">
<Representation id="720p" bandwidth="3200000" width="1280" height="720">
<SegmentList timescale="90000" duration="5400000"></SegmentList>
</Representation>
</AdaptationSet>
</Period>
</MPD>
Results in: TypeError: Cannot set property 'duration' of undefined rather than something defined like MISSING_SEGMENT_INFORMATION
Still working out the specifics.
- 主要语言
- JavaScript
- 星标
- 88
- 派生
- 60
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
videojs/mpd-parser 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 85/100
videojs/mpd-parser#193 ·
-
难度 2/5 1-3 小时 新手友好度 45/100
videojs/mpd-parser#189 · 1 条评论 ·
-
难度 3/5 1-2 天 新手友好度 30/100
videojs/mpd-parser#185 · 1 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 45/100
videojs/mpd-parser#183 ·
-
enhancement
难度 3/5 1-2 天 新手友好度 30/100
videojs/mpd-parser#182 · 6 条评论 ·
查看 videojs/mpd-parser 的全部 Issue
相似的 Issue
-
ep:WebGPU platform:web quantization
难度 2/5 1-3 小时 新手友好度 66/100
microsoft/onnxruntime#33752 ·
维护者通常 2 天内回复
-
icon request
难度 2/5 1-3 小时 新手友好度 66/100
tabler/tabler-icons#1693 ·
维护者通常 1 天内回复
-
难度 1/5 1-3 小时 新手友好度 72/100
alvarotrigo/fullPage.js#4755 ·
-
难度 2/5 1-3 小时 新手友好度 64/100
jlab-sensing/ENTS-backend#854 ·
-
enhancement
难度 2/5 1-3 小时 新手友好度 76/100
andromarces/agent-loops#1242 ·
维护者通常 1 天内回复