Skip to content

P2P connecting but not downloading! #500

@bluchip-studio-official

Description

My code seems to be kind of working P2P is loading and i can see peers are connecting but as soon as a peer connects i get the following error in console

player.js:386 HLS error: {
"type": "mediaError",
"details": "bufferStalledError",
"fatal": false,
"error": {},
"buffer": 10.341879999999996,
"bufferInfo": {
"len": 10.341879999999996,
"start": 28.002544,
"end": 55.972589,
"buffered": [
{
"start": 28.002544,
"end": 55.972589
}
],
"bufferedIndex": 0
},
"stalled": {
"start": 21619.60000000894
},
"errorAction": {
"action": 0,
"flags": 0
}
}

the player pauses for a second then gives me this error then starts playing again but its constantly stalls over and over i have included my player.js file i am using hls.js with p2p media loader if i do not open a second tab and connect a new peer then the stream plays perfect with 0 errors for hours and hours

player.js

in the console i see it all ways uses http for downloads i dont see any p2p downloads

I do have a production version of this player / client setup that i can provide access to for those who can help me out

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions