Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🚀 Feature: 我们在直播中需要动态插入文案,并且这个文案只合成并播放一次,和弹幕的语音合成播放一样,只不过是我们通过逻辑生成 #933

Open
guozanhua opened this issue Jul 23, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@guozanhua
Copy link

希望能解决的问题

我们在直播中需要动态插入文案,并且这个文案只合成并播放一次,和弹幕的语音合成播放一样,只不过是我们通过逻辑生成,如果要实现这个功能,应该如何实现

描述所需要的功能

我们在直播中需要动态插入文案,并且这个文案只合成并播放一次,和弹幕的语音合成播放一样,只不过是我们通过逻辑生成,如果要实现这个功能,应该如何实现

@guozanhua guozanhua added the enhancement New feature or request label Jul 23, 2024
@Ikaros-521
Copy link
Owner

Ikaros-521 commented Jul 24, 2024

那得先确定是什么逻辑生成,至于如何触发,简单点可以直接调用api:https://www.bilibili.com/video/BV1Aw41147VV,推荐参考 聊天页 直接复读功能:

# 发送 聊天框内容 进行复读
def talk_chat_box_reread(insert_index=-1, type="reread"):

正常的话是配合my_handle内部的 各个handle函数来触发

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants