Re: mm-time handling is broken

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi

----- Original Message -----
> 
> spice-gtk updates the mm-time based on the audio playback channel and
> then uses it to compute the video delay of the video streams if any.
> 
> More precisely whenever spice_playback_channel_set_delay() is called it
> takes the mm-time of the last audio packet it received, and substracts
> the delay from it to it to compute the new mm-time.
> 
> There are two issues:
> 1) First if a video plays with no sound, e.g. 'mplayer -nosound', then
>    the playback only receives a single SpiceMsgPlaybackStart packet
>    when the client connects. This means any call to
>    spice_playback_channel_set_delay() will reset the mm-time to a
>    constant value.

I thought the server was sending regular mm-time messages on main channel for this case, I may well be wrong.

> 2) Second, for an as yet unknown reason, if you start playing a video,
>    disconnect the client without stopping the video, and reconnect
>    the client, the audio stream does not seem to resume as expected,
>    resulting, again, in a constant mm-time.

That's weird, is it that easy to reproduce? Could you open a bug and provide client logs?

thanks
_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]