[RFC] streaming: Restart streams on video-codec changes

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

 



Hello,

I've prepared these two patches that enables "hot-swapping" of the
video-codec used for streaming. It goes along with the previous series
under review for client/admin modification of the preferred codec
list.

Before this patch, the preferred video codec list was change in
RedServerConfig->video_codecs and DisplayChannel->priv->video_codecs,
but the on-going encoding of video streams remained performed by the
original encoder/codec.

With this patch, we interrupt the streaming, similary to when a
timeout occurs. The stream is automatically restarted with the new
preferred codec.

This interruption has to be performed in two places: when the client
sets the preferred codecs, and when the admin changes the allowed
codec list.


Let me know if this is the right approach.



best regards,

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




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