mirror of
https://github.com/aler9/gortsplib
synced 2025-10-05 07:06:58 +08:00
remove StreamType from base
This commit is contained in:
@@ -146,10 +146,10 @@ func (sc *ServerConn) run() {
|
||||
switch what.(type) {
|
||||
case *base.InterleavedFrame:
|
||||
channel := frame.Channel
|
||||
streamType := base.StreamTypeRTP
|
||||
streamType := StreamTypeRTP
|
||||
if (channel % 2) != 0 {
|
||||
channel--
|
||||
streamType = base.StreamTypeRTCP
|
||||
streamType = StreamTypeRTCP
|
||||
}
|
||||
|
||||
// forward frame only if it has been set up
|
||||
|
Reference in New Issue
Block a user