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

Can't compose segment duration using float #6

Open
cleanyong opened this issue Dec 19, 2021 · 0 comments
Open

Can't compose segment duration using float #6

cleanyong opened this issue Dec 19, 2021 · 0 comments

Comments

@cleanyong
Copy link

I checked your source code, looks like even in your spec the segment duration can be integer or float, but when I tried to compose that , it giving me error:

 no match of right hand side value: {:error, {:invalid_value, :duration, 2.05}}

Could you let me know the solution or do a quick fix? thanks.

the code is like this:

segment = %{duration: 2.05, uri: "1630060504-107.ts"
@cleanyong cleanyong changed the title Can't compose segment using float Can't compose segment duration using float Dec 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant