Use published track for model access in data down track. (#4176)

* Use published track for model access in data down track.

No need to pass in the model.

* implementation type assertion

* remove redundant log key

* one more type

* Close interface method

* clean up redundant log key

* remove unused method

* some interface changes to support data tracks in replay

* correct mock signature
This commit is contained in:
Raja Subramanian
2025-12-19 11:00:18 +05:30
committed by GitHub
parent 47c86be1df
commit a04e566dbf
16 changed files with 280 additions and 90 deletions
+1 -1
View File
@@ -1095,7 +1095,7 @@ func (c *RTCClient) handleDataMessageUnlabeled(data []byte) {
}
}
func (c *RTCClient) handleDataTrackMessage(data []byte) {
func (c *RTCClient) handleDataTrackMessage(data []byte, _arrivalTime int64) {
var packet datatrack.Packet
if err := packet.Unmarshal(data); err != nil {
return