Hi,
I was trying to run sampleApps/Recording example. I can record and playback everything but the problem is WebCamera don't show any recorded video but it shows black screen. Playbar goes nicely. I've checked with the files stored in webdav. File also storing in webdav. Could anyone help me to figure out the problem.
Regards,
John
Views
Replies
Total Likes
Hi John,
Thank you on your report. To clarify, you do see a webcam flv file in your webdav recording storage, but you do not see it played back in the client application?
I would first check the obvious things, like making sure you have the webcam pod in your playback application and double-checking the client logs.
If that fails to give you any further clues as to what is going wrong it wouldn't be a bad idea to post a sample of your playback app.
That said, I haven't personally tested webcam recording myself so I will have to do that as well.
Nikola
Views
Replies
Total Likes
Hi John,
Which SWC version are you using? If Player 10 or above, I think there may
be a bug in the P2P code - it's supposed to switch to hub-and-spoke when
recording starts (which causes publishers to send streams through the
service for recording). Your existing recordings might not have the
audio/video streams recorded in them.
If you'd like to help test some workarounds to this bug, we'd love some
validation : switch to hub-and-spoke by default in the live app that will be
recorded.
this line of code in a creationComplete handler on the app that will be
recording, might do the trick :
myConnectSession.streamManager.maxP2PStreamPublish = 0;
Another possible workaround might be to use the Player 9 SWC for your app.
We've got a fix in progress that should make our next release, due somewhere
around a "bunch of weeks" timeframe. The solution, unfortunately, requires a
service update, so we can't just give you a patch SWC like we usually would.
Thanks for helping the beta with your feedback - please let us know if
either workaround has the desired effect.
nigel
Views
Replies
Total Likes
Hi Nigel,
I've run sampleApps/Recording in flash player 9,10 and 10.1. But couldn't see webcam playback. Actually webcam is not recorded as video stream. Worked only 2 times on April 28, but now not working.
Recording:
<?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">
<fx:Declarations>
<!-- Place non-visual elements (e.g., services, value objects) here -->
<rtc:AdobeHSAuthenticator id="auth" userName="Your Username" password="Your password" />
</fx:Declarations>
<fx:Script>
<![CDATA[
/**********************************************************
* ADOBE SYSTEMS INCORPORATED
* Copyright 2010 Adobe Systems Incorporated
* All Rights Reserved.
* NOTICE: Adobe permits you to use, modify, and distribute this file in accordance with the
* terms of the Adobe license agreement accompanying it.If you have received this file from a
* source other than Adobe, then your use, modification, or distribution of it requires the prior
* written permission of Adobe.
* *********************************/
import com.adobe.rtc.session.managers.SessionManagerPlayback;
import mx.utils.Base64Encoder;
import com.adobe.rtc.core.session_internal ;
import com.adobe.rtc.archive.ArchiveManager ;
private function onBtnClick():void
{
cSession.archiveManager.recordSession = record.selected ;
}
]]>
</fx:Script>
<rtc:ConnectSessionContainer id="cSession" authenticator="{auth}" width="100%" height="100%"
roomURL="Your RoomUrl" >
<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%" />
<mx:Button id="record" label="record" click="onBtnClick()" toggle="true" height="30" />
</mx:VBox>
</mx:HBox>
</rtc:ConnectSessionContainer>
</s:Application>
Playback:
<?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>
<!-- Place non-visual elements (e.g., services, value objects) here -->
<rtc:PlaybackAuthenticator id="auth" />
</fx:Declarations>
<fx:Script>
<![CDATA[
/**********************************************************
* ADOBE SYSTEMS INCORPORATED
* Copyright 2010 Adobe Systems Incorporated
* All Rights Reserved.
* NOTICE: Adobe permits you to use, modify, and distribute this file in accordance with the
* terms of the Adobe license agreement accompanying it. If you have received this file from a
* source other than Adobe, then your use, modification, or distribution of it requires the prior
* written permission of Adobe.
* *********************************/
]]>
</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>
Please help me figute out this issue.
Regards,
John
Views
Replies
Total Likes
Hi John,
As I say, you might have to do the recording in player 9, not just the
playback. I've confirmed that this consistently works for me.
nigel
Views
Replies
Total Likes
Hi Nigel,
Thanks for information. It's really work.
Regards,
John
Views
Replies
Total Likes