iamscottxu / obs-rtspserver

RTSP server plugin for obs-studio
https://obsproject.com/forum/resources/obs-rtspserver.1037/
GNU General Public License v2.0
441 stars 55 forks source link

Output immediately paused? #59

Closed hailwood closed 3 years ago

hailwood commented 3 years ago

As soon as I start the RTSP-Server the output appears to get paused -

Obs-studio 27.0.0-rc5 & rc6 Ubuntu 21.04

14:27:54.990: [NVENC encoder: 'rtsp_output_video'] settings:
14:27:54.990:   rate_control: CBR
14:27:54.990:   bitrate:      10000
14:27:54.990:   cqp:          0
14:27:54.990:   keyint:       250
14:27:54.990:   preset:       hq
14:27:54.990:   profile:      high
14:27:54.990:   width:        1920
14:27:54.990:   height:       1080
14:27:54.990:   2-pass:       false
14:27:54.990:   b-frames:     2
14:27:54.990:   psycho-aq:    1
14:27:54.990:   GPU:          0
14:27:54.990: 
14:27:55.087: libfdk_aac encoder created
14:27:55.087: libfdk_aac bitrate: 160, channels: 2
14:27:55.088: starting rtsp frame push thread
14:27:55.088: starting rstp server on port '8554'
14:27:55.275: output RTSP Output paused
brodi1 commented 3 years ago

Hi @hailwood! Is at least one client connected? If so does the streaming work?

I have tested it with OBS 27.0.0 and as soon as a client is connected the RTSP output is immediately unpaused. It works for me .....

hailwood commented 3 years ago

Edit: Never mind, vlc on Ubuntu needs to be installed via snap rather than the .deb for it to play rtsp streams apparently. As soon as I switched to that install method and connected we're good to go :)


Hi @brodi1,

I tried connecting with VLC and it just hangs indefinitely and nothing changes in the output image

Of note, something is happening because as soon as I stop the RTSP server VLC shows image

I've tried different ports etc

Don't know if it matters, but these are my stream output settings image