Integrated logging with Pion (#341)

* Integrated logging with Pion

* handle nil logger
This commit is contained in:
David Zhao
2022-01-14 17:44:28 -08:00
committed by GitHub
parent cd9c125414
commit f2f776931f
5 changed files with 96 additions and 7 deletions
+5
View File
@@ -229,6 +229,11 @@ func (d *DownTrack) Kind() webrtc.RTPCodecType {
return d.kind
}
// RID is required by `webrtc.TrackLocal` interface
func (d *DownTrack) RID() string {
return ""
}
func (d *DownTrack) SSRC() uint32 {
return d.ssrc
}