unable to download a file from rtmp server
Posted
by user309815
on Stack Overflow
See other posts from Stack Overflow
or by user309815
Published on 2010-04-07T06:08:15Z
Indexed on
2010/04/07
6:13 UTC
Read the original article
Hit count: 333
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.
© Stack Overflow or respective owner