Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

AudioPublisher & AudioSubscriber

Avatar

Level 4

so i've got a session all nicely authed and logged in, after which i'mdoing this:

_audioPublisher = new AudioPublisher();
_audioPublisher.connectSession = _connectSessionProxy.connectSession;
_audioPublisher.subscribe();


_audio = new AudioSubscriber();
_audio.connectSession = _connectSessionProxy.connectSession;
_audio.subscribe();


_audioPublisher.publish();

now, we've done a quick test, a friend and myself, and he could hear me perfectly but i only heard a single sentence from his end. i was the room owner, he a publisher. is there any reason why i should only have heard that single sentence?

4 Replies

Avatar

Level 10

Hi,

I don't see any reason off hand, why you could hear just one sentence from him. Does this happen always ?

When you publish, he should hear you completely and vice versa. Are you using P2P and rtmfp ? Which codec are you using? These are some questions I would like to know before I can answer.

Thanks

Hironmay Basu

Avatar

Level 4

hey hironmay

it seems to be behaving today. if it starts to act up again i will come back with more info for you. thanks anyway

r.

Avatar

Level 2

Hi,

I am currently on as well to try out the audio feature.

Do you like to post some code?

I looked into the examples but that example does not show how to handle the subscription ?!

Have a nice day

Marc

Avatar

Level 4

hello marc


im in the middle of creating an AFCS app that has audio streams, video streams, a whiteboard, a roster & a text chat. i have overcome a few obstacles in the course of making the app and have decided to post a number of hints and tutorials on my blog as and when i get time to. when i do ill come back and post links to things that might be useful for you. at the moment i haven't got time really.

if you wanna email me directly any questions about anything you can find my contact details on my blog (not posting email address here for spam-avoidance reasons):

http://richtextformat.co.uk