@stream-io/video-react-sdk 1.2.11 → 1.2.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stream-io/video-react-sdk",
3
- "version": "1.2.11",
3
+ "version": "1.2.12",
4
4
  "packageManager": "yarn@3.2.4",
5
5
  "main": "./dist/index.cjs.js",
6
6
  "module": "./dist/index.es.js",
@@ -133,14 +133,14 @@ export const CallStats = (props: {
133
133
  </div>
134
134
 
135
135
  <div className="str-video__call-stats__card-container">
136
- <StatCard label="Region" value={callStatsReport.datacenter} />
136
+ <StatCard label={t('Region')} value={callStatsReport.datacenter} />
137
137
  <StatCard
138
- label="Latency"
138
+ label={t('Latency')}
139
139
  value={`${callStatsReport.publisherStats.averageRoundTripTimeInMs} ms.`}
140
140
  comparison={latencyComparison}
141
141
  />
142
142
  <StatCard
143
- label="Receive jitter"
143
+ label={t('Receive jitter')}
144
144
  value={`${callStatsReport.subscriberStats.averageJitterInMs} ms.`}
145
145
  comparison={{
146
146
  ...latencyComparison,
@@ -148,7 +148,7 @@ export const CallStats = (props: {
148
148
  }}
149
149
  />
150
150
  <StatCard
151
- label="Publish jitter"
151
+ label={t('Publish jitter')}
152
152
  value={`${callStatsReport.publisherStats.averageJitterInMs} ms.`}
153
153
  comparison={{
154
154
  ...latencyComparison,
@@ -156,23 +156,23 @@ export const CallStats = (props: {
156
156
  }}
157
157
  />
158
158
  <StatCard
159
- label="Publish resolution"
159
+ label={t('Publish resolution')}
160
160
  value={toFrameSize(callStatsReport.publisherStats)}
161
161
  />
162
162
  <StatCard
163
- label="Publish quality drop reason"
163
+ label={t('Publish quality drop reason')}
164
164
  value={callStatsReport.publisherStats.qualityLimitationReasons}
165
165
  />
166
166
  <StatCard
167
- label="Receiving resolution"
167
+ label={t('Receiving resolution')}
168
168
  value={toFrameSize(callStatsReport.subscriberStats)}
169
169
  />
170
170
  <StatCard
171
- label="Receive quality drop reason"
171
+ label={t('Receive quality drop reason')}
172
172
  value={callStatsReport.subscriberStats.qualityLimitationReasons}
173
173
  />
174
- <StatCard label="Publish bitrate" value={publishBitrate} />
175
- <StatCard label="Receiving bitrate" value={subscribeBitrate} />
174
+ <StatCard label={t('Publish bitrate')} value={publishBitrate} />
175
+ <StatCard label={t('Receiving bitrate')} value={subscribeBitrate} />
176
176
  </div>
177
177
  </>
178
178
  )}