cosi Posted February 6 Share Posted February 6 I have a video file on my server(ant media also installed on same server). It's quite large(12gb) and I don't want to wait for it download on my local machine then upload it again. Is their any way of adding video file to vod? Link to comment Share on other sites More sharing options...
0 Tim Posted February 6 Share Posted February 6 Please refer to the rest api here https://antmedia.io/rest/#/ and use the endpoint POST /v2/vods/directory to import a vod file from a directory. This should achieve what you are looking for, but please let us know its not what you need. Link to comment Share on other sites More sharing options...
0 cosi Posted February 6 Author Share Posted February 6 Unauthorized, from where to get headers/token Link to comment Share on other sites More sharing options...
0 Tim Posted February 7 Share Posted February 7 Did you get a 403 Forbidden response? If so, can you check to see if you have IP/JWT filtering enabled? It looks like either one of these options have been selected if you are unauthorized. Please refer to this documentation on how to enable or disable rest API security https://resources.antmedia.io/docs/securing-the-rest-api. Link to comment Share on other sites More sharing options...
0 usama Posted February 7 Share Posted February 7 @cosi you can set the path to your vod in the application settings please go to your application settings there will be an option called VoD Streaming Folder enter the full path of the folder in which your file is present Link to comment Share on other sites More sharing options...
Question
cosi
I have a video file on my server(ant media also installed on same server). It's quite large(12gb) and I don't want to wait for it download on my local machine then upload it again. Is their any way of adding video file to vod?
Link to comment
Share on other sites
Top Posters For This Question
2
2
1
Popular Days
Feb 6
3
Feb 7
2
Top Posters For This Question
Tim 2 posts
cosi 2 posts
usama 1 post
Popular Days
Feb 6 2023
3 posts
Feb 7 2023
2 posts
4 answers to this question
Recommended Posts