Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix format-security warning/error #64

Merged
merged 1 commit into from
Jun 10, 2021

Conversation

tytan652
Copy link
Contributor

@tytan652 tytan652 commented Jun 10, 2021

Fixes #58
The absence of the formating of the two %u from rtpmap_fmt emits a warning which result in a error in with some distribution default flags.

This fix might need further testing.
I only tested by putting a video as a source in OBS start the RTSP stream and open it with VLC. The video and audio seems right.

Edit: with this fix it compiles on ArchLinux

@brodi1 brodi1 merged commit 15c4a21 into iamscottxu:master Jun 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unable to build from source at least on ArchLinux
2 participants