0 Replies Latest reply on Jan 16, 2013 2:55 AM by Dje073

    Set RTMP property swfUrl, pageUrl with connectionArguments ?

    Dje073

      Hi,

       

      I use osmf to read a stream. But this stream doesn't work if I don't provide the good swfUrl and pageUrl property to the rtmp.

       

      I tried to update these property using the connectionArguments like that :

       

      var connectionArguments:Vector.<Object> = new Vector.<Object>();

      connectionArguments.push({swfUrl:"http://monSwfUrl"});

      connectionArguments.push({pageUrl:"http://maPageUrl"});

      var resource:StreamingURLResource = new StreamingURLResource(“rtmp://monUrlStream”, StreamType.LIVE_OR_RECORDED, NaN, NaN, connectionArguments);

       


      The problem is that my properties are duplicated in the rtmp packet (Handshake C2 | connect)

       

      rtmp.jpg

       

      Is there something I'm missing ? Is there a solution to change these property with my own value ?

       

      Thanks in advance,