Hi,
I've also just tried OBS to stream to Wowza. After some failed attempts I know now how to successfully stream to Wowza and also play the stream.
OBS doesn't seem to be able to define a stream name.
Take this example URL:
rtmp://localhost:1935/live/myStream
The URL format is as follows:
[protocol]://[address]:[port]/[application]/[appInstance]/[streamName]
[appInstance] is optional and defaults to _definst_ when no name is specified like in the above example eventually becoming
rtmp://localhost:1935/live/_definst_/myStream
OBS treats everything after the application name (live) as an instance and doesn't allow to define a stream name. Thus the stream name is just an empty string resulting in the following playable URL:
rtmp://localhost:1935/live/myStream/
Note the last slash.
This is identical to
rtmp://localhost:1935/live/myStream/.flv
It's easy to test with the
JW Player Wizard
Just input the URLs.
The Wowza logs support my theory.
Let's take an example using Flash Media Live Encoder with the following stream parameters:
FMS URL:
rtmp://localhost:1935/live
Stream: myStream
This stream is perfectly playable with any flash player using the default naming scheme.
Again in
JW Player Wizard just input this URL:
rtmp://localhost:1935/live/myStream
And the Wowza log:
Code:
INFO application app-start _definst_ live/_definst_
INFO session connect-pending 127.0.0.1 -
INFO session connect 127.0.0.1 -
INFO stream create - -
INFO stream publish myStream -
Now the same with OBS.
Server:
rtmp://localhost:1935/live/myStream
To make it play in any flash player you need to input any of the following URLs:
rtmp://localhost:1935/live/myStream/
rtmp://localhost:1935/live/myStream/.flv
Wowza log:
Code:
INFO application app-start myStream live/myStream
INFO session connect-pending 127.0.0.1 -
INFO session connect 127.0.0.1 -
INFO stream create - -
INFO stream publish - -
I hope my post is not too much of a mess and I could make myself clear.
It would be nice if OBS could provide an option to define a stream name.
Anyway thank you for the great piece of software!