Expand my Community achievements bar.

Learn about Edge Delivery Services in upcoming GEM session

Restrict RTMPS protocol for playback

Avatar

Level 2

Hi,

I'm using player 10.1 lccs.swc.

I can restrict protocol to RTMPS from my recording application.

AdobeHSAuthenticator id="auth" userName="{userName}" password="{password}"

But I can't  restrict protocol to RTMPS from my playback application.

PlaybackAuthenticator id="auth" userName="{userName}" password="{password}"

If i use player 9 lccs.swc, it uses only RTMPS protocol. So it's work fine for recording. But sometimes it can't playback archieve. On the otherhand, player 10.1 lccs.swc works fine for playback using RTMFP protocol. It would be better if i can restrict using RTMPS protocol with player 10.1 lccs.swc, also can test playback scenario.

Is there any issue with RTMPS protocol for playback archive?

Regards,

John

2 Replies

Avatar

Level 3

can you show the code where you do the playback archieve?

Avatar

Level 2

Hi,

Please check the sample code:

<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
               xmlns:s="library://ns.adobe.com/flex/spark"
               xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600"
               xmlns:rtc="http://ns.adobe.com/rtc" xmlns:currentDir="*" >


    <fx:Declarations>
        <rtc:PlaybackAuthenticator id="auth" />
    </fx:Declarations>
   
    <fx:Script>
        <![CDATA[
          
        ]]>
    </fx:Script>
   
   
    <rtc:ConnectSessionContainer id="cSession" authenticator="{auth}" width="100%" height="100%" roomURL="XXXXXXXXXXXXXXXXXX" >                      
        <mx:HBox top="10" right="10" left="10" bottom="10" verticalGap="6" horizontalAlign="center">
            <mx:VBox width="100%" height="100%" >
                <rtc:SharedWhiteBoard id="swb" width="100%" height="100%" />
                <rtc:WebCamera id="myCamera" width="200" height="200" />
                <rtc:Note id="simpleNote" width="100%" height="100%" />
                <currentDir:PlaybackBar width="100%" height="200" />
            </mx:VBox>
        </mx:HBox>
    </rtc:ConnectSessionContainer>


</s:Application>

Regards,

John