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

sending video/audio error #30

Closed
mu6m opened this issue Jan 10, 2023 · 4 comments
Closed

sending video/audio error #30

mu6m opened this issue Jan 10, 2023 · 4 comments
Labels
bug Something isn't working

Comments

@mu6m
Copy link

mu6m commented Jan 10, 2023

when i tried running it with this config file

#live server configurations
#######################################
#   RTMP configurations(stand-alone)  #
#######################################
[rtmp]
enabled = true
port = 1935

######################################
#    HLS configurations              #
######################################
[hls]
enabled = true
port = 8080

#######################################
#   LOG configurations                #
#######################################
[log]
level = "debug"

it logs this error

[2023-01-10T11:03:07Z ERROR rtmp::channels::channels] Transmiter send error: send audio error

[2023-01-10T11:03:07Z ERROR rtmp::channels::channels] Transmiter send error: send video error

i am using ffmpeg to stream the video

ffmpeg -re -stream_loop -1 -i a.mp4 -c:a copy -c:v copy -f flv -flvflags no_duration_filesize rtmp://localhost:1935/live/test
@harlanc
Copy link
Owner

harlanc commented Jan 10, 2023

what's your play url?

@mu6m
Copy link
Author

mu6m commented Jan 10, 2023

for hls
http://localhost:8080/live/test/test.m3u8
but it return 404

@harlanc harlanc added the bug Something isn't working label Jan 11, 2023
@harlanc
Copy link
Owner

harlanc commented Jan 11, 2023

You can use OBS to push the RTMP stream, I will check this problem.

@harlanc
Copy link
Owner

harlanc commented Jan 21, 2023

@mu6m I released a new version, the problem may be fixed, please try again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants