mirror of
https://github.com/morgan9e/UxPlay
synced 2026-04-14 16:24:29 +09:00
Add -artp option for audio RTP output
Add a new -artp command-line option that routes decoded audio to an RTP stream instead of the local audio sink, following the existing -vrtp pattern for video. Usage: uxplay -artp "pt=96 ! udpsink host=127.0.0.1 port=5002" The implementation: - Decodes audio (AAC-ELD/ALAC) to PCM - Converts to S16BE format required by rtpL16pay - Preserves volume control for iOS volume adjustment - Sends L16 RTP packets (16-bit signed big-endian, 44100Hz, stereo)
This commit is contained in:
6
uxplay.1
6
uxplay.1
@@ -107,6 +107,12 @@ UxPlay 1.73: An open\-source AirPlay mirroring (+ audio streaming) server:
|
||||
is the remaining pipeline, starting with rtph26*pay options:
|
||||
.IP
|
||||
e.g. "config-interval=1 ! udpsink host=127.0.0.1 port=5000"
|
||||
.TP
|
||||
\fB\-artp\fI pl\fR Use rtpL16pay to send decoded audio elsewhere: "pl"
|
||||
.IP
|
||||
is the remaining pipeline, starting with rtpL16pay options:
|
||||
.IP
|
||||
e.g. "pt=96 ! udpsink host=127.0.0.1 port=5002"
|
||||
.PP
|
||||
.TP
|
||||
\fB\-v4l2\fR Use Video4Linux2 for GPU hardware h264 video decoding.
|
||||
|
||||
Reference in New Issue
Block a user