2023-10-01, 11:52
Hello there,
I've been searching for a way to let Kodi stream the encrypted RTSP from Hikvision DVR. I have the RTSP stream URL which will send encrypted stream.
I can stream the RTSP from VLC only if I turn off the "Stream encryption" else VLC is showing grey video which is expected as it cannot decode the encrypted content.
I'm looking for a way if I can stream it through Kodi using any addon that's available or if I need to create one. If I need to create one, would anyone point me in the right direction.
For the new addon, I've thought of some approach:
# Receive the encrypted content from RTSP server.
# Decrypt the content on-the-fly and place it somewhere in the filesystem.
# Pass the decrypted file path to Kodi as a playable listItem.
However, I can see this approach will fill-up the HDD space as I have to cache the content locally before making Kodi to read it. So, I'm interested to know if there's any way I can directly feed the decrypted content directly to Kodi i.e., RTSP Server > Encrypted Content > Kodi Addon > Decrypted Content > Kodi Demuxer (or something similar).
*If I can directly feed the raw content into Kodi instead of using the playable ListItem approach, then I can work to find a way to decrypt the content on-the-fly approach.
Please advise if you have any insights.
Thank you!
I've been searching for a way to let Kodi stream the encrypted RTSP from Hikvision DVR. I have the RTSP stream URL which will send encrypted stream.
I can stream the RTSP from VLC only if I turn off the "Stream encryption" else VLC is showing grey video which is expected as it cannot decode the encrypted content.
I'm looking for a way if I can stream it through Kodi using any addon that's available or if I need to create one. If I need to create one, would anyone point me in the right direction.
For the new addon, I've thought of some approach:
# Receive the encrypted content from RTSP server.
# Decrypt the content on-the-fly and place it somewhere in the filesystem.
# Pass the decrypted file path to Kodi as a playable listItem.
However, I can see this approach will fill-up the HDD space as I have to cache the content locally before making Kodi to read it. So, I'm interested to know if there's any way I can directly feed the decrypted content directly to Kodi i.e., RTSP Server > Encrypted Content > Kodi Addon > Decrypted Content > Kodi Demuxer (or something similar).
*If I can directly feed the raw content into Kodi instead of using the playable ListItem approach, then I can work to find a way to decrypt the content on-the-fly approach.
Please advise if you have any insights.
Thank you!