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