unable to download a file from rtmp server
- by user309815
Hi
Team I want to download an audio file from red5 server using rtmp server.
string strUri;
strUri = "rtmp://XXX/oflaDemo/" + Session["streamName"].ToString();
string strUploadto;
strUploadto = Server.MapPath("") + "\Audio\" + "myaudio.flv";
WebClient webClient = new WebClient();
//webClient.DownloadFile("rtmp://begoniaprojects.com/oflaDemo/" + Session["streamName"].ToString(), Page.MapPath("") + "\Audio\" +"myaudio.flv");
webClient.DownloadFile(strUri, strUploadto);
but i am getting uri prefix is not recognized message while downloading.
please suggest me.