It's all about the answers!

Ask a question

How can I get the target stream name by rtc sdk

silencehill wu (5022632) | asked Nov 01 '12, 1:02 p.m.

I write a Pre-condition for RTC plug-in development using RTC-SDK.How can I get the target stream by java program when I am deliver changesets to target steam.. Now , I can get changeSets in problem.

Please give me an advise!


silencehill wu commented Nov 01 '12, 1:03 p.m.

Sorry, last word is java program not problem.

Accepted answer

permanent link
Tim Mok (6.6k38) | answered Nov 01 '12, 2:45 p.m.
The AdvisableOperation has operation data where you can information about the delivery.

Use AdvisableOperation#getOperationData() to get the operation data and check if it is an instance of DeliverOperationData.

Then you can use that to #getDestWorkspace(). That will be the destination for the delivery.
silencehill wu selected this answer as the correct answer

Your answer

Register or to post your answer.