MaartenBaert / ssr

SimpleScreenRecorder, a screen recorder for Linux
http://www.maartenbaert.be/simplescreenrecorder/
GNU General Public License v3.0
2.54k stars 289 forks source link

user name and password for RTMP server #792

Open mike5061 opened 4 years ago

mike5061 commented 4 years ago

I have a RTMP server host which requires a username and password to host the live stream Is it possible to do this maybe via CLI or GUI Thanks Mike

MaartenBaert commented 4 years ago

I've never heard of such a mechanism, usually you get a RTMP url, which you can paste into the 'file' field in SSR.

mike5061 commented 4 years ago

to live stream this is the info i need to supply rtmp://wowzacontrol.com:1935/8014 stream key xxxx user name xxxx password xxxxxxxxxxx

Here is the output from the gui log

[PageRecord::StartPage] Starting page ... [PageRecord::StartPage] Started page. [PageRecord::StartOutput] Starting output ... [Muxer::Init] Using format mkvtimestamp_v2 (extract pts as timecode v2 format, as defined by mkvtoolnix). [Muxer::Init] Error: Can't open output file! [rtmp @ 0x561e27cc7060] No credentials set [rtmp @ 0x561e27cc7060] Server error: [ AccessManager.Reject ] : [ code=403 need auth; authmod=adobe ] : [PageRecord::StartOutput] Error: Something went wrong during initialization.

Thanks Mike

MaartenBaert commented 4 years ago

I have no experience with Wowza. But this might help: https://www.wowza.com/community/questions/3794/ffmpeg-and-rtmp-authentication.html

SSR uses the FFmpeg libraries for encoding and formatting, so if you can get it to work with FFmpeg then the same will probably work for SSR.

Note that although streaming with SSR is technically possible, it is not really the main use of this application and I can't debug all possible problems that might arise. If you need more advanced features you may want to try OBS instead.