wrtc

package
v1.0.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 4, 2021 License: BSL-1.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Connect

func Connect(resp *tdlib.GroupCallJoinResponse, d *Data)

Connect connect to group call server

func Disconnect

func Disconnect()

Disconnect disconnect all connections

func GetConnection

func GetConnection() *webrtc.PeerConnection

GetConnection get peer connection

func GetCurrentSDP

func GetCurrentSDP() string

GetCurrentSDP get SDP string

Types

type Data

type Data struct {
	UFrag string
	Pwd   string
	Port  string
	Ssrc  int64
	Cert  []webrtc.Certificate
	Offer string
}

Data WebRTC data

func CreateOffer

func CreateOffer(bot *tdlib.Client) *Data

CreateOffer Create Local Description

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL