Added to the WebUI the possibility to directly select a remote source SDP file for a Sink. New files: daemon/mdns_client.hpp,cpp -> mDNS client implementation using Avahi client library daemon/rtsp_client.hpp,cpp -> RTSP client implementation used to transfer SDP file daemon/utils.cpp -> used for common utility functions .clang-format -> added clang-format configuration file Modified files: daemon/CMakeList.txt -> added support for Avahi and option WITH_AVAHI=[yes/no] to compile the daemon with or without Avahi mDNS support daemon/config.hpp,cpp -> added configuration option mdns_enabled to enable or disable mDNS discovery at runtime daemon/json.cpp -> extended JSON config with mdns_enabled option daemon/browser.hpp,cpp -> added support for mDNS client to the browser daemon/session_manager.cpp -> added support for RTSP protocol to Source URL field and fixed issue with SDP file parsing webui/RemoteSources.js -> added visualization of mDNS remote sources webui/SinkEdit.js -> added the possibility to directly select a remote source SDP file for a Sink webui/SourceInfo.js -> added visualization of protocol source (SAP, mDNS or local) for a source ubuntu-packages.sh -> added libavahi-client-dev to the list of required packages build.sh -> added WITH_AVAHI=yes option when invoking CMake README.md -> added notes about mDNS support via Avahi daemon/README.md -> added notes about mDNS support via Avahi, support for RTSP protocol in source and new mdns_enabled config param Additional minor changes to remaining files.
		
			
				
	
	
		
			158 lines
		
	
	
		
			4.1 KiB
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			158 lines
		
	
	
		
			4.1 KiB
		
	
	
	
		
			YAML
		
	
	
	
	
	
| ---
 | |
| Language:        Cpp
 | |
| # BasedOnStyle:  Chromium
 | |
| AccessModifierOffset: -1
 | |
| AlignAfterOpenBracket: Align
 | |
| AlignConsecutiveMacros: false
 | |
| AlignConsecutiveAssignments: false
 | |
| AlignConsecutiveDeclarations: false
 | |
| AlignEscapedNewlines: Left
 | |
| AlignOperands:   true
 | |
| AlignTrailingComments: true
 | |
| AllowAllArgumentsOnNextLine: true
 | |
| AllowAllConstructorInitializersOnNextLine: true
 | |
| AllowAllParametersOfDeclarationOnNextLine: false
 | |
| AllowShortBlocksOnASingleLine: false
 | |
| AllowShortCaseLabelsOnASingleLine: false
 | |
| AllowShortFunctionsOnASingleLine: Inline
 | |
| AllowShortLambdasOnASingleLine: All
 | |
| AllowShortIfStatementsOnASingleLine: Never
 | |
| AllowShortLoopsOnASingleLine: false
 | |
| AlwaysBreakAfterDefinitionReturnType: None
 | |
| AlwaysBreakAfterReturnType: None
 | |
| AlwaysBreakBeforeMultilineStrings: true
 | |
| AlwaysBreakTemplateDeclarations: Yes
 | |
| BinPackArguments: true
 | |
| BinPackParameters: false
 | |
| BraceWrapping:
 | |
|   AfterCaseLabel:  false
 | |
|   AfterClass:      false
 | |
|   AfterControlStatement: false
 | |
|   AfterEnum:       false
 | |
|   AfterFunction:   false
 | |
|   AfterNamespace:  false
 | |
|   AfterObjCDeclaration: false
 | |
|   AfterStruct:     false
 | |
|   AfterUnion:      false
 | |
|   AfterExternBlock: false
 | |
|   BeforeCatch:     false
 | |
|   BeforeElse:      false
 | |
|   IndentBraces:    false
 | |
|   SplitEmptyFunction: true
 | |
|   SplitEmptyRecord: true
 | |
|   SplitEmptyNamespace: true
 | |
| BreakBeforeBinaryOperators: None
 | |
| BreakBeforeBraces: Attach
 | |
| BreakBeforeInheritanceComma: false
 | |
| BreakInheritanceList: BeforeColon
 | |
| BreakBeforeTernaryOperators: true
 | |
| BreakConstructorInitializersBeforeComma: false
 | |
| BreakConstructorInitializers: BeforeColon
 | |
| BreakAfterJavaFieldAnnotations: false
 | |
| BreakStringLiterals: true
 | |
| ColumnLimit:     80
 | |
| CommentPragmas:  '^ IWYU pragma:'
 | |
| CompactNamespaces: false
 | |
| ConstructorInitializerAllOnOneLineOrOnePerLine: true
 | |
| ConstructorInitializerIndentWidth: 4
 | |
| ContinuationIndentWidth: 4
 | |
| Cpp11BracedListStyle: true
 | |
| DerivePointerAlignment: false
 | |
| DisableFormat:   false
 | |
| ExperimentalAutoDetectBinPacking: false
 | |
| FixNamespaceComments: true
 | |
| ForEachMacros:
 | |
|   - foreach
 | |
|   - Q_FOREACH
 | |
|   - BOOST_FOREACH
 | |
| IncludeBlocks:   Regroup
 | |
| IncludeCategories:
 | |
|   - Regex:           '^<ext/.*\.h>'
 | |
|     Priority:        2
 | |
|   - Regex:           '^<.*\.h>'
 | |
|     Priority:        1
 | |
|   - Regex:           '^<.*'
 | |
|     Priority:        2
 | |
|   - Regex:           '.*'
 | |
|     Priority:        3
 | |
| IncludeIsMainRegex: '([-_](test|unittest))?$'
 | |
| IndentCaseLabels: true
 | |
| IndentPPDirectives: None
 | |
| IndentWidth:     2
 | |
| IndentWrappedFunctionNames: false
 | |
| JavaScriptQuotes: Leave
 | |
| JavaScriptWrapImports: true
 | |
| KeepEmptyLinesAtTheStartOfBlocks: false
 | |
| MacroBlockBegin: ''
 | |
| MacroBlockEnd:   ''
 | |
| MaxEmptyLinesToKeep: 1
 | |
| NamespaceIndentation: None
 | |
| ObjCBinPackProtocolList: Never
 | |
| ObjCBlockIndentWidth: 2
 | |
| ObjCSpaceAfterProperty: false
 | |
| ObjCSpaceBeforeProtocolList: true
 | |
| PenaltyBreakAssignment: 2
 | |
| PenaltyBreakBeforeFirstCallParameter: 1
 | |
| PenaltyBreakComment: 300
 | |
| PenaltyBreakFirstLessLess: 120
 | |
| PenaltyBreakString: 1000
 | |
| PenaltyBreakTemplateDeclaration: 10
 | |
| PenaltyExcessCharacter: 1000000
 | |
| PenaltyReturnTypeOnItsOwnLine: 200
 | |
| PointerAlignment: Left
 | |
| RawStringFormats:
 | |
|   - Language:        Cpp
 | |
|     Delimiters:
 | |
|       - cc
 | |
|       - CC
 | |
|       - cpp
 | |
|       - Cpp
 | |
|       - CPP
 | |
|       - 'c++'
 | |
|       - 'C++'
 | |
|     CanonicalDelimiter: ''
 | |
|     BasedOnStyle:    google
 | |
|   - Language:        TextProto
 | |
|     Delimiters:
 | |
|       - pb
 | |
|       - PB
 | |
|       - proto
 | |
|       - PROTO
 | |
|     EnclosingFunctions:
 | |
|       - EqualsProto
 | |
|       - EquivToProto
 | |
|       - PARSE_PARTIAL_TEXT_PROTO
 | |
|       - PARSE_TEST_PROTO
 | |
|       - PARSE_TEXT_PROTO
 | |
|       - ParseTextOrDie
 | |
|       - ParseTextProtoOrDie
 | |
|     CanonicalDelimiter: ''
 | |
|     BasedOnStyle:    google
 | |
| ReflowComments:  true
 | |
| SortIncludes:    true
 | |
| SortUsingDeclarations: true
 | |
| SpaceAfterCStyleCast: false
 | |
| SpaceAfterLogicalNot: false
 | |
| SpaceAfterTemplateKeyword: true
 | |
| SpaceBeforeAssignmentOperators: true
 | |
| SpaceBeforeCpp11BracedList: false
 | |
| SpaceBeforeCtorInitializerColon: true
 | |
| SpaceBeforeInheritanceColon: true
 | |
| SpaceBeforeParens: ControlStatements
 | |
| SpaceBeforeRangeBasedForLoopColon: true
 | |
| SpaceInEmptyParentheses: false
 | |
| SpacesBeforeTrailingComments: 2
 | |
| SpacesInAngles:  false
 | |
| SpacesInContainerLiterals: true
 | |
| SpacesInCStyleCastParentheses: false
 | |
| SpacesInParentheses: false
 | |
| SpacesInSquareBrackets: false
 | |
| Standard:        Auto
 | |
| StatementMacros:
 | |
|   - Q_UNUSED
 | |
|   - QT_REQUIRE_VERSION
 | |
| TabWidth:        8
 | |
| UseTab:          Never
 | |
| ...
 | |
| 
 |