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:
@@ -93,15 +93,6 @@ func FromProtoTrickle(trickle *livekit.TrickleRequest) (webrtc.ICECandidateInit,
|
||||
return ci, nil
|
||||
}
|
||||
|
||||
func ToProtoTrack(t types.PublishedTrack) *livekit.TrackInfo {
|
||||
return &livekit.TrackInfo{
|
||||
Sid: t.ID(),
|
||||
Type: t.Kind(),
|
||||
Name: t.Name(),
|
||||
Muted: t.IsMuted(),
|
||||
}
|
||||
}
|
||||
|
||||
func ToProtoTrackKind(kind webrtc.RTPCodecType) livekit.TrackType {
|
||||
switch kind {
|
||||
case webrtc.RTPCodecTypeVideo:
|
||||
|
||||
Reference in New Issue
Block a user