xamarin.android - YouTube Video API Time Out -
i using xamarin mono android google api binding. receive http 308 error, timeout, when upload video that's larger 75 mb. unable cast videosinsertrequest.requestfactory gdatarequestfactory , set time out. no gdatarequestfactory exists. request factory of type icreatehttp , it's create method returns httpwebrequest. there way set youtuberequest's time out property or upload videos way?
googleauthenticator auth2; youtubeservice yt = new youtubeservice (auth2); string name = string.format("{0} {1}", etstatusupdate.text, datetime.now.tostring()); var videosinsertrequest = yt.videos.insert (helpers.makevideo (name, etstatusupdate.text), "snippet,statistics,status", makevideofilestream (), video_file_format); //((gdatarequestfactory)videosinsertrequest.requestfactory).timeout = 9999999; videosinsertrequest.progresschanged += videosinsertrequest_progresschanged; videosinsertrequest.responsereceived += videosinsertrequest_responsereceived;
i suggest use data api v3.
youtube direct lite project has uploads android.
Comments
Post a Comment