Some clarifications needed on TransmitProfile and EventPriority #1031
Replies: 6 comments
-
https://github.com/microsoft/cpp_client_telemetry/blob/master/docs/custom-transmit-profile.md has some more details about decoding the transmit profiles. Others on the issue, please jump in and correct any of the below if I'm wrong:
|
Beta Was this translation helpful? Give feedback.
-
@kindbe @maxgolov @lalitb @larvacea @sid-dahiya @mkoscumb - we have below follow up queries regarding custom transmit profile:
Please help in clarifying these queries as we want to start experimenting with custom transmit profiles in Teams Android. |
Beta Was this translation helpful? Give feedback.
-
@suryatn - I can reply to a few of your queries. Others on the issue can pitch in for other queries or correct me, else I will reply to the rest tomorrow after validating the code. Would also like to hear the result of Surya's experiments.
|
Beta Was this translation helpful? Give feedback.
-
@suryatn, regarding 2 and 5 queries as per the code below:
cpp_client_telemetry/lib/tpm/TransmissionPolicyManager.cpp Lines 358 to 378 in 0fa60bb So to achieve the near-realtime transmissions, the first two values shouldn't be equal, and the second value is ignored in code ( other than in the above comparison ). I would stick to the values in the code for near-real-time transmission. Tagging @larvacea as the author of the wiki doc, if he has other/more recommedations. |
Beta Was this translation helpful? Give feedback.
-
Thanks @lalitb. We will stick to the values mentioned in the code for NearRealTime transmission for now. Can you also help explain the below:
What would happen in case of Roaming rule where all the timers are [-1, -1, -1] (ref)? I am assuming even the EventLatency_RealTime events will not be sent over wire as its timer value is -1.
Does it mean that if the first and second timers are > 0 (ref), sometimes EventLatency_RealTime events get sent over wire and other time EventLatency_Normal events get sent and it alternates between the two? also when does it alternate?
@larvacea can you also please check once and provide your inputs? Tagging @maxgolov incase you have some suggestions as well. |
Beta Was this translation helpful? Give feedback.
-
Checked with @larvacea. As per him the values mentioned in code and the format suggested in wiki should both work fine for NearRealTime transmissions. He can provide more details / context here. |
Beta Was this translation helpful? Give feedback.
-
Need these details for both iOS and Android:
“Low priority events will not be transmitted, except for the RealTime transmit profile, unless it will not incur additional cost to the client application in terms of resource consumption, which mostly means when the device is on plug-in power and on a non-metered network”
ODWEventPriorityUnspecified
-> This is the default event priority being used. In what cases events will be skipped with this priority?https://www.aria.ms/developers/how-to/custom-transmission-profile/
cc: @aamittal1989 , @karthika-msft
Beta Was this translation helpful? Give feedback.
All reactions