I can't get my microphone audio for my webcam to work. I have simplified the application to just entering a room one as the owner publishing audio / subscribing and the other user publishing/subscribing. When I demo this on my galaxy tab 10.1 my video works fine and I have rear camera (No audio). Trying this on my playbook video works fine and I have front camera, but no audio. When I run it through the adl, there are greyed out buttons displaying in the middle of my webcamera Detect and Close which of course my webcam on my mac doesnt fire-up, but hey it does on the device. Code is below trying to figure out why I still don't have audio in my session. Yes, I know the code is the for the guest login, I have tried inserted dev credentials with no difference.
<?xml version="1.0" encoding="utf-8"?>
<components:View xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark" xmlns:components="spark.components.*" xmlns:session="com.adobe.rtc.session.*"
xmlns:authentication="com.adobe.rtc.authentication.*" xmlns:pods="com.adobe.rtc.pods.*"
xmlns:collaboration="com.adobe.rtc.collaboration.*"
>
<fx:Script>
<![CDATA[
{
private function onAudioClick(p_evt:MouseEvent):void{
if ( p_evt.currentTarget.label == "Start Audio" ) {
audioPub.publish();
audioPub.useEchoSuppression = false ;
p_evt.currentTarget.label = "Stop Audio" ;
}else if (p_evt.currentTarget.label == "Stop Audio" ){
audioPub.stop();
p_evt.currentTarget.label = "Start Audio" ;
}
}
}
]]>
</fx:Script>
<components:states>
<s:State name="State1"/>
</components:states>
<session:ConnectSessionContainer id="cSession" autoLogin="true"
width="100%" height="100%"
roomURL="https://collaboration.adobelivecycle.com/ACCOUNT/ROOM">
<session:authenticator>
<authentication:AdobeHSAuthenticator userName="Guest"/>
</session:authenticator>
<pods:WebCamera width="100%" height="100%" />
<collaboration:AudioSubscriber id="audioSub" connectSession="{cSession}" publisherIDs="{[audioPub]}" />
<collaboration:AudioPublisher id="audioPub" connectSession="{cSession}" gain="100" />
<s:Button label="Start Audio" click="onAudioClick(event)" />
</session:ConnectSessionContainer>
</components:View>
Output from my console when logging in as a guest, seems to give me the right credentials, (auto-promote) just no audio. I removed the stuff with account name.
08:20:11 GMT-0500 | tempNetStatusHandler 0/2,NetConnection.Connect.Success |
08:20:11 GMT-0500 | isTunneling? false |
08:20:11 GMT-0500 | is using RTMPS? false |
08:20:12 GMT-0500 | RECEIVED LOGIN AT SESSION |
08:20:12 GMT-0500 | .user descriptor from server [object] |
08:20:12 GMT-0500 | \\ |
08:20:12 GMT-0500 | .userID [string]= GUEST-EC6C9E09-CCC0-4E58-BC15-3D67EB355442 |
08:20:12 GMT-0500 | .affiliation [number]= 5 |
08:20:12 GMT-0500 | .displayName [string]= Guest |
08:20:12 GMT-0500 | .role [number]= 50 |
08:20:12 GMT-0500 | RECEIVENODES UserManager |
08:20:12 GMT-0500 | receiveAllSynchData UserManager |
08:20:12 GMT-0500 | RECEIVENODES FileManager |
08:20:12 GMT-0500 | receiveAllSynchData FileManager |
08:20:12 GMT-0500 | checkManagerSync:[object FileManager] |
08:20:12 GMT-0500 | RECEIVENODES AVManager |
08:20:12 GMT-0500 | receiveAllSynchData AVManager |
08:20:12 GMT-0500 | checkManagerSync:[object StreamManager] |
08:20:12 GMT-0500 | RECEIVENODES RoomManager |
08:20:12 GMT-0500 | receiveAllSynchData RoomManager |
08:20:12 GMT-0500 | checkManagerSync:[object RoomManager] |
08:20:12 GMT-0500 | checkManagerSync:[object UserManager] |
08:20:13 GMT-0500 | RECEIVENODES default_WebCamera |
08:20:13 GMT-0500 | receiveAllSynchData default_WebCamera |
thanks
Anthony
Views
Replies
Total Likes
Hi Anthony,
Can you share more details, Like the flash player or AIR version on your tablet.
Can you also test your code on a desktop to ensure there are no errors and exceptions. I am guessing the code is stuck at an error, that is not displayed by your app.
I am hoping you are using the right SDK swc that matches with your Flash player. Also can you ensure that you are using the latest SDK.
One another thing, can you change your code (remove publisherIDs line from the AudioSubscriber.
<collaboration:AudioSubscriber id="audioSub" connectSession="{cSession}" publisherIDs="{[audioPub]}" />
to
<collaboration:AudioSubscriber id="audioSub" connectSession="{cSession}" />
Thanks
Arun
Views
Replies
Total Likes
adobe air 3.1.0.556 on my tablet
I am using the new mobile sdk
Changed the code, still no audio. Is there a configuration method which turns up logging of the device to see if its polling the microphone?
thanks
Anthony
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies