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

Retrieving protocol and connection address in runtime

Gadi_Srebnik
Level 2
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
Raff_
Employee
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.

Gadi_Srebnik
Level 2
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.