I've stumbled upon a problem regarding RTMP and the swf_url. How do I pass for example cookies to use to the RTMPVideoURL function?
Currently I see a '403 Forbidden' when the swf_url is requested. I don't know if it is a cookie issue(or Referrer) etc, but I have a log where it succeeds(logged from the corresponding webpage)
If you return a RTMPVideoURL() from your PlayVideo() using an IndirectResponse(), you can add in cookies which will be used by the client (or transcoder) when making the necessary playback http requests. I couldn't find an example where that's been done with RTMP but I did find one for HLS in the NBC URL Service. Obviously HLS and RTMP are very different but the way the cookies are handled via the framework should be similar enough for illustration purposes :)
If you return a RTMPVideoURL() from your PlayVideo() using an IndirectResponse(), you can add in cookies which will be used by the client (or transcoder) when making the necessary playback http requests. I couldn't find an example where that's been done with RTMP but I did find one for HLS in the NBC URL Service. Obviously HLS and RTMP are very different but the way the cookies are handled via the framework should be similar enough for illustration purposes :)
It worked! But sadly this did not solve my problem, seems to be something other than cookies to get rid of that 403 ...
However I found another way around this problem and didn't have to use RTMP, but it is still good to know how this works if a another situation demands it. Thanks for your fast response!