Publish Authorization

Publish Authorization

admin Staff asked 10 years ago
This may be the wrong place to ask — sorry. I use CRTMP server for my business that I have customized a good deal, including doing some custom authentication code that required some edits to "thelib" used by crtmpserver. Basically, I authenticate streams by having people publish to a URL like : rtmp://stream.server.com/live?token=PassWord Stream Name: MyStream This method works on ALL stream software (XSplit, OBS, etc.) whereas Adobe’s authentication method only works with Adobe’s software and wirecast near as I can tell. Then the player can go to this URL: rtmp://stream.server.com/live/MyStream to see the stream. in order to support this injection of the token, I had to edit : sources/thelib/src/protocols/rtmp/basertmpappprotocolhandler.cpp to validate that password in the ProcessInvokePublish method. The passwords are just stored in a very simple flat file. … My question is … if I were to use evostream server, would I be able to keep this "hack" or implement on publish authorization in a similar way? Are the evostream "bits" applications that run on top of crtmpserver, and I can modify crtmpserver still and run evostream ? Or is that not possible? Hopefully my question makes sense 🙂 Thanks much! Stephen



Offcanvas

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.