mirror of
https://github.com/pion/webrtc.git
synced 2025-10-28 01:31:33 +08:00
Update gstreamer-receive to create pipelines for each input. Currently we don't allow the user to pass in what codecs they support and we don't take into account the offer. The API will need to be updated to catch both these signaling errors. The user will pass a slice of support codecs.
13 lines
392 B
Go
13 lines
392 B
Go
package network
|
|
|
|
import (
|
|
"github.com/pions/webrtc/pkg/rtp"
|
|
)
|
|
|
|
// BufferTransportGenerator generates a new channel for the associated SSRC
|
|
// This channel is used to send RTP packets to users of pion-WebRTC
|
|
type BufferTransportGenerator func(uint32, uint8) chan<- *rtp.Packet
|
|
|
|
// ICENotifier notifies the RTCPeerConnection if ICE state has changed for this port
|
|
type ICENotifier func(*Port)
|