File tree Expand file tree Collapse file tree 3 files changed +3
-4
lines changed Expand file tree Collapse file tree 3 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ func (p *Participant) sendDataChannelMessage(toSend event.SFUMessage) {
4545 }
4646
4747 if err := p .peer .SendOverDataChannel (string (jsonToSend )); err != nil {
48- // FIXME : We must buffer the message in this case and re-send it once the data channel is recovered!
48+ // TODO : We must buffer the message in this case and re-send it once the data channel is recovered!
4949 p .logger .Error ("Failed to send data channel message" )
5050 }
5151}
Original file line number Diff line number Diff line change @@ -103,10 +103,10 @@ func (p *Peer[ID]) onNegotiationNeeded() {
103103func (p * Peer [ID ]) onICEConnectionStateChanged (state webrtc.ICEConnectionState ) {
104104 p .logger .WithField ("state" , state ).Info ("ICE connection state changed" )
105105
106- // TODO: Ask Simon if we should do it here as in the previous implementation.
107106 switch state {
108107 case webrtc .ICEConnectionStateFailed , webrtc .ICEConnectionStateDisconnected :
109- // TODO: We may want to treat it as an opportunity for the ICE restart instead.
108+ // TODO: Ask Simon if we should do it here as in the previous implementation.
109+ // Ideally we want to perform an ICE restart here.
110110 // p.notify <- PeerLeftTheCall{sender: p.data}
111111 case webrtc .ICEConnectionStateCompleted , webrtc .ICEConnectionStateConnected :
112112 // FIXME: Start keep-alive timer over the data channel to check the connecitons that hanged.
Original file line number Diff line number Diff line change @@ -145,7 +145,6 @@ func (r *Router) handleMatrixEvent(evt *event.Event) {
145145 delete (r .conferenceSinks , conferenceID )
146146 // Since we were not able to send the message, let's re-process it now.
147147 // Note, we probably do not want to block here!
148- // TODO: Do it better (use buffered channels or something).
149148 r .handleMatrixEvent (evt )
150149 }
151150 }
You can’t perform that action at this time.
0 commit comments