Support for video dimensions in publications (#36)

* send back video dimensions

* Store video dimensions in MediaTrack and forward in TrackInfo

* use committed protocol
This commit is contained in:
David Zhao
2021-06-18 21:05:56 -07:00
committed by GitHub
parent 515b1f0f7e
commit 38c81e5645
14 changed files with 157 additions and 49 deletions
+1 -1
View File
@@ -38,7 +38,7 @@ func newMockParticipant(identity string, protocol types.ProtocolVersion) *typesf
p.SetTrackMutedStub = func(sid string, muted bool) {
updateTrack()
}
p.AddTrackStub = func(s string, s2 string, trackType livekit.TrackType) {
p.AddTrackStub = func(req *livekit.AddTrackRequest) {
updateTrack()
}