Wowza Community

url recording

Hello,

I trying to record using the url recording method.

http://[username]:[password]@[wowza-ip-address]:8086/livestreamrecord?app=live&streamname=myStream&action=startRecording

has redirected me to:

http://[wowza-address]:8086/livestreamrecord/index.html

page shows

livestreamconst[stop recording][split recording]

Recording in progress

Recording Option = Version

File = null/null

and in the error log I see:

HTTPRequestAdapter.service : java.lang.NullPointerException|at java.lang.String.<init>(Unknown Source)|at com.wowza.wms.authentication.AuthenticateBasic.authenticateHTTPProvider(AuthenticateBasic.java:167)|at com.wowza.wms.http.HTTProvider2Base.doHTTPAuthentication(HTTProvider2Base.java:280)|at com.wowza.wms.livestreamrecord.http.HTTPLiveStreamRecord.onHTTPRequest(HTTPLiveStreamRecord.java:101)|at com.wowza.wms.http.HTTPRequestAdapter.service(HTTPRequestAdapter.java:33)|

No file is being created in the default location, but it still says “Recording in progress” any suggestions on what would be wrong would be great.

Regards,

Ben

Hello Ben,

Can you please verify that your query string is entered correctly and that the user name and password are also correct. Also, are you able to play back the live stream that you are attempting to record?

Salvadore

It will work on a Wowza edge, but the stream name will have to be .stream file and be pre-started with the MediaCaster system using MediaCaster type “liverepeater”. If you are using the Application.xml /OriginURL and a simple stream name in the player, you have to use .stream file instead, with the whole rtmp url. For example a file named origin.stream in the /content folder with contents: “rtmp://[wowza-origin-server]/liveorigin/myStream”. Then use origin.stream as the streamname.

Richard

Hi Ben,

Can you check in your conf/VHost.xml file what kind of authentication method you have configured for the “livestreamrecord” http listener, which is configured for port 8086?

Here are the default settings:

<HTTPProvider>
      <BaseClass>com.wowza.wms.livestreamrecord.http.HTTPLiveStreamRecord</BaseClass>
      <RequestFilters>livestreamrecord*</RequestFilters>
      <AuthenticationMethod>admin-digest</AuthenticationMethod>
</HTTPProvider>

Zoran

Hello Ben, for the most efficient troubleshooting support I think it would be best to open a support ticket.

Please re-start Wowza, re-test your recording procedure, and then zip up the /conf and /log folders and send them to support@wowza.com

Provide as much detail about your streaming and server configurations, the problems you are experiencing, and a link to this thread as a reference.

Thanks.

Salvadore

Hi Salvadore,

Yes the live stream is running and I am able to play it. Double checked the password which I am using and this is also correct, can I also check what Access Level this user would need?

On the livestreamrecord/index.html page if I stop the recording which didn’t start from the url method and hit start recording manually then a file is created correctly.

Ben

Hi Zoran,

It is set to, admin-basic, I changed it back to admin-digest but that comes up with an addition pop-up box asking for username and password again. If i do type in the user name and password again I see,

livestreamconst[stop recording][split recording]

Recording in progress

Recording Option = Version

File = null/null

On the page.

Ben

Been pointed to the solution the url method but doesn’t like being used on edges but will work on the origin in an origin-edge set-up.

Thanks all who tried to help.

Ok,

Thank you for the information, I’ll give that a try.

Ben