From 774d8f8c8308bf063bf4661752d63687b9feb4f3 Mon Sep 17 00:00:00 2001 From: CastagnaIT Date: Mon, 27 May 2024 14:53:45 +0200 Subject: [PATCH] Add streamid behaviour note Better have this documented somewhere since API is not very detailed about it --- src/main.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main.cpp b/src/main.cpp index 81afa083f..7b76b72ff 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -208,6 +208,9 @@ bool CInputStreamAdaptive::OpenStream(int streamid) // - Chapter/period change // - Automatic stream (representation) quality change (such as adaptive) // - Manual stream (representation) quality change (from OSD) + // streamid behaviour: + // - The streamid can be influenced by Kodi core based on preferences set in Kodi settings (e.g. language) + // - Fallback calls, e.g. if the opened video streamid fails, Kodi core will try to open another video streamid if (!m_session) return false;