mirror of
https://github.com/aler9/gortsplib
synced 2025-10-09 00:50:24 +08:00
add TrackLPCM and client-publish-codec-lpcm example
This commit is contained in:
@@ -14,7 +14,8 @@ type TrackPCMU struct {
|
||||
|
||||
func newTrackPCMUFromMediaDescription(
|
||||
control string,
|
||||
clock string) (*TrackPCMU, error,
|
||||
clock string,
|
||||
) (*TrackPCMU, error,
|
||||
) {
|
||||
tmp := strings.SplitN(clock, "/", 2)
|
||||
if len(tmp) == 2 && tmp[1] != "1" {
|
||||
|
Reference in New Issue
Block a user