Latest code. Working voice, still needs some ui cleanup and accessibility fixes but in decent shape.
This commit is contained in:
@@ -50,11 +50,6 @@ func (c *webClient) GetStats() *stats.Client {
|
||||
Id: down.id,
|
||||
}
|
||||
for _, t := range down.tracks {
|
||||
layer := t.getLayerInfo()
|
||||
sid := layer.sid
|
||||
maxSid := layer.maxSid
|
||||
tid := layer.tid
|
||||
maxTid := layer.maxTid
|
||||
rate, _ := t.rate.Estimate()
|
||||
maxRate, _, _ := t.GetMaxBitrate()
|
||||
rtt := rtptime.ToDuration(int64(t.getRTT()),
|
||||
@@ -63,10 +58,6 @@ func (c *webClient) GetStats() *stats.Client {
|
||||
j := time.Duration(jitter) * time.Second /
|
||||
time.Duration(t.track.Codec().ClockRate)
|
||||
conns.Tracks = append(conns.Tracks, stats.Track{
|
||||
Tid: &tid,
|
||||
MaxTid: &maxTid,
|
||||
Sid: &sid,
|
||||
MaxSid: &maxSid,
|
||||
Bitrate: uint64(rate) * 8,
|
||||
MaxBitrate: maxRate,
|
||||
Loss: float64(loss) / 256.0,
|
||||
|
||||
@@ -1657,6 +1657,10 @@ func handleClientMessage(c *webClient, m clientMessage) error {
|
||||
}
|
||||
}
|
||||
disk := diskwriter.New(g)
|
||||
if err := disk.Start(); err != nil {
|
||||
disk.Close()
|
||||
return c.error(err)
|
||||
}
|
||||
_, err := hall.AddClient(g.Name(), disk,
|
||||
hall.ClientCredentials{
|
||||
System: true,
|
||||
|
||||
Reference in New Issue
Block a user