mirror of
https://github.com/aler9/gortsplib
synced 2025-10-06 15:46:51 +08:00
use random UUIDs as media IDs (#163)
* remove Medias.Clone(), Media.Clone(), Format.Clone() * server: use random UUIDs as media IDs * client: use random UUIDs as media IDs
This commit is contained in:
@@ -88,15 +88,6 @@ func (t *VP8) Marshal() (string, string) {
|
||||
return "VP8/90000", fmtp
|
||||
}
|
||||
|
||||
// Clone implements Format.
|
||||
func (t *VP8) Clone() Format {
|
||||
return &VP8{
|
||||
PayloadTyp: t.PayloadTyp,
|
||||
MaxFR: t.MaxFR,
|
||||
MaxFS: t.MaxFS,
|
||||
}
|
||||
}
|
||||
|
||||
// PTSEqualsDTS implements Format.
|
||||
func (t *VP8) PTSEqualsDTS(*rtp.Packet) bool {
|
||||
return true
|
||||
|
Reference in New Issue
Block a user