Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.

Retrieving protocol and connection address in runtime

Avatar

Level 2

Hi,

Im trying to Debug p2p video application in browser and I noticed some problems when using different rooms in my application.

I need to figure out the actual protocol and node connection in order to identify the problem, the thing is that its only available in trace

while testing in IDE.

Is there additional way to know the fms node name and protocol after actual connection.

Best Regards,

Gadi Srebnik

2 Replies

Avatar

Employee

With the latest SDK you can override the debug trace function and have the messages go, for example, in a textarea in your app.

Look at com.adobe.rtc.util.DebugUtil.traceFunction.

Otherwise you can dig in the ConnectSession object and get the underlying NetConnection object.

Avatar

Level 2

Im using Flash CS4 FP10 so its a little problematic to use SDK source, however I manage to do that by extending WebcamPublisher and get its connection.