gui.py 文件源码

python
阅读 23 收藏 0 点赞 0 评论 0

项目:high-quality-chat 作者: b6938236 项目源码 文件源码
def toggle_mute(self):
        # Toggles the linphone mic
        self.app.phone.toggle_mic()

        # Update the mic image
        if self.app.phone.core.mic_enabled:
            self.app.chat_client.send_sync(constants.SYNC_MIC_ON)
            self.ids.mute_button.source = SessionScreen.un_muted_mic_image
        else:
            self.app.chat_client.send_sync(constants.SYNC_MIC_OFF)
            self.ids.mute_button.source = SessionScreen.muted_mic_image
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号