File tree Expand file tree Collapse file tree 2 files changed +1
-8
lines changed Expand file tree Collapse file tree 2 files changed +1
-8
lines changed Original file line number Diff line number Diff line change @@ -28,12 +28,6 @@ declare global {
28
28
OLM_OPTIONS : Record < string , string > ;
29
29
}
30
30
31
- // TypeScript doesn't know about the experimental setSinkId method, so we
32
- // declare it ourselves
33
- interface MediaElement extends HTMLVideoElement {
34
- setSinkId : ( id : string ) => void ;
35
- }
36
-
37
31
interface HTMLElement {
38
32
// Safari only supports this prefixed, so tell the type system about it
39
33
webkitRequestFullscreen : ( ) => void ;
Original file line number Diff line number Diff line change @@ -40,7 +40,6 @@ import {
40
40
SummaryStatsReport ,
41
41
CallFeedReport ,
42
42
} from "matrix-js-sdk/src/webrtc/stats/statsReport" ;
43
- import { setSpan } from "@opentelemetry/api/build/esm/trace/context-utils" ;
44
43
45
44
import { ElementCallOpenTelemetry } from "./otel" ;
46
45
import { ObjectFlattener } from "./ObjectFlattener" ;
@@ -446,7 +445,7 @@ export class OTelGroupCallMembership {
446
445
const type = OTelStatsReportType . SummaryReport ;
447
446
const data = ObjectFlattener . flattenSummaryStatsReportObject ( statsReport ) ;
448
447
if ( this . statsReportSpan . span === undefined && this . callMembershipSpan ) {
449
- const ctx = setSpan (
448
+ const ctx = opentelemetry . trace . setSpan (
450
449
opentelemetry . context . active ( ) ,
451
450
this . callMembershipSpan ,
452
451
) ;
You can’t perform that action at this time.
0 commit comments