Replies: 19 comments 12 replies
-
Hello, @t4tohd Thank you for submitting the issue. I'll review our demo and fix the problem with the Clappr player. Regarding your implementation: Please take a look and feel free to provide us with feedback about the documentation. We would like to know if it was informative, clear to read, and if there is anything we should add for clarity. Here is a very simple working example with Clappr player:
|
Beta Was this translation helpful? Give feedback.
-
Any chance for JWplayer ? |
Beta Was this translation helpful? Give feedback.
-
Our investigation shows that there is no good external hls.js provider for JWPlayer. Its built-in hls.js provider isn't configurable\patchable at all. Unfortunately, there is no good news... |
Beta Was this translation helpful? Give feedback.
-
hello,
|
Beta Was this translation helpful? Give feedback.
-
@mrlika @DimaDemchenko
|
Beta Was this translation helpful? Give feedback.
-
@jazz1611 I'm currently looking into your issue with implementing P2P in PlayerJS and will give you an update soon. |
Beta Was this translation helpful? Give feedback.
-
thank you for support. this is PlayerJS library have included HLS.js library too. you can rely on the HTML sample above to make PlayerJS work.
|
Beta Was this translation helpful? Give feedback.
-
@jazz1611 So, here is the update on your situation. I used a different method to implement P2P with PlayerJS.
|
Beta Was this translation helpful? Give feedback.
-
@jazz1611 I tried to run your code and it seems like it works. However, I ran it with my PlayerJS (with the HLS module enabled) because I couldn't load your script for some reason. |
Beta Was this translation helpful? Give feedback.
-
@DimaDemchenko there is what is changed. i will make test with VideoJS soon. thank you so much. test online: https://jsfiddle.net/nmgsr79o/
|
Beta Was this translation helpful? Give feedback.
-
I have updated the exact URL so you can test online (https://jsfiddle.net/nmgsr79o/). I don't enable HLS version in PlayerJS (by default PlayerJS always adds it in its own library) I have set up P2P-Media-Loader's default tracker. Please try and let me know the results Another problem is that if I open 2 tabs at the same time, in JSFiddle's Console and also in the browser, it returns results continuously causing the browser to crash... I'm pretty sure P2P is working but is there a bug in the console? |
Beta Was this translation helpful? Give feedback.
-
@jazz1611 |
Beta Was this translation helpful? Give feedback.
-
@DimaDemchenko |
Beta Was this translation helpful? Give feedback.
-
@jazz1611 I probably understand what you mean. If there are no peers in the network, you will only download high-demand segments (15 seconds by default). If there are peers in the network, they will try to download segments within the p2pDownloadTimeWindow and httpDownloadTimeWindow. That's why you see a lot of download / upload logs. Check the stream config documentation, we described those parameters here |
Beta Was this translation helpful? Give feedback.
-
@DimaDemchenko i found the script hls.js plugin with latest version for VideoJS and i do config similar from PlayerJS to VideoJS but it not work. can help you me to check it? Source: https://www.nuevodevel.com/nuevo/showcase/hlsjs P/s: also any chance i can run p2p library in html page with inside <script type="text/javascript">....</script>. which |
Beta Was this translation helpful? Give feedback.
-
I didn't try version 1.0.3 yet I try previous release and found problem with iPad OS with Apple CPU M series. Can you all share me your experience about this device with version 1.0.3. |
Beta Was this translation helpful? Give feedback.
-
@stevenking888, we are experiencing problems with Safari. I'm currently working on version 1.0.4, which might fix these issues. |
Beta Was this translation helpful? Give feedback.
-
@DimaDemchenko Script: https://raw.githubusercontent.com/jazz1611/Hls.js-P2P-Media-Loader/main/videojs-hlsjs-plugin_v1.0.js
|
Beta Was this translation helpful? Give feedback.
-
P2P download ratio doesn't depend on Nginx configuration |
Beta Was this translation helpful? Give feedback.
-
Hello, I was using the old version and when I replaced the two updated libraries it no longer loads anything, I use clappr, the demo version in Novage does not load, I have used these libraries and they do not work for me:
https://cdn.jsdelivr.net/npm/[email protected]/dist/p2p-media-loader-core.es.min.js
https://cdn.jsdelivr.net/npm/[email protected]/dist/p2p-media-loader-hlsjs.es.min.js
https://cdn.jsdelivr.net/npm/@clappr/player@~0/dist/clappr.min.js
https://cdn.jsdelivr.net/gh/clappr/clappr-level-selector-plugin@~0/dist/level-selector.min.js
Could you update the guides to implement the new version .
<script src="https://cdn.jsdelivr.net/npm/[email protected]/build/p2p-media-loader-core.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/[email protected]/build/p2p-media-loader-hlsjs.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/clappr@latest"></script>Beta Was this translation helpful? Give feedback.
All reactions