sync with change of property name to time_to_first_byte_ms (#394)

This commit is contained in:
Dave Horton
2024-01-25 13:16:42 -05:00
committed by GitHub
parent 8d8d46e76e
commit 6e14207327
@@ -266,7 +266,7 @@ export const Player = ({ call }: PlayerProps) => {
const [ttsCache] = getSpanAttributeByName(s.attributes, "tts.cached");
const [streamLatency] = getSpanAttributeByName(
s.attributes,
"tts_time_to_first_byte_ms"
"time_to_first_byte_ms"
);
if (streamLatency && streamLatency.value.stringValue) {
end = start + Number(streamLatency.value.stringValue) / 1_000;