Hi Marc-André & iordanov
The gstreamer backend should be improved, with the end goal to drop the pulse backend. But changing latency dynamically with GStreamer seems to be tricky. Help welcome!
It's really problem as Marc said about for latency of gstaudio, it's pretty in some pure audio case like music, of cause it has terrible performance problems with video streaming, i suggest that
you can change this option (enable audio) dynamically in the spice session and disable the audio output in my choice by default.
Thanks,
- Jojo
在 2013年9月21日星期六,上午12:10,i iordanov 写道:
Hi Jojo and SPICE developers,First of all, Jojo, thank you for your contribution to aSPICE. I amcurrently working on integrating your audio code into the main trunk.I have also noticed that audio and video get out of sync. The issueseems to be more severe when the bandwidth of the connection is lower.At home, my phone achieves about ~21Mbit/s with my current router, andat work it achieves ~38Mbit/s. At 21Mbits/s, the issue is quitesevere, but at 38Mbit/s it is a lot less noticeable. My hypothesis isthat the sync issue occurs in part due to bandwidth limitations.Perhaps with a 802.11N device that is connected at 150Mbit/s or more,the issue will not be nearly as noticeable. A typical test of mineconsists of playing a video through youtube, keeping the video sizedefault. Can somebody comment on the bandwidth requirements of such ascenario and whether my observations are in line with expectations?Regardless of what is exacerbating the out of sync issue, in thefuture we should be making use of timestamps in order to ensure thataudio and video are synced even in scenarios with limited bandwidth.This would require dropping either audio packets or video frames, andwe can have an option that controls which one is prioritized. Cansomebody comment on that?I am thinking that performance will be impacted by audio for themajority of users at the moment, and there should be an option to turnit on or off. I have not made up my mind what the default should be,though, what do you guys think?Thanks!iordanOn Sun, Sep 8, 2013 at 11:45 AM, jojo <rjiejie@xxxxxxxxx> wrote:Hi,Is someone maintaining the playback channel of gstaudio ?it looks like behind pulseaudio with some feature :(Thanks,- Jojo在 2013年9月6日星期五,上午11:00,jojo 写道:Hi,I use "gstaudio" to enable the audio output in android platform,but there is the sync issue with this approach, it looks like the pulseaudio isthe better choice.I research some pulse audio porting in android, some ugly problem looks likebellow which i think about :* much more device(driver) maybe can not used by PA, they implement with HALlayer with AudioFlinger* can not use PA as the regular NDK app in NDK, this will be done by OEM intheir deviceam i right ?Thanks,- Jojo--The conscious mind has only one thread of execution.
_______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/spice-devel