首页 文章

已签名的网址不适用于使用Flowplayer的 Cloud 端流媒体

提问于
浏览
2

我通过引用链接创建了带有签名网址的 Cloud 端分发:http://beckelman.net/2010/03/30/policy-signing-in-c-for-streaming-private-content-from-amazon-cloudfront/

以下是我的问题

  • 应该传递给'path'参数以获取'CloudFrontStreamingUrl()'方法中的签名网址? s3路径如:https://abc.s3.amazonaws.com/xyz.flv或rtmp://pqr.cloudfront.net/cfx/st/abc.flv?

  • 对于以下流媒体设置'netconnection url'将被签名url?或者物理文件名将被签名并传递给玩家

flowplayer("rtmpPlayer", "http://releases.flowplayer.org/swf/flowplayer-3.2.8.swf", {

    // configure the required plugins
    plugins:  {

        // the RTMP plugin
        rtmp: {
            url: "http://releases.flowplayer.org/swf/flowplayer.rtmp-3.2.8.swf",

            // netConnectionUrl has our CloudFront domain name + 'cfx/st'
            netConnectionUrl: 'rtmp://s3b78u0kbtx79q.cloudfront.net/cfx/st'
        }
    },

    clip: {
        // use the RTMP plugin
        provider: 'rtmp'
    }
});

1 回答

  • 0

    这似乎是最新版本中的回归 . 我有同样的问题,不得不回滚到3.2.5版本 .

相关问题