Record api not recording stream at expected location

Record api not recording stream at expected location

Support ForumCategory: Usage and FeaturesRecord api not recording stream at expected location
vpawar asked 11 years ago
Hi, I’m evaluating evostream media server for our application. One of the use case of our application is to record videos from end user and make it available later for playback. Before the end user starts recording, I’m issuing following command to evostream media server from my application server. This is done so that the video files are created at location determined by the app server: record localstreamname=v1 pathtofile=/home/mediaserver/v1 type=flv �{"data":{"computedPathToFile":"/home/mediaserver/v1.flv","configId":2,"keepAlive":true,"localStreamName":"v1","operationType":5,"overwrite":false,"pathToFile":"/home/mediaserver/v1.flv","type":"flv"},"description":"Recording Stream","status":"SUCCESS"} The end user records video using webcam and stops. At this point, I was expecting the flv file to be created at location /home/mediaserver/v1.flv. However, I get following log messages on the server console: /thelib/src/application/baseclientapplication.cpp:264 Stream INR(18) with name `v1` unregistered from application `evostreamms` from protocol IR(18) /thelib/src/application/baseclientapplication.cpp:253 Stream NR(21) with name “ registered to application `evostreamms` from protocol IR(18) /thelib/src/streaming/baseoutstream.cpp:93 BaseOutStream::UnLink: This stream is not linked /thelib/src/application/baseclientapplication.cpp:264 Stream NR(21) with name “ unregistered from application `evostreamms` from protocol IR(18) /applications/evorouter/src/application/originapplication.cpp:1299 Input stream v1 not available yet. Recording scheduled on /home/mediaserver/v1.flv The file v1.flv is available in media directory of evostream. Can you please help me understand what am I missing or what is happening here? My basic use case is: a) record video from end user b) dump the record video in flv format at pre-determined location. This need not be media directory of evostream. Any help to achieve this will be greatly appreciated. Regards, Vinayak



Offcanvas

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.