| CPC G06F 3/1454 (2013.01) [G06F 3/04817 (2013.01); G06F 3/165 (2013.01)] | 18 Claims |

|
1. An electronic device, wherein the electronic device is a screen casting transmit end and comprises a memory and a processor, the memory is coupled to the processor, the processor is configured to:
display an audio status switching control and a volume slider control in a display interface of the screen casting transmit end;
when the screen casting transmit end plays audio data based on a volume value corresponding to the volume slider control, after receiving a click operation on the audio status switching control, stop, by the screen casting transmit end in response to the click operation, outputting a sound, record mute in an audio status table as an initial audio status, and modify an icon corresponding to the audio status switching control from a non-mute icon into a mute icon;
play the audio data by using a screen casting receive end after the screen casting transmit end establishes a screen casting connection to the screen casting receive end; and
after receiving a click operation for switching a sound output device from the screen casting receive end to the screen casting transmit end, stop, by the screen casting transmit end in response to the click operation, sending the audio data to the screen casting receive end, keeping mute based on the initial audio status recorded in the audio status table, and keep the icon corresponding to the audio status switching control as the mute icon.
|