Documentation ¶
Index ¶
- Variables
- func RtcpProcess(rawPkt []byte) ([]rtcp.Packet, error)
- type Participant
- type StreamType
- type ZoomParticipantRoster
- func (roster *ZoomParticipantRoster) AddParticipant(userId int, secretNonce []byte) error
- func (roster *ZoomParticipantRoster) AddSsrcForParticipant(userId int, ssrc int) error
- func (roster *ZoomParticipantRoster) GetSecretNonceForSSRC(ssrcNeedle int) ([]byte, error)
- func (roster *ZoomParticipantRoster) GetSharedMeetingKey() ([]byte, error)
- func (roster *ZoomParticipantRoster) SetSharedMeetingKey(sharedMeetingKey []byte)
- type ZoomRtpDecoder
- type ZoomRtpEncoder
Constants ¶
This section is empty.
Variables ¶
Functions ¶
Types ¶
type Participant ¶
type Participant struct {
// contains filtered or unexported fields
}
type StreamType ¶
type StreamType byte
const ( STREAM_TYPE_VIDEO StreamType = 0x00 STREAM_TYPE_AUDIO StreamType = 0x01 STREAM_TYPE_SCREENSHARE StreamType = 0x02 )
type ZoomParticipantRoster ¶
type ZoomParticipantRoster struct {
// contains filtered or unexported fields
}
func NewParticipantRoster ¶
func NewParticipantRoster() *ZoomParticipantRoster
func (*ZoomParticipantRoster) AddParticipant ¶
func (roster *ZoomParticipantRoster) AddParticipant(userId int, secretNonce []byte) error
func (*ZoomParticipantRoster) AddSsrcForParticipant ¶
func (roster *ZoomParticipantRoster) AddSsrcForParticipant(userId int, ssrc int) error
func (*ZoomParticipantRoster) GetSecretNonceForSSRC ¶
func (roster *ZoomParticipantRoster) GetSecretNonceForSSRC(ssrcNeedle int) ([]byte, error)
func (*ZoomParticipantRoster) GetSharedMeetingKey ¶
func (roster *ZoomParticipantRoster) GetSharedMeetingKey() ([]byte, error)
func (*ZoomParticipantRoster) SetSharedMeetingKey ¶
func (roster *ZoomParticipantRoster) SetSharedMeetingKey(sharedMeetingKey []byte)
type ZoomRtpDecoder ¶
type ZoomRtpDecoder struct { ParticipantRoster *ZoomParticipantRoster // contains filtered or unexported fields }
func NewZoomRtpDecoder ¶
func NewZoomRtpDecoder(streamType StreamType) *ZoomRtpDecoder
type ZoomRtpEncoder ¶
type ZoomRtpEncoder struct { // Encryption information ParticipantRoster *ZoomParticipantRoster // contains filtered or unexported fields }
func NewZoomRtpEncoder ¶
func NewZoomRtpEncoder(roster *ZoomParticipantRoster, ssrc int, id int, width, height int) *ZoomRtpEncoder
Source Files ¶
Click to show internal directories.
Click to hide internal directories.