Skip to content

Commit

Permalink
fix(Admin/Live): show expire of secrets
Browse files Browse the repository at this point in the history
  • Loading branch information
genofire committed Mar 12, 2023
1 parent 9b8bed9 commit 7664431
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/views/Admin/ChannelLive.vue
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,12 @@
</tr>
</thead>
<tbody>
<tr v-if="policy !== null">
<td>Stream URLs and Keys Valide till</td>
<td>
<code>{{ new Date(policy.url_expire) }}</code>
</td>
</tr>
<tr>
<td>RTMP Complete Link</td>
<td>
Expand Down Expand Up @@ -107,6 +113,7 @@ export default {
ingressWS: "",
// Stream
sources: "",
policy: null,
video: null,
};
},
Expand All @@ -128,6 +135,9 @@ export default {
api.Channels.Get(this.channelid).then((resp) => {
this.ingressRTMP = resp.data.ingress.rtmp;
this.ingressWS = resp.data.ingress.webrtc;
if (resp.data.ingress.policy) {
this.policy = resp.data.ingress.policy;
}
this.sources = resp.data.stream_sources;
websocket.joinHandler(
resp.data.data.id,
Expand Down

0 comments on commit 7664431

Please sign in to comment.