2023-12-18, 10:10 AM
Hi!
Tearing my hair out on this issue that I can't pinpoint the cause if anyone wise might take a look, the steam gets stopped anywhere from a couple of minutes to roughly 2 hours and I can not find any pattern as a loaded up network or such in regards to if it will work for long or not.
The setup is NextPVR version 6.1.5.231022 installed on Ubuntu 22.04, source is minisatIP with a TBS quad tuner running as a docker on the same server. Behaviour is the same regardless if the streams are to Kodi or Jellyfin as client. If I in Kodi set the streaming method to transcode it does seem to be alot more stable but that's not a viable solution right now as I don't have hardware transcoding.
Tearing my hair out on this issue that I can't pinpoint the cause if anyone wise might take a look, the steam gets stopped anywhere from a couple of minutes to roughly 2 hours and I can not find any pattern as a loaded up network or such in regards to if it will work for long or not.
The setup is NextPVR version 6.1.5.231022 installed on Ubuntu 22.04, source is minisatIP with a TBS quad tuner running as a docker on the same server. Behaviour is the same regardless if the streams are to Kodi or Jellyfin as client. If I in Kodi set the streaming method to transcode it does seem to be alot more stable but that's not a viable solution right now as I don't have hardware transcoding.
Code:
2023-12-18 08:14:26.026 [DEBUG][54] Got request [192.168.0.1]: /
2023-12-18 08:14:26.713 [DEBUG][72] Have received 1577432612 bytes from rtsp source (291 dropped packets)
2023-12-18 08:14:27.028 [DEBUG][77] Got request [192.168.0.1]: /
2023-12-18 08:14:28.038 [DEBUG][77] Got request [192.168.0.1]: /
2023-12-18 08:14:28.179 [DEBUG][41] Renewed lease... (200064)
2023-12-18 08:14:28.179 [DEBUG][41] Renew lease ok (0x200064)
2023-12-18 08:14:29.040 [DEBUG][38] Got request [192.168.0.1]: /
2023-12-18 08:14:29.800 [DEBUG][35] Have received 3297216192 bytes from rtsp source (3659 dropped packets)
2023-12-18 08:14:30.057 [DEBUG][77] Got request [192.168.0.1]: /
2023-12-18 08:14:30.771 [DEBUG][30] Renewed lease... (1F0066)
2023-12-18 08:14:30.771 [DEBUG][30] Renew lease ok (0x1F0066)
2023-12-18 08:14:31.069 [DEBUG][54] Got request [192.168.0.1]: /
2023-12-18 08:14:32.073 [DEBUG][55] Got request [192.168.0.1]: /
2023-12-18 08:14:33.088 [DEBUG][77] Got request [192.168.0.1]: /
2023-12-18 08:14:33.228 [DEBUG][41] Renewed lease... (200064)
2023-12-18 08:14:33.228 [DEBUG][41] Renew lease ok (0x200064)
2023-12-18 08:14:34.090 [DEBUG][55] Got request [192.168.0.1]: /
2023-12-18 08:14:35.093 [DEBUG][38] Got request [192.168.0.1]: /
2023-12-18 08:14:35.822 [DEBUG][30] Renewed lease... (1F0066)
2023-12-18 08:14:35.822 [DEBUG][30] Renew lease ok (0x1F0066)
2023-12-18 08:14:36.098 [DEBUG][55] Got request [192.168.0.1]: /
2023-12-18 08:14:36.714 [DEBUG][72] Have received 1585228408 bytes from rtsp source (291 dropped packets)
2023-12-18 08:14:37.102 [DEBUG][38] Got request [192.168.0.1]: /
2023-12-18 08:14:37.979 [DEBUG][57] Sending rtsp keep alive
2023-12-18 08:14:38.117 [DEBUG][55] Got request [192.168.0.1]: /
2023-12-18 08:14:38.229 [DEBUG][41] Renewed lease... (200064)
2023-12-18 08:14:38.229 [DEBUG][41] Renew lease ok (0x200064)
2023-12-18 08:14:39.119 [DEBUG][55] Got request [192.168.0.1]: /
2023-12-18 08:14:39.775 [ERROR][30] Unexpected error streaming channel: System.NullReferenceException: Object reference not set to an instance of an object.
at NShared.Utility.RollingFile.get_Length()
at NShared.Streaming.StreamingHelper.StreamNative(ServiceResponseStream responseStream, Dictionary`2 parameters)
2023-12-18 08:14:39.800 [DEBUG][35] Have received 3317801064 bytes from rtsp source (3659 dropped packets)
2023-12-18 08:14:40.126 [DEBUG][38] Got request [192.168.0.1]: /
2023-12-18 08:14:40.776 [DEBUG][30] StopStream(2031718)...
2023-12-18 08:14:40.776 [DEBUG][30] clientHandle[jellyfin.12] = 2031718
2023-12-18 08:14:40.776 [DEBUG][30] Calling StopStream()
2023-12-18 08:14:40.776 [DEBUG][30] Stop SATIP stream
2023-12-18 08:14:40.776 [DEBUG][30] StopStream handle: 102
2023-12-18 08:14:40.776 [DEBUG][30] Closing TSWriter....: LIVE&/home/user/recordings/live-TV4 HD-1460-89.ts
2023-12-18 08:14:41.133 [DEBUG][77] Got request [192.168.0.1]: /
2023-12-18 08:14:41.176 [DEBUG][30] Close@2
2023-12-18 08:14:41.176 [DEBUG][30] Closing mapAccessor
2023-12-18 08:14:41.408 [DEBUG][30] Closing mapMMF
2023-12-18 08:14:41.408 [DEBUG][30] Closing mapFileStream
2023-12-18 08:14:41.408 [DEBUG][30] deleting /home/user/recordings/live-TV4 HD-1460-89.ts.map
2023-12-18 08:14:41.408 [DEBUG][30] Close@exit
2023-12-18 08:14:41.408 [DEBUG][30] StopStream@exit
2023-12-18 08:14:41.422 [DEBUG][35] Shutting down RTSP input stream
2023-12-18 08:14:41.423 [DEBUG][30] No more streams. Stopping SATIP device
2023-12-18 08:14:41.423 [DEBUG][30] StopStream() done
2023-12-18 08:14:41.803 [DEBUG][30] Cleaning up: /home/user/recordings/live-TV4 HD-1460-89.ts
2023-12-18 08:14:41.803 [DEBUG][30] Cleaning up: /home/user/recordings/live-TV4 HD-1460-89.ts
2023-12-18 08:14:41.803 [DEBUG][30] Cleaning up: /home/user/recordings/live-TV4 HD-1460-89.ts
2023-12-18 08:14:41.803 [DEBUG][30] Cleaning up: /home/user/recordings/live-TV4 HD-1460-89.ts
2023-12-18 08:14:41.803 [DEBUG][30] Cleaning up: /home/user/recordings/live-TV4 HD-1460-89.ts
2023-12-18 08:14:42.138 [DEBUG][55] Got request [192.168.0.1]: /
2023-12-18 08:14:43.147 [DEBUG][30] Got request [192.168.0.1]: /
2023-12-18 08:14:43.254 [DEBUG][41] Renewed lease... (200064)
2023-12-18 08:14:43.254 [DEBUG][41] Renew lease ok (0x200064)
2023-12-18 08:14:43.901 [DEBUG][24] Sending rtsp keep alive