Expand my Community achievements bar.

SOLVED

Two way private audio cuts out/inconsistent

Avatar

Level 3

Hi,

I am trying to get decent quality two way private audio working but I seem to have problem when the second person starts publishing.

The audio on the first person starts to cut out when the second person starts publishing a private stream to the first person. When I stop publishing the second persons stream, the first stream returns to normal.

Has anyone else seen this?

I am using SPEEX and with echosuppression set to true.

Thanks,

Barry

1 Accepted Solution

Avatar

Correct answer by
Former Community Member

Hi Barry,

Are you able to run the PrivateStreamTest example in sampleApps. Try running that to see if your private audio works or not ( you can tweak that to create Audio Pub/Sub through actionscript ). Also, I hope have you turned on allowPrivateStreams in StreamManager for the room to true. Without this, no private streaming will work

Thanks

Hironmay Basu

View solution in original post

5 Replies

Avatar

Employee

hey barry, any chance you can send us a small code sample that reproduces the problem ?

Avatar

Level 3

Hi Raff,

I'll put together a small sample from my code tomorrow or the day after at the latest.

I'm creating the AudioSubscriber and AudioPublishers from Actionscript classes and not mxml components. That may be part of the reason, but other than that the code is pretty straightforward.

Thanks,

Barry

Avatar

Correct answer by
Former Community Member

Hi Barry,

Are you able to run the PrivateStreamTest example in sampleApps. Try running that to see if your private audio works or not ( you can tweak that to create Audio Pub/Sub through actionscript ). Also, I hope have you turned on allowPrivateStreams in StreamManager for the room to true. Without this, no private streaming will work

Thanks

Hironmay Basu

Avatar

Level 3

Hi Basu, Raff,

I set up a test with the sample PrivateStreamTest and I get the same result.

If I send private audio to another person on another machine, the audio works fine but once they try to send their private audio to me then my audio becomes greatly reduced. Actually it becomes almost inaudible. It seems to be a full duplex issue.

Originally I saw the problem when I was setting useEchoSuppression = true, but I actually get the problem regardless of whether I set this value. I am using SPEEX as the codec.

I am using the Flash 10 version of the lccs swc library.

I get the same results when I run in the browser or with an AIR application.

Barry

Avatar

Employee

We'll give it a try tomorrow. Stay tuned...

The following has evaluated to null or missing: ==> liqladmin("SELECT id, value FROM metrics WHERE id = 'net_accepted_solutions' and user.id = '${acceptedAnswer.author.id}'").data.items [in template "analytics-container" at line 83, column 41] ---- Tip: It's the step after the last dot that caused this error, not those before it. ---- Tip: If the failing expression is known to be legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)?? ---- ---- FTL stack trace ("~" means nesting-related): - Failed at: #assign answerAuthorNetSolutions = li... [in template "analytics-container" at line 83, column 5] ----