mirror of
https://github.com/pion/webrtc.git
synced 2025-09-27 11:32:19 +08:00

This commit has breaking changes. This API change means we can no longer support an arbitrary number of receivers. For every track you want to receive you MUST call PeerConnection.AddTransceiver We do now support sending an multiple audio/video feeds. You can see this behavior via gstreamer-receive and gstreamer-send currently. Resolves #54
9 lines
305 B
Go
9 lines
305 B
Go
package webrtc
|
|
|
|
// RtpTransceiverInit dictionary is used when calling the WebRTC function addTransceiver() to provide configuration options for the new transceiver.
|
|
type RtpTransceiverInit struct {
|
|
Direction RTPTransceiverDirection
|
|
SendEncodings []RTPEncodingParameters
|
|
// Streams []*Track
|
|
}
|