我正在使用 YouTube/Gdata API(在 python 中)上传视频。
通过 API 上传视频后,我会收到包含视频相关数据(Youtube 链接、ID 等)的响应。但是,该视频在 YouTube 编码期间(通常是几分钟)不会公开。
我能否指定 YouTube 在处理完视频后可以发布到的回调网址?
最佳答案
没有。
您需要poll using the video id to and check the 'state' of the video检测“处理”何时不再存在。
关于YouTube API : How to specify an API callback after an uploaded video has finished encoding?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7588239/