Updated roc configuration
This commit is contained in:
		
							parent
							
								
									dd23e88fc1
								
							
						
					
					
						commit
						2321832fbf
					
				| @ -23,25 +23,6 @@ | |||||||
|       printing.enable = true; |       printing.enable = true; | ||||||
|     }; |     }; | ||||||
| 
 | 
 | ||||||
|     # Pipewire roc sink |  | ||||||
|     services.pipewire.extraConfig.pipewire."60-roc-sink" = { |  | ||||||
|       context.modules = [ |  | ||||||
|         { |  | ||||||
|           name = "libpipewire-module-roc-source"; |  | ||||||
|           args = { |  | ||||||
|             fec.code = "rs8m"; |  | ||||||
|             remote.ip = "10.20.60.251"; |  | ||||||
|             remote.source.port = 10001; |  | ||||||
|             remote.repair.port = 10002; |  | ||||||
|             source.name = "Roc Sink"; |  | ||||||
|             source.props = { |  | ||||||
|               node.name = "roc-sink"; |  | ||||||
|             }; |  | ||||||
|           }; |  | ||||||
|         } |  | ||||||
|       ]; |  | ||||||
|     }; |  | ||||||
| 
 |  | ||||||
|     # Hardware configuration |     # Hardware configuration | ||||||
|     hardware.enableRedistributableFirmware = true; |     hardware.enableRedistributableFirmware = true; | ||||||
|     boot.initrd.availableKernelModules = [ |     boot.initrd.availableKernelModules = [ | ||||||
|  | |||||||
| @ -44,20 +44,18 @@ | |||||||
| 
 | 
 | ||||||
|     # Pipewire roc source |     # Pipewire roc source | ||||||
|     services.pipewire.extraConfig.pipewire."60-roc-source" = { |     services.pipewire.extraConfig.pipewire."60-roc-source" = { | ||||||
|       context.modules = [ |       "context.modules" = [ | ||||||
|         { |         { | ||||||
|           name = "libpipewire-module-roc-source"; |           "name" = "libpipewire-module-roc-source"; | ||||||
|           args = { |           "args" = { | ||||||
|             local.ip = "0.0.0.0"; |             "fec.code" = "rs8m"; | ||||||
|             resampler.profile = "medium"; |             "local.ip" = "0.0.0.0"; | ||||||
|             fec.code = "rs8m"; |             "resampler.profile" = "medium"; | ||||||
|             sess.latency.msec = 10; |             # sess.latency.msec = 10; | ||||||
|             local.source.port = 10001; |             "local.source.port" = 10001; | ||||||
|             local.repair.port = 10002; |             "local.repair.port" = 10002; | ||||||
|             source.name = "Roc Source"; |             "source.name" = "Roc Source"; | ||||||
|             source.props = { |             "source.props.node.name" = "roc-source"; | ||||||
|               node.name = "roc-source"; |  | ||||||
|             }; |  | ||||||
|           }; |           }; | ||||||
|         } |         } | ||||||
|       ]; |       ]; | ||||||
|  | |||||||
| @ -295,6 +295,25 @@ | |||||||
|       }; |       }; | ||||||
|     }; |     }; | ||||||
| 
 | 
 | ||||||
|  |     # Pipewire roc sink | ||||||
|  |     xdg.configFile."pipewire/pipewire.conf.d/60-roc-sink.conf" = { | ||||||
|  |       text = '' | ||||||
|  |         context.modules = [ | ||||||
|  |           { | ||||||
|  |             name = "libpipewire-module-roc-sink" | ||||||
|  |             args = { | ||||||
|  |               fec.code = "rs8m" | ||||||
|  |               remote.ip = "10.20.60.251" | ||||||
|  |               remote.source.port = 10001 | ||||||
|  |               remote.repair.port = 10002 | ||||||
|  |               sink.name = "Roc Sink" | ||||||
|  |               sink.props.node.name = "roc-sink" | ||||||
|  |             } | ||||||
|  |           } | ||||||
|  |         ] | ||||||
|  |       ''; | ||||||
|  |     }; | ||||||
|  | 
 | ||||||
|     # Enabled modules |     # Enabled modules | ||||||
|     modules = { |     modules = { | ||||||
|       # Communication |       # Communication | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Jan-Bulthuis
						Jan-Bulthuis