You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for your effort in this RTMP module. I have a special case. I want to delay the stream using on_publish hook due to the fact that I want to extract the audio and send it to the transcription service for subtitles. That is, the stream needs to be delayed so that transcriptions and the video would meet at the same time. Right now I can do it with ffmpeg but this is not ideal solution because there are multiple roundtrips between ffmpeg and RTMP server to accomplish the delay. I am using on_publish and put there sleep for a couple of seconds and make it wait.
If this is not possible, is there a way to increase the timeout of on_publish call. AFAIK, there is 10 secs. It would be good if it would be parametric so that I can customize it. If I need 30 secs for delay, I need to create 3 delayer applications on RTMP side.
I wish I helped with this issue but unfortunately, I do not know C lang. I search for some specific keywords such as timeout, on_publish, etc but due to the fact that the codebase is very sophisticated to me, there is no way for me.
Thanks in advance.
The text was updated successfully, but these errors were encountered:
Hi @sergey-dryabzhinsky,
Thanks for your effort in this RTMP module. I have a special case. I want to delay the stream using
on_publish
hook due to the fact that I want to extract the audio and send it to the transcription service for subtitles. That is, the stream needs to be delayed so that transcriptions and the video would meet at the same time. Right now I can do it with ffmpeg but this is not ideal solution because there are multiple roundtrips between ffmpeg and RTMP server to accomplish the delay. I am usingon_publish
and put there sleep for a couple of seconds and make it wait.If this is not possible, is there a way to increase the timeout of
on_publish
call. AFAIK, there is 10 secs. It would be good if it would be parametric so that I can customize it. If I need 30 secs for delay, I need to create 3 delayer applications on RTMP side.I wish I helped with this issue but unfortunately, I do not know C lang. I search for some specific keywords such as timeout, on_publish, etc but due to the fact that the codebase is very sophisticated to me, there is no way for me.
Thanks in advance.
The text was updated successfully, but these errors were encountered: