-
Notifications
You must be signed in to change notification settings - Fork 3
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
Audio seg duration #153
Comments
added these changes with #154 |
@elv-gerald, @elv-zenia The above solution that I gave is very simple and it covers most of the use cases that we have. But to cover all the cases we need more work to be done.
This should cover all the cases and we need to test it with many different input streams (close the issue after testing). |
Does the above apply to both udp and rtmp? |
Applies to both. |
Will make other necessary changes but for now, updated the live stream app to use the fixed value 29.76 * 48000. Deployed on demo, prod-dev, and prod. |
The function
calcSegDuration()
has a bug in setting audio seg duration.The function can simply set the audio seg duration to
29.76 * 48000
for all the cases as follows. Notice that the audio seg duration does not have dependency to video frame rate at all and must not be determined by that.linke to the code:
elv-live-js/src/LiveConf.js
Line 50 in ba848d4
The text was updated successfully, but these errors were encountered: