Closed ruifigueirinha closed 4 years ago
Please let me get the warning messages of ovenmediaengine.log when connection is dropped. and sorry, I don't know well about happytimesoft.
Here is the logfile that you asked. Thank you for the support. ovenmediaengine.log
@ruifigueirinha This problem occurs when only audio or video is published. Currently, OvenMediaEngine only supports streams with both audio and video tracks. And we are planning to implement Audio/Video only feature soon.
@dimiden I understand but I tried to publish Video and Audio with ffmpeg and got the same result
Nevermind, it works now. I just needed to add a silent audio channel to the rtsp stream of the ip camera. Thank you very much. In case anyone is wondering about the command here it is:
ffmpeg -f lavfi -i anullsrc=channel_layout=stereo:sample_rate=44100 -rtsp_transport tcp -re -i rtsp://localhost:8554/live.sdp -c:v copy -c:a aac -map 0:a -map 1:v -f flv rtmp://localhost:1935/app/stream
When I try to restream an RTSP stream into an RTMP push I get multiple lines with this warning and the connection drops. This happens with ffmpeg and with happytimesoft.