forked from antimof/UxPlay
-
Notifications
You must be signed in to change notification settings - Fork 133
Open
Description
-vrtp option stops sending RTP packets intermittently
Environment
- OS: macOS 14.0 (Sonoma)
- UXPlay version: 1.72
- GStreamer version: 1.26.5
- Device: iPhone SE 2 (iOS 18.0.1)
Description
The -vrtp option successfully establishes a GStreamer pipeline and initially sends RTP packets, but randomly stops sending packets after a few seconds or minutes. The UXPlay video window continues to display the iPhone screen smoothly, indicating the AirPlay connection is stable, but the RTP output ceases.
Command Used
uxplay -s 960x540 -fps 30 -vsync no -vd vtdec \
-vrtp "config-interval=1 ! udpsink host=127.0.0.1 port=5004"Expected Behavior
Continuous H.264 RTP packets should be sent to 127.0.0.1:5004 as long as the iPhone is connected via AirPlay.
Actual Behavior
- iPhone connects successfully via AirPlay
- UXPlay window displays iPhone screen smoothly (no lag or freezing)
- RTP packets are sent to port 5004 initially
- After ~5-60 seconds, RTP packets stop being sent
- UXPlay window continues to work normally
- No error messages in UXPlay output
This suggests the issue is specifically with the -vrtp GStreamer pipeline, not with the AirPlay reception or video decoding.
Reproduction Steps
- Start UXPlay with
-vrtpoption:uxplay -s 960x540 -fps 30 -vsync no -vd vtdec \ -vrtp "config-interval=1 ! udpsink host=127.0.0.1 port=5004" - Start a UDP listener on port 5004:
gst-launch-1.0 udpsrc port=5004 ! application/x-rtp,encoding-name=H264,payload=96 \ ! rtph264depay ! h264parse ! fakesink
- Connect iPhone via AirPlay to UXPlay
- Observe RTP packets being received initially
- Wait 30-60 seconds
- Observe that RTP packets stop arriving (GStreamer shows no new data)
- Note that UXPlay window continues to show iPhone screen smoothly
Tested Variations (all exhibit same issue)
# Without hardware decode
uxplay -s 960x540 -fps 30 -vsync no \
-vrtp "config-interval=1 ! udpsink host=127.0.0.1 port=5004"
# With explicit rtph264pay
uxplay -s 960x540 -fps 30 -vsync no -vd vtdec \
-vrtp "rtph264pay config-interval=1 ! udpsink host=127.0.0.1 port=5004"
# With h264parse in pipeline
uxplay -s 960x540 -fps 30 -vsync no -vd vtdec \
-vrtp "config-interval=1 ! h264parse ! udpsink host=127.0.0.1 port=5004"
# Different resolutions and framerates
uxplay -s 1280x720 -fps 60 -vsync no -vd vtdec \
-vrtp "config-interval=1 ! udpsink host=127.0.0.1 port=5004"All variations show the same behavior: packets flow initially, then stop.
GStreamer Debug Output
With GST_DEBUG=3, the logs show the pipeline is created successfully:
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels