mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	pipewire-aes67: recommend using ifname
It's better for PHC identification in multi-NIC systems. PHC numbering might be dependent on the probe order yet no bugs was observed. Still recommend this for more comfortable configuration. Also added some guidance on what must be changed
This commit is contained in:
		
							parent
							
								
									5edd3f240b
								
							
						
					
					
						commit
						e4a9f800c8
					
				
					 1 changed files with 7 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -36,9 +36,11 @@ context.objects = [
 | 
			
		|||
            # This driver should only be used for network nodes marked with group
 | 
			
		||||
            priority.driver = 100000
 | 
			
		||||
            clock.name      = "clock.system.ptp0"
 | 
			
		||||
            #clock.id        = tai
 | 
			
		||||
            clock.device    = "/dev/ptp0"
 | 
			
		||||
            ### please select the PTP hardware clock here
 | 
			
		||||
            # Interface name is the preferred method of specifying the PHC
 | 
			
		||||
            #clock.interface = "eth0"
 | 
			
		||||
            clock.device    = "/dev/ptp0"
 | 
			
		||||
            #clock.id        = tai
 | 
			
		||||
            object.export   = true
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
| 
						 | 
				
			
			@ -60,6 +62,7 @@ context.modules = [
 | 
			
		|||
    { name = libpipewire-module-adapter }
 | 
			
		||||
    { name = libpipewire-module-rtp-sap
 | 
			
		||||
        args = {
 | 
			
		||||
            ### please select the interface here
 | 
			
		||||
            local.ifname = eth0
 | 
			
		||||
            sap.ip = 239.255.255.255
 | 
			
		||||
            sap.port = 9875
 | 
			
		||||
| 
						 | 
				
			
			@ -98,6 +101,7 @@ context.modules = [
 | 
			
		|||
    },
 | 
			
		||||
    { name = libpipewire-module-rtp-sink
 | 
			
		||||
        args = {
 | 
			
		||||
            ### please select the interface here
 | 
			
		||||
            local.ifname = eth0
 | 
			
		||||
            destination.ip = 239.69.150.243
 | 
			
		||||
            destination.port = 5004
 | 
			
		||||
| 
						 | 
				
			
			@ -108,6 +112,7 @@ context.modules = [
 | 
			
		|||
            sess.max-ptime = 1
 | 
			
		||||
            sess.name = "PipeWire RTP stream"
 | 
			
		||||
            sess.media = "audio"
 | 
			
		||||
            ### please select the PTP grandmaster ID here
 | 
			
		||||
            sess.ts-refclk = "ptp=traceable"
 | 
			
		||||
            sess.ts-offset = 0
 | 
			
		||||
            sess.ptime = 1
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue