Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
55 commits
Select commit Hold shift + click to select a range
791ee22
Merge pull request #182 from artemiuzzz/master
auscaster Nov 13, 2017
760590d
Fix #197 applying empty pixel format
auscaster Nov 13, 2017
3bbdcba
Enable webrtcrecorder and webrtccapturer samples
auscaster Nov 23, 2017
832ba4c
Fixed websocket handshaking issue with latest Firefox
Dec 4, 2017
66b5880
Merge pull request #205 from lutsykigor/master
auscaster Dec 4, 2017
f10becd
Added OpenCV and WebRTC integration sample app
Dec 4, 2017
4dfdadf
Removed local config
lutsykigor Dec 4, 2017
1570292
Added comments for Chrome support
lutsykigor Dec 4, 2017
127457e
Added comments regarding Chrome and Firefox usage
lutsykigor Dec 4, 2017
ce2036d
Merge pull request #206 from lutsykigor/webrtc-opencv-demo
auscaster Dec 7, 2017
4003295
Add HTTPS echo server sample
auscaster Dec 7, 2017
4782ff0
Merge branch 'master' of github.com:sourcey/libsourcey
auscaster Dec 7, 2017
48b06a1
Only include opencvanalyzer sample if HAVE_OPENCV is set
auscaster Dec 7, 2017
0a046cc
Add missing i420_buffer.h include
auscaster Jan 24, 2018
2bc5348
Add .gitattributes file to deine line ending behaviour
cksmith Feb 14, 2018
287ef70
Fix line endings (CRLF->LF)
cksmith Feb 14, 2018
528e015
Merge pull request #223 from cksmith/fix-line-endings
auscaster Feb 15, 2018
a899696
Fix logic error when calling _encoder.init()
R-Gerard Mar 9, 2018
5bdee0e
Merge pull request #230 from R-Gerard/streamrecorder_init
auscaster Mar 9, 2018
bc67818
Update WebRTC impl to support latest branch_heads/66
auscaster Mar 22, 2018
240e649
Merge branch 'master' of github.com:sourcey/libsourcey
auscaster Mar 22, 2018
6e18af1
Resolve merge conflicts
auscaster Mar 22, 2018
93d15cf
Update WebRTC dependency in Dockerfile
auscaster Mar 22, 2018
bf7b893
Release 1.1.2
auscaster Mar 22, 2018
5936aa9
Update StreamRecorder to support latest WebRTC
auscaster Mar 22, 2018
37cb156
Release 1.1.3
auscaster Mar 22, 2018
7e55388
Fix #171 HTTP form progress updates
auscaster Mar 22, 2018
8c466c4
Add rate limiting and realtime PTS calculation to media capture
auscaster Mar 25, 2018
f93fafe
Merge branch 'master' of github.com:sourcey/libsourcey
auscaster Mar 25, 2018
ce311ff
Release 1.1.4
auscaster Mar 25, 2018
ca51d23
Open SSL v 1.1 support #204
iddqd13 Apr 5, 2018
7576113
Update x509certificate.cpp
iddqd13 Apr 6, 2018
d5d0601
Update hash.cpp
iddqd13 Apr 9, 2018
98de8f9
fixed c++ build error narrowing conversion of '-1' from 'int' to 'cha…
infinityproject16 May 21, 2019
411005b
Merge pull request #265 from blackforest-tom/master
auscaster May 21, 2019
4a9c8b4
Fixed constant names for newer versions of ffmpeg
infinityproject16 May 21, 2019
e07254f
Removed empty line (code style)
infinityproject16 May 21, 2019
21a1d30
Fixed usage of old-version webrtc::VideoFrame
mr-kakorin Jun 27, 2019
067d146
Merge pull request #271 from inventive-seven/opencv-example-fix
auscaster Jun 27, 2019
98df3c3
Merge pull request #267 from blackforest-tom/master
auscaster Nov 2, 2019
bec18bd
[*] code updates to fit new webrtc (not final)
kapulkin Apr 25, 2020
3b8a339
[*] webrtc compile definitions for MacOS
kapulkin Apr 25, 2020
b4d01f0
[*] excluding code, not compatible with modern WebRTC. Outdated code …
kapulkin Apr 25, 2020
dd5ef21
Fix fedora33 compiration
Nov 29, 2020
23c3c96
Merge pull request #289 from lighta/feat/openssl_1.1+_support
auscaster Mar 14, 2026
a764b4b
Merge pull request #285 from kapulkin/newWebrtc
auscaster Mar 14, 2026
f0629b9
Merge pull request #203 from sicxs/master
auscaster Mar 14, 2026
0601882
feat!: C++20 modernisation
auscaster Mar 15, 2026
ea920bd
chore: gitignore test output artifacts
auscaster Mar 15, 2026
35e038a
chore: update pacm and pluga submodule refs
auscaster Mar 16, 2026
f6ec80a
refactor: use fs:: wrappers instead of raw std::filesystem
auscaster Mar 16, 2026
cfd610f
chore: update pacm submodule ref
auscaster Mar 16, 2026
6f8d961
chore: update pacm and pluga submodule refs
auscaster Mar 16, 2026
3925738
chore: update pacm and pluga submodule refs
auscaster Mar 16, 2026
26339f7
Merge branch 'master' into openssl_11_support
auscaster Mar 17, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
173 changes: 117 additions & 56 deletions .clang-format
Original file line number Diff line number Diff line change
@@ -1,73 +1,134 @@
---
Language: Cpp
Standard: c++20
BasedOnStyle: LLVM

# Indentation
IndentWidth: 4
TabWidth: 4
UseTab: Never
IndentCaseLabels: true
IndentCaseBlocks: false
IndentPPDirectives: None
IndentExternBlock: NoIndent
NamespaceIndentation: None
AccessModifierOffset: -4
AlignAfterOpenBracket: true
AlignEscapedNewlinesLeft: false
AlignOperands: true
ContinuationIndentWidth: 4

# Braces - Allman for definitions, K&R for control flow
BreakBeforeBraces: Custom
BraceWrapping:
AfterCaseLabel: false
AfterClass: true
AfterControlStatement: Never
AfterEnum: true
AfterFunction: true
AfterNamespace: false
AfterStruct: true
AfterUnion: true
AfterExternBlock: false
BeforeCatch: false
BeforeElse: false
BeforeLambdaBody: false
BeforeWhile: false
IndentBraces: false
SplitEmptyFunction: false
SplitEmptyRecord: false
SplitEmptyNamespace: true

# No column limit - preserve manual formatting
ColumnLimit: 0

# Alignment
PointerAlignment: Left
ReferenceAlignment: Left
DerivePointerAlignment: false
AlignAfterOpenBracket: Align
AlignConsecutiveAssignments: false
AlignConsecutiveDeclarations: false
AlignConsecutiveMacros: false
AlignEscapedNewlines: Left
AlignOperands: Align
AlignTrailingComments: true

# Spaces
SpaceAfterCStyleCast: false
SpaceAfterLogicalNot: false
SpaceAfterTemplateKeyword: true
SpaceBeforeAssignmentOperators: true
SpaceBeforeCaseColon: false
SpaceBeforeCpp11BracedList: false
SpaceBeforeCtorInitializerColon: true
SpaceBeforeInheritanceColon: true
SpaceBeforeParens: ControlStatements
SpaceBeforeRangeBasedForLoopColon: true
SpaceBeforeSquareBrackets: false
SpaceInEmptyBlock: false
SpaceInEmptyParentheses: false
SpacesBeforeTrailingComments: 1
SpacesInAngles: false
SpacesInCStyleCastParentheses: false
SpacesInConditionalStatement: false
SpacesInContainerLiterals: false
SpacesInParentheses: false
SpacesInSquareBrackets: false

# Includes
SortIncludes: CaseInsensitive
IncludeBlocks: Preserve

# Constructor initializer lists - comma-first style
BreakConstructorInitializers: BeforeComma
ConstructorInitializerIndentWidth: 4
PackConstructorInitializers: Never

# Inheritance
BreakInheritanceList: BeforeComma

# Arguments and parameters
AllowAllArgumentsOnNextLine: true
AllowAllParametersOfDeclarationOnNextLine: true
AllowShortBlocksOnASingleLine: false
AllowShortCaseLabelsOnASingleLine: false
BinPackArguments: true
BinPackParameters: true

# Short forms
AllowShortBlocksOnASingleLine: Empty
AllowShortCaseLabelsOnASingleLine: true
AllowShortEnumsOnASingleLine: false
AllowShortFunctionsOnASingleLine: Inline
AllowShortIfStatementsOnASingleLine: false
AllowShortIfStatementsOnASingleLine: Never
AllowShortLambdasOnASingleLine: Inline
AllowShortLoopsOnASingleLine: false
AlwaysBreakAfterDefinitionReturnType: false

# Breaking
AlwaysBreakAfterReturnType: None
AlwaysBreakBeforeMultilineStrings: false
AlwaysBreakTemplateDeclarations: true
BinPackArguments: true
BinPackParameters: true
AlwaysBreakTemplateDeclarations: Yes
BreakBeforeBinaryOperators: None
BreakBeforeBraces: Custom
BraceWrapping: {
AfterClass: 'true'
AfterControlStatement: 'false'
AfterEnum: 'true'
AfterFunction: 'true'
AfterNamespace: 'false'
AfterStruct: 'true'
AfterUnion: 'true'
BeforeCatch: 'false'
BeforeElse: 'false'
IndentBraces: 'false'
}
BreakBeforeTernaryOperators: true
BreakConstructorInitializersBeforeComma: true
ColumnLimit: 0
CommentPragmas: '^ IWYU pragma:'
ConstructorInitializerAllOnOneLineOrOnePerLine: false
ConstructorInitializerIndentWidth: 4
ContinuationIndentWidth: 4
Cpp11BracedListStyle: true
DerivePointerAlignment: false
DisableFormat: false
ExperimentalAutoDetectBinPacking: false
IndentCaseLabels: true
IndentWidth: 4
IndentWrappedFunctionNames: false
BreakStringLiterals: true

# Empty lines
EmptyLineAfterAccessModifier: Never
EmptyLineBeforeAccessModifier: LogicalBlock
KeepEmptyLinesAtTheStartOfBlocks: true
Language: Cpp
MaxEmptyLinesToKeep: 2
NamespaceIndentation: None
ObjCBlockIndentWidth: 4
ObjCSpaceAfterProperty: false
ObjCSpaceBeforeProtocolList: true
SeparateDefinitionBlocks: Leave

# Other
Cpp11BracedListStyle: true
FixNamespaceComments: true
ReflowComments: false
CompactNamespaces: false
InsertBraces: false

# Penalties
PenaltyBreakAssignment: 2
PenaltyBreakBeforeFirstCallParameter: 19
PenaltyBreakComment: 300
PenaltyBreakFirstLessLess: 120
PenaltyBreakString: 1000
PenaltyBreakTemplateDeclaration: 10
PenaltyExcessCharacter: 1000000
PenaltyReturnTypeOnItsOwnLine: 60
PointerAlignment: Left
SortIncludes: true
SpaceAfterCStyleCast: false
SpaceBeforeAssignmentOperators: true
SpaceBeforeParens: ControlStatements
SpaceInEmptyParentheses: false
SpacesBeforeTrailingComments: 1
SpacesInAngles: false
SpacesInCStyleCastParentheses: false
SpacesInContainerLiterals: true
SpacesInParentheses: false
SpacesInSquareBrackets: false
Standard: Cpp11
TabWidth: 4
UseTab: Never
---
45 changes: 45 additions & 0 deletions .clang-tidy
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
---
# LibSourcey clang-tidy configuration
# Run: clang-tidy -p build src/base/src/*.cpp

Checks: >
-*,
bugprone-*,
-bugprone-easily-swappable-parameters,
-bugprone-narrowing-conversions,
modernize-use-nullptr,
modernize-use-override,
modernize-use-using,
modernize-use-auto,
modernize-use-default-member-init,
modernize-use-equals-default,
modernize-use-equals-delete,
modernize-use-nodiscard,
modernize-use-noexcept,
modernize-deprecated-headers,
modernize-redundant-void-arg,
modernize-loop-convert,
modernize-return-braced-init-list,
modernize-use-emplace,
performance-*,
-performance-no-int-to-ptr,
readability-container-size-empty,
readability-implicit-bool-conversion,
readability-redundant-member-init,
readability-redundant-string-init,
readability-simplify-boolean-expr,

WarningsAsErrors: ''

HeaderFilterRegex: 'src/.*/include/scy/.*\.h$'

CheckOptions:
- key: modernize-use-nullptr.NullMacros
value: 'NULL'
- key: modernize-use-auto.MinTypeNameLength
value: '5'
- key: modernize-loop-convert.MinConfidence
value: 'reasonable'
- key: performance-unnecessary-value-param.AllowedTypes
value: 'json::value'
...
16 changes: 16 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Set the default behavior, in case people don't have core.autocrlf set.
* text=auto

# Explicitly declare text files you want to always be normalized and converted
# to native line endings on checkout.
*.cmake text
*.cpp text
*.h text
*.md text
*.txt text
*.json text
*.sh text

# Denote all files that are truly binary and should not be modified.
*.mp4 binary

Loading