@@ -50,7 +50,7 @@ async def start_room_composite_egress(self, start: RoomCompositeEgressRequest) -
5050 SVC ,
5151 "StartRoomCompositeEgress" ,
5252 start ,
53- self ._auth_header (VideoGrants (room_record = True )),
53+ await self ._auth_header (VideoGrants (room_record = True )),
5454 EgressInfo ,
5555 )
5656
@@ -60,7 +60,7 @@ async def start_web_egress(self, start: WebEgressRequest) -> EgressInfo:
6060 SVC ,
6161 "StartWebEgress" ,
6262 start ,
63- self ._auth_header (VideoGrants (room_record = True )),
63+ await self ._auth_header (VideoGrants (room_record = True )),
6464 EgressInfo ,
6565 )
6666
@@ -70,7 +70,7 @@ async def start_participant_egress(self, start: ParticipantEgressRequest) -> Egr
7070 SVC ,
7171 "StartParticipantEgress" ,
7272 start ,
73- self ._auth_header (VideoGrants (room_record = True )),
73+ await self ._auth_header (VideoGrants (room_record = True )),
7474 EgressInfo ,
7575 )
7676
@@ -80,7 +80,7 @@ async def start_track_composite_egress(self, start: TrackCompositeEgressRequest)
8080 SVC ,
8181 "StartTrackCompositeEgress" ,
8282 start ,
83- self ._auth_header (VideoGrants (room_record = True )),
83+ await self ._auth_header (VideoGrants (room_record = True )),
8484 EgressInfo ,
8585 )
8686
@@ -90,7 +90,7 @@ async def start_track_egress(self, start: TrackEgressRequest) -> EgressInfo:
9090 SVC ,
9191 "StartTrackEgress" ,
9292 start ,
93- self ._auth_header (VideoGrants (room_record = True )),
93+ await self ._auth_header (VideoGrants (room_record = True )),
9494 EgressInfo ,
9595 )
9696
@@ -100,7 +100,7 @@ async def start_egress(self, start: StartEgressRequest) -> EgressInfo:
100100 SVC ,
101101 "StartEgress" ,
102102 start ,
103- self ._auth_header (VideoGrants (room_record = True )),
103+ await self ._auth_header (VideoGrants (room_record = True )),
104104 EgressInfo ,
105105 )
106106
@@ -110,7 +110,7 @@ async def update_layout(self, update: UpdateLayoutRequest) -> EgressInfo:
110110 SVC ,
111111 "UpdateLayout" ,
112112 update ,
113- self ._auth_header (VideoGrants (room_record = True )),
113+ await self ._auth_header (VideoGrants (room_record = True )),
114114 EgressInfo ,
115115 )
116116
@@ -120,7 +120,7 @@ async def update_stream(self, update: UpdateStreamRequest) -> EgressInfo:
120120 SVC ,
121121 "UpdateStream" ,
122122 update ,
123- self ._auth_header (VideoGrants (room_record = True )),
123+ await self ._auth_header (VideoGrants (room_record = True )),
124124 EgressInfo ,
125125 )
126126
@@ -137,7 +137,7 @@ async def list_egress(self, list: ListEgressRequest) -> ListEgressResponse:
137137 SVC ,
138138 "ListEgress" ,
139139 list ,
140- self ._auth_header (VideoGrants (room_record = True )),
140+ await self ._auth_header (VideoGrants (room_record = True )),
141141 ListEgressResponse ,
142142 )
143143
@@ -147,6 +147,6 @@ async def stop_egress(self, stop: StopEgressRequest) -> EgressInfo:
147147 SVC ,
148148 "StopEgress" ,
149149 stop ,
150- self ._auth_header (VideoGrants (room_record = True )),
150+ await self ._auth_header (VideoGrants (room_record = True )),
151151 EgressInfo ,
152152 )
0 commit comments