Thanks for your reply. And may I ask some more questions? Thanks a lot.
1. Is it possible that weston shows UI on LCD and displays video over HDMI at the same time? And how to do it?
2. Does kmssink (gstreamer plugin) support hotplug? And how to do it? The gstreamer can decode and output video stream over HDMI, but when I unplug HDMI and plug in again, there's nothing output anymore from HDMI.