mirror of
https://github.com/aler9/gortsplib
synced 2025-10-06 23:52:46 +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:
@@ -31,11 +31,6 @@ func (t *JPEG) Marshal() (string, string) {
|
||||
return "JPEG/90000", ""
|
||||
}
|
||||
|
||||
// Clone implements Format.
|
||||
func (t *JPEG) Clone() Format {
|
||||
return &JPEG{}
|
||||
}
|
||||
|
||||
// PTSEqualsDTS implements Format.
|
||||
func (t *JPEG) PTSEqualsDTS(*rtp.Packet) bool {
|
||||
return true
|
||||
|
Reference in New Issue
Block a user