rpitv / glimpse

Monorepo for the RPI TV Glimpse project
MIT License
3 stars 1 forks source link

Video control and UI should trim whitespace from stream source and destination #66

Open robere2 opened 3 months ago

robere2 commented 3 months ago

If an RTMP link is copied from an external sheet, for example, an extra space may accidentally be copied at the start or end of the string. This will result in an ffmpeg error. Trimming whitespace would resolve this issue. We could do this on the UI as well, and add an additional sanity check to the UI to make sure input URLs are valid.