OBS.Ninja is a tool that can be seen as a mediator, negotiating a direct connection between a publishing device and a viewing device (such as OBS (Open Broadcasting Studio)). There are generally two links involved; one to push (publish) and one to pull (view), although links can be made to do both at the same time.
The viewer (receiver) and the publisher (sender) each play their own role in determining the qualities of a stream, so likewise each side has its own set of parameters available to them. A publisher can have multiple viewers access their video stream, with each viewer having the ability to customize the quality of the stream they receive.
The following guide details the options, syntax, values, and general use of these available settings/parameters; organized into three sections.
You can customize the playback of videos by adding query string parameters to the OBS.Ninja URL links, along with many other aspects. OBS.Ninja is highly flexible in this regard, letting you achieve your desired outcome without needing to code and without additional software.
For example, a simple viewer URL link such as
https://obs.ninja/?view=xxxxxxx could be amended to
https://obs.ninja/?view=xxxxxxx&bitrate=500, which will cause the viewer to receive the publisher's video stream at a video bitrate of 500-kbps.
Multiple parameters can be appended together by using the ampersand (
&) as a separating character. For example, to view the video stream published at stream ID
xxxxxxx at a video bitrate of 500-kbps and set the
stereo parameter to
Some parameters, like
view will accept a comma-separated list of valid values, so you can do some rather powerful combos, such as publish a video (using
push) while also viewing multiple others videos. OBS.Ninja will auto-mix the videos together into a single layout for you:
You might notice the stream ID values I'm using (ie:
bbb, etc); these can be manually created and reused. Use
&push=STREAMID to publish a video and
&view=STREAMID to remotely view it. If you don't manually specify a stream ID, OBS.Ninja will sometimes generate one for you.
A stream ID must also not already be in active use, else you will be provided with an error.