-
Notifications
You must be signed in to change notification settings - Fork 241
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
Why does this stream play on Windows but fails on Linux? #1501
Comments
looks like on 20.2 (Linux) its not able to get streams and so cannot playback idk the reasons i suggest to try use Kodi 21 on linux to see if playback works |
It doesn't work either in Kodi 21, but now there's no error, but playback never starts (spinning circle). |
the log of k21 linux, show only a subtitle stream apparently without audio and video |
Windows
Linux
could be that the cause is that on linux its needed a higher protection level not available diff --git a/src/parser/SmoothTree.cpp b/src/parser/SmoothTree.cpp
index d113b4b5..6bf34cf0 100644
--- a/src/parser/SmoothTree.cpp
+++ b/src/parser/SmoothTree.cpp
@@ -95,7 +95,7 @@ bool adaptive::CSmoothTree::ParseManifest(const std::string& data)
if (nodeProt)
{
period->SetEncryptionState(EncryptionState::ENCRYPTED);
- period->SetSecureDecodeNeeded(true);
+ //period->SetSecureDecodeNeeded(true);
pugi::xml_node nodeProtHead = nodeProt.child("ProtectionHeader");
if (nodeProtHead) |
Unfortunately the latest version fails to build in my system (Ubuntu 22). |
The stream also fails on a Smartphone with Android 12. The stream does play in all operating systems if I use a manifest in mpd format. Any ideas? |
there is a difference between the SmoothStreaming and the MPD the MPD with Widevine its right that works i noticed that with the SS manifest we convert the protection to make work with widevine, this is probably the reason for the decrypting problem on linux, idk how can works on windows perhaps just a case idk... maybe glennguy is able to give you a better answer |
@CastagnaIT |
yeah thanks i can do it |
@Paco8 can you provide a new debug log when fails on linux? all logs you have previously linked are expired @zuzia-dev the code change that i posted above, could works for android L1 only, this because SSD_SECURE_DECODER is not set on all others operative systems (like linux or windows)
so you tested on android or what? |
Manifest: By that way, I realized that this manifest fails on Kodi 21 too but works on kodi 19: Log kodi 21: https://paste.kodi.tv/yapapuqiya.kodi |
@Paco8 you are using an old ISA version on Kodi 21 that has some known bugs |
After updating to 21.5.4 the problem with manifest_medium.txt is fixed. |
the "manifest_high" is different, there is a "bad" status of widevine cdm, the session key status 3 is now i have no idea how the website play this movie on the linux browser, if it can be played on linux browser should be debugged the browser to try understand if something could be done, there is no way for us investigate by looking at logs however here we are OT on this issue, the problem where the issue has been opened is different |
Bug report
Describe the bug
Here is a clear and concise description of what the problem is:
This is probably not a bug but my mistake.
This stream plays fine on Windows (and Android TV) but fails on Linux.
Expected Behavior
Here is a clear and concise description of what was expected to happen:
The stream should play on all operating systems.
Actual Behavior
Playback fails on Linux.
Possible Fix
To Reproduce
Steps to reproduce the behavior:
Debuglog
The debuglog can be found here:
This is the log from Linux (not playing):
https://paste.kodi.tv/iguvijipub.kodi
It seems inputstream.adaptive can't decrypt the stream, but why?
This is the log from Windows:
https://paste.kodi.tv/yagavejexe.kodi
MPD/M3U8s/ISM
An example or copy of a manifest (or manifests for HLS - master and variants) can be found here:
manifest.txt
Screenshots
Here are some links or screenshots to help explain the problem:
Additional context or screenshots (if appropriate)
Here is some additional context or explanation that might help:
Your Environment
Used Operating system:
Android
iOS
tvOS
Linux
OSX
Windows
Windows UWP
Operating system version/name: Linux (Ubuntu 22) and Windows 11
Kodi version: 20.2 (Linux), 21.0-BETA3 (Windows)
inputstream.adaptive version: 20.3.13 and 21.4.3
note: Once the issue is made we require you to update it with new information should that be required.
Team Kodi will consider your problem report however, we will not make any promises the problem will be solved.
The text was updated successfully, but these errors were encountered: