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:
Alessandro Ros
2022-12-22 20:32:28 +01:00
committed by GitHub
parent cabfcd627b
commit ae9dac0ad3
43 changed files with 532 additions and 546 deletions

View File

@@ -48,9 +48,6 @@ type Format interface {
// Marshal encodes the format in SDP format.
Marshal() (string, string)
// Clone clones the format.
Clone() Format
// PTSEqualsDTS checks whether PTS is equal to DTS in the RTP packet.
PTSEqualsDTS(*rtp.Packet) bool
}