View Single Post
  #1  
Old 07-16-2010, 01:07 PM
npadgett npadgett is offline
Junior Member
 
Join Date: Jul 2010
Posts: 2
npadgett is on a distinguished road
Default

Streaming to CDN


I am trying to use rtmplib via ffmpeg to stream my video to my CDN.

My CDN requires me to perform a handshake to retrieve a nonce. I am able to successfully request the nonce which is returned via AMF. However, because my CDN responds with a 403 response code, librtmp returns and error code of -1 and doesn't allow me to read the AMF response.

Is there a way for me to read the AMF response that was returned by my CDN via ffmpeg or librtmp?

The only solution I can think of would involve sending a rtmpt request outside of librtmp and scrape the response.

Thanks,
Nick
Reply With Quote