Question / Help help with media source and rtmp

Meescha

New Member
I need help i cant figure this out, Id like OBS to use rtmp as a source, and im running obs studio, ive set up media source to link to rtmp://<IP> and if tried rtmfp as well and nothing seems to work, i can view the rtmp through a video player, just obs does not want to run it. any idea?
 

Meescha

New Member
wow i just figured it out, its rtmp://<IP>//<streamkey>
since i dont have a path like harold suggested, so i just thought hmm how does the address seperate path from stream key if there is no path, so IP//streamkey works

before i was using rtmp://<IP>/<streamkey> so adding the extra / fixed it
 

RytoEX

Forum Admin
Forum Moderator
Developer
wow i just figured it out, its rtmp://<IP>//<streamkey>
since i dont have a path like harold suggested, so i just thought hmm how does the address seperate path from stream key if there is no path, so IP//streamkey works

before i was using rtmp://<IP>/<streamkey> so adding the extra / fixed it

If I had to guess, the software handling the RTMP requests looks for delimiters to separate elements in the URL. In this case, the delimiter would be a forward slash ("/"). Even if one of your elements is blank, you still need the delimiter in place so the software can determine that that element is blank.

Here are some nonsense values to illustrate (mostly for others happening upon this thread) what you've already discovered.

<ip>="355.355.355.355"
<path>=""
<streamkey>="thisistotallyastreamkey"
rtmp://<ip>/<path>/<stream key>
rtmp://355.355.355.355//thisistotallyastreamkey


This is why @Harold suggested the pattern "rtmp://<ip>/<path>/<stream key>", because it is still valid in your case.
 
Top