Pull request: -objEnc opt flag for rtmpdump
I was recently dumping some videos for a client and found a major CDN disconnecting on me after streaming just a small bit of content. After extensively diff-ing the packet exchanges from rtmpdump with that of a working SWF through rtmpsuck, the only major difference was the SWF specifying AMF3 objectEncoding on connect. As odd as that may sound, when I forced rtmpdump to connect specifying AMF3, I no longer received any peer disconnects. Just in case others run into this same problem, here's a link to a commit modifying rtmpdump to more readily set objectEncoding via opt flag: https://github.com/foysavas/rtmpdump/commit/2c2ae7b79251c72303c4f4b1d94c8a25... Best, Foy
Foy Savas wrote:
I was recently dumping some videos for a client and found a major CDN disconnecting on me after streaming just a small bit of content.
After extensively diff-ing the packet exchanges from rtmpdump with that of a working SWF through rtmpsuck, the only major difference was the SWF specifying AMF3 objectEncoding on connect. As odd as that may sound, when I forced rtmpdump to connect specifying AMF3, I no longer received any peer disconnects.
Just in case others run into this same problem, here's a link to a commit modifying rtmpdump to more readily set objectEncoding via opt flag:
https://github.com/foysavas/rtmpdump/commit/2c2ae7b79251c72303c4f4b1d94c8a25...
Individual option flags for rtmpdump are being phased out. New options should be added to librtmp.
On Tue, Oct 30, 2012 at 2:51 PM, Howard Chu <hyc@highlandsun.com> wrote:
Individual option flags for rtmpdump are being phased out. New options should be added to librtmp.
Thanks Howard! Give me a few days and I'll find the time to add an equivalent option within librtmp.
participants (2)
-
Foy Savas -
Howard Chu