Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

allow setting additional properties of streams through description.Session #368

Merged
merged 1 commit into from
Aug 22, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
128 changes: 64 additions & 64 deletions client.go

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions client_media.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ import (
"github.com/pion/rtp"

"github.com/bluenviron/gortsplib/v4/pkg/base"
"github.com/bluenviron/gortsplib/v4/pkg/media"
"github.com/bluenviron/gortsplib/v4/pkg/description"
)

type clientMedia struct {
c *Client
media *media.Media
media *description.Media
formats map[uint8]*clientFormat
tcpChannel int
udpRTPListener *clientUDPListener
Expand Down Expand Up @@ -71,7 +71,7 @@ func (cm *clientMedia) allocateUDPListeners(multicast bool, rtpAddress string, r
return err
}

func (cm *clientMedia) setMedia(medi *media.Media) {
func (cm *clientMedia) setMedia(medi *description.Media) {
cm.media = medi

cm.formats = make(map[uint8]*clientFormat)
Expand Down
Loading
Loading