Ullaakut / RTSPAllTheThings

Deprecated RTSP media server -- Use github.com/aler9/rtsp-simple-server instead.
Apache License 2.0
275 stars 72 forks source link

Add support for /dev/video #36

Closed mbach04 closed 6 years ago

mbach04 commented 6 years ago

Tested this locally with a MacBook Facetime cam, passed into an ubuntu instance as /dev/video0 successfully. Never done cpp, so please feel free to comment/correct my work.

mbach04 commented 6 years ago

Got it. Thanks

Ullaakut commented 6 years ago

OK don't worry about the CI not passing, I just saw that Travis CI disables encrypted variables in PR builds. I will make an issue and fix this asap.

Ullaakut commented 6 years ago

Fixed the CI and force rebased your branch, the CI should work flawlessly now!

Still waiting for an approval from @Gegonz though! (or anyone with a working linux video device to test the PR, which is not my case)

Gegonz commented 6 years ago

I can't test as I don't have /dev/video0 on my laptop but this seems good to me now.