webrtc-streamer icon indicating copy to clipboard operation
webrtc-streamer copied to clipboard

how to install in centos? I run the docker, but it doesn't work.

Open zhuchuanyue opened this issue 4 years ago • 8 comments
trafficstars

Is your feature request related to a problem? Please describe. A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like A clear and concise description of what you want to happen.

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.

Additional context Add any other context or screenshots about the feature request here.

zhuchuanyue avatar Jul 12 '21 06:07 zhuchuanyue

Hi zhuchuanyue,

In order to receive help, you need to describe what means "doesn't work". Maybe some error messages ?

Best Regards, Michel.

mpromonet avatar Jul 12 '21 09:07 mpromonet

image

zhuchuanyue avatar Jul 12 '21 09:07 zhuchuanyue

Hi zhuchuanyue,

Then it is running and receive calls. If you don't have video, it maybe because of STUN problem in docker. Adding --net=host may help.

Best Regards, Michel.

mpromonet avatar Jul 12 '21 09:07 mpromonet

ok,thanks, I can have the video.

zhuchuanyue avatar Jul 13 '21 01:07 zhuchuanyue

image

Hi, I open one live video, the cpu is over 100%, how can I resolve this question ?

zhuchuanyue avatar Jul 13 '21 02:07 zhuchuanyue

Hi zhuchuanyue,

An option to reduce the cpu consomption is to use the -o argument, it works only for H264 source and will forward the frame. Then there is no possible adaptation (codec, scale, gop, ....) but it use less cpu removing decoding/encoding.

Best Regards, Michel.

mpromonet avatar Jul 13 '21 10:07 mpromonet

yes, I try it by use the -o, the cpu reduced, but the video loading is slow, about 10 seconds.

zhuchuanyue avatar Jul 14 '21 05:07 zhuchuanyue

Hi,

This depends on the gop of your backend, the first image need to wait for an I-frame, appending more I-frame to the backend stream should reduce this.

Best Regards, Michel.

mpromonet avatar Jul 17 '21 18:07 mpromonet