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

publish error #28

Open
FunnyDevs opened this issue Mar 22, 2020 · 0 comments
Open

publish error #28

FunnyDevs opened this issue Mar 22, 2020 · 0 comments

Comments

@FunnyDevs
Copy link

FunnyDevs commented Mar 22, 2020

Hi.` I'm not able to publish an audio file from windows . I have used code from srs_audio_raw_publish.c , but it always fails at

if ((nb_read = read(raw_fd, audio_raw, file_size)) != file_size) { srs_human_trace("buffer %s failed, expect=%dKB, actual=%dKB.", raw_file, (int)(file_size / 1024), (int)(nb_read / 1024)); goto rtmp_destroy;

Thank you

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