How to get the file path using UMS?
Posted: Fri Jan 16, 2015 7:18 am
I have an web application installed on my "server machine" which is supposed to play videos that are located in the "recording machine". They both run windows.
I installed UMS on the Recording Machine and shared the video directory.
I can stream the videos perfectly using the default UMS page just by accessing: <recording machine IP>:9001. And when i play a video i get this url adress(format): http://10.134.220.118:9001/play/0%242%241%241%2410
But... that's not actually what i need.
I need to save the file path for every video recorded, and this path has to be "executable" from my web application which is in the "server machine"
For example:
In the recording machine:
- I record the actual video and save it in the VideoDiretory
- And also save a new record on a table from the "recording machine database" with the video path, so i can send the video path to be registered on my server machine.
- And at last the server machine must be able to run the video just by using the video path.
In resume: how can i get the videopath using UMS? (For example:10.134.220.118:9001/VideoDirectory/2015/January/myvideoname.mp4)
Is it possible ?
I installed UMS on the Recording Machine and shared the video directory.
I can stream the videos perfectly using the default UMS page just by accessing: <recording machine IP>:9001. And when i play a video i get this url adress(format): http://10.134.220.118:9001/play/0%242%241%241%2410
But... that's not actually what i need.
I need to save the file path for every video recorded, and this path has to be "executable" from my web application which is in the "server machine"
For example:
In the recording machine:
- I record the actual video and save it in the VideoDiretory
- And also save a new record on a table from the "recording machine database" with the video path, so i can send the video path to be registered on my server machine.
- And at last the server machine must be able to run the video just by using the video path.
In resume: how can i get the videopath using UMS? (For example:10.134.220.118:9001/VideoDirectory/2015/January/myvideoname.mp4)
Is it possible ?