mirror of
https://github.com/aler9/gortsplib
synced 2025-10-04 14:52:46 +08:00
add Transport.Profile, media.Profile (#873)
this will allow to support AVPF in the future.
This commit is contained in:
@@ -110,7 +110,7 @@ func (sm *serverStreamMedia) writePacketRTCP(pkt rtcp.Packet) error {
|
||||
// send unicast
|
||||
for r := range sm.st.activeUnicastReaders {
|
||||
if sm, ok := r.setuppedMedias[sm.media]; ok {
|
||||
if r.setuppedSecure {
|
||||
if isSecure(r.setuppedProfile) {
|
||||
err = sm.writePacketRTCPEncoded(encr)
|
||||
if err != nil {
|
||||
r.onStreamWriteError(err)
|
||||
|
Reference in New Issue
Block a user