Wowza stream authentication

Dave Kovalcik

New Member
Our wowza servers are secure and require a username and password to push an rtmp stream. There is an accepted format that wowza accepts and it is - rtmp://rtmp.myserver.com:1935/application?username&password
this does not work with the sample application when simply entering it into the server - is there another way to authenticate?
 

Dave Kovalcik

New Member
No go - tried a few iterations -
rtmp://wowza01.xyvid.com:1935/appname?uname:pass - this one works when we use FMLE to stream - but not in the program
rtmp://username:password@rtmp.myserver.com:1935/appname - this is a no go -

here is part of the server log when we use rtmp://wowza01.xyvid.com:1935/appname?uname:pass

"nodeId" : "lOhDZkQsGM6hzrBe39qXkk2xes4UHN1n@67.110.178.47",
"appKey" : "defaultApp",
"sessionId" : "127.0.0.1:-2233149000897908734",
"callId" : "Gp42TRz-kKFjCMc-rQgMjIZ-Sg4ZoPA",
"incoming" : false,
"status" : "SESSION_PROGRESS",
"caller" : "xyvidsip",
"callee" : "+12675748211",
"localVideoCodec" : "H264",
"remoteAudioCodec" : "PCMU",
"remoteVideoCodec" : "H264",
"createDate" : 1554839625798,
"hasAudio" : true,
"hasVideo" : false,
"visibleName" : "xyvidsip",
"mediaProvider" : "Flash",
"sipStatus" : 183,
"rtmpUrl" : "rtmp://wowza01.xyvid.com:1935/XYVI001?XXXXX:XXXXX",
"rtmpStream" : "1284",
"rtmpStreamStatus" : "RTMP_CONNECTION_FAILED",
"holdForTransfer" : false,
"id" : "Gp42TRz-kKFjCMc-rQgMjIZ-Sg4ZoPA_127.0.0.1:-2233149000897908734",
"msrp" : false,
"history" : false,
"history" : false

here is part of the server log when we use rtmp://username:password@rtmp.myserver.com:1935/appname
"nodeId" : "lOhDZkQsGM6hzrBe39qXkk2xes4UHN1n@67.110.178.47",
"appKey" : "defaultApp",
"sessionId" : "127.0.0.1:8806191707351615110",
"callId" : "ljpUe93Ba-XT0AN4m-MizDJhw-4Ak89jwk",
"incoming" : false,
"status" : "TRYING",
"caller" : "xyvidsip",
"callee" : "+12675748211",
"remoteVideoCodec" : "H264",
"createDate" : 1554839559575,
"hasAudio" : true,
"hasVideo" : false,
"visibleName" : "xyvidsip",
"mediaProvider" : "Flash",
"sipStatus" : 100,
"rtmpUrl" : "rtmp://XYVI001:XYVI001@wowza01.xyvid.com:1935/XYVI001",
"rtmpStream" : "1284",
"rtmpStreamStatus" : "RTMP_STREAM_WAIT",
"holdForTransfer" : false,
"id" : "ljpUe93Ba-XT0AN4m-MizDJhw-4Ak89jwk_127.0.0.1:8806191707351615110",
"msrp" : false,
"history" : false
 

Max

Administrator
Staff member
Does the callee send audio? Please send traffic dump and log for the RTMP_STREAM_WAIT case.
Try publishing to WCS (RTMP URL - rtmp://localhost:1935/live) - does the stream get published?
 

Dave Kovalcik

New Member
I can publish to your demo wowza server with no problem and it works fine - it is definitely in the authentication - your flash server has no authentication for stream name 'live' and the system works fine - also I dont know where the logs are for the traffic and the wait case -
 

Max

Administrator
Staff member
This format of RTMP URL - rtmp://wowza:1935/app?user&pass - is currently not supported. Created internal issue WCS-1917 for the implementation, will notify when there is an update.
 
Top