@@ -2073,7 +2073,7 @@ PVR_ERROR cPVRClientMediaPortal::GetSignalStatus(int channelUid, kodi::addon::PV
2073
2073
// respect to the live tv streams is that the URLs for the recordings
2074
2074
// can be requested on beforehand (done in the TVServerKodi plugin).
2075
2075
2076
- bool cPVRClientMediaPortal::OpenRecordedStream (const kodi::addon::PVRRecording& recording)
2076
+ bool cPVRClientMediaPortal::OpenRecordedStream (const kodi::addon::PVRRecording& recording, int64_t & streamId )
2077
2077
{
2078
2078
kodi::Log (ADDON_LOG_INFO, " OpenRecordedStream (id=%s, RTSP=%d)" , recording.GetRecordingId ().c_str (), (CSettings::Get ().GetUseRTSP () ? " true" : " false" ));
2079
2079
@@ -2142,7 +2142,7 @@ bool cPVRClientMediaPortal::OpenRecordedStream(const kodi::addon::PVRRecording&
2142
2142
return true ;
2143
2143
}
2144
2144
2145
- void cPVRClientMediaPortal::CloseRecordedStream (void )
2145
+ void cPVRClientMediaPortal::CloseRecordedStream (int64_t streamId )
2146
2146
{
2147
2147
if (!IsUp () || CSettings::Get ().GetStreamingMethod () == ffmpeg)
2148
2148
return ;
@@ -2159,7 +2159,7 @@ void cPVRClientMediaPortal::CloseRecordedStream(void)
2159
2159
}
2160
2160
}
2161
2161
2162
- int cPVRClientMediaPortal::ReadRecordedStream (unsigned char *pBuffer, unsigned int iBufferSize)
2162
+ int cPVRClientMediaPortal::ReadRecordedStream (int64_t streamId, unsigned char *pBuffer, unsigned int iBufferSize)
2163
2163
{
2164
2164
size_t read_wanted = static_cast <size_t >(iBufferSize);
2165
2165
size_t read_done = 0 ;
@@ -2191,7 +2191,7 @@ int cPVRClientMediaPortal::ReadRecordedStream(unsigned char *pBuffer, unsigned i
2191
2191
return static_cast <int >(read_done);
2192
2192
}
2193
2193
2194
- int64_t cPVRClientMediaPortal::SeekRecordedStream (int64_t iPosition, int iWhence)
2194
+ int64_t cPVRClientMediaPortal::SeekRecordedStream (int64_t streamId, int64_t iPosition, int iWhence)
2195
2195
{
2196
2196
if (CSettings::Get ().GetStreamingMethod () == ffmpeg || !m_tsreader)
2197
2197
{
@@ -2205,7 +2205,7 @@ int64_t cPVRClientMediaPortal::SeekRecordedStream(int64_t iPosition, int iWhence
2205
2205
return m_tsreader->SetFilePointer (iPosition, iWhence);
2206
2206
}
2207
2207
2208
- int64_t cPVRClientMediaPortal::LengthRecordedStream (void )
2208
+ int64_t cPVRClientMediaPortal::LengthRecordedStream (int64_t streamId )
2209
2209
{
2210
2210
if (CSettings::Get ().GetStreamingMethod () == ffmpeg || !m_tsreader)
2211
2211
{
0 commit comments