We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9b8bed9 commit 7664431Copy full SHA for 7664431
1 file changed
src/views/Admin/ChannelLive.vue
@@ -13,6 +13,12 @@
13
</tr>
14
</thead>
15
<tbody>
16
+ <tr v-if="policy !== null">
17
+ <td>Stream URLs and Keys Valide till</td>
18
+ <td>
19
+ <code>{{ new Date(policy.url_expire) }}</code>
20
+ </td>
21
+ </tr>
22
<tr>
23
<td>RTMP Complete Link</td>
24
<td>
@@ -107,6 +113,7 @@ export default {
107
113
ingressWS: "",
108
114
// Stream
109
115
sources: "",
116
+ policy: null,
110
117
video: null,
111
118
};
112
119
},
@@ -128,6 +135,9 @@ export default {
128
135
api.Channels.Get(this.channelid).then((resp) => {
129
136
this.ingressRTMP = resp.data.ingress.rtmp;
130
137
this.ingressWS = resp.data.ingress.webrtc;
138
+ if (resp.data.ingress.policy) {
139
+ this.policy = resp.data.ingress.policy;
140
+ }
131
141
this.sources = resp.data.stream_sources;
132
142
websocket.joinHandler(
133
143
resp.data.data.id,
0 commit comments