MERN Video Streaming is a cutting-edge, open-source platform for video streaming, offering a comprehensive, full-stack solution utilizing the latest MERN stack technologies.
After generating a thumbnail, url used to store in thumbnailUrl. This filed was not present inside video schema validator. As we are using additionalProperties = false, mongo through Document Validation Error when we tried to store thumbnailUrl. Along with thumbnailUrl there were other fields (thumbnailPath, processedPath, hlsPath, history) which were not present in schema validator.
search api was not sending thumbnailUrl with response.
This pr will close #61
There were multiple reasons for broken thumbnail.
After generating a thumbnail, url used to store in
thumbnailUrl
. This filed was not present inside video schema validator. As we are usingadditionalProperties = false
, mongo throughDocument Validation Error
when we tried to storethumbnailUrl
. Along withthumbnailUrl
there were other fields (thumbnailPath
,processedPath
,hlsPath
,history
) which were not present inschema validator
.search
api was not sendingthumbnailUrl
with response.