Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DC_PIECE_NOT_FOUND #52

Closed
shell1986 opened this issue Mar 21, 2019 · 2 comments
Closed

DC_PIECE_NOT_FOUND #52

shell1986 opened this issue Mar 21, 2019 · 2 comments

Comments

@shell1986
Copy link

shell1986 commented Mar 21, 2019

Hello

I had a problem after adding an additional level of quality.
Of the 25 peers that I found the tracker, I could only connect to 10.
After each attempt to download a segment, I get an error:

frag changed: 31
cdnbye@latest:1 peers: 9 idle peers: 9
cdnbye@latest:1 found sn 47 from peer d9e06245e71148e2
cdnbye@latest:1 request criticalSeg segId https://.../vod1/s1/10629/1/11.mp4/n_47_0_0.ts?nimblesessionid=18826&expires=1553179566&md5=P3zNbSqDA5XfXk9CTzRSjg at 47
cdnbye@latest:1 loading frag 47
cdnbye@latest:1 DC_PIECE_NOT_FOUND

code setting:

channelId: function(m3u8Url) {
                    var formatedUrl = 'anivid.tk<?php echo $_GET["vid"]; ?>/ch'+channelwidth; // format a channelId by removing the different part
                    return formatedUrl;
                },
                segmentId: function (level, sn, tsUrl) {
                // const formatedUrl = `${level}-${sn}`;  // default implementation
                 const formatedUrl = tsUrl;  // the actual path of ts file
                return formatedUrl;
                }

channelwidth = 720 or 480

@shell1986
Copy link
Author

I am sorry, I understood my mistake.

In references to segments, I have different hash keys.

@shell1986
Copy link
Author

By the way, data came to the OMS, even though there was this error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant