Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

lynnplus/gotrtc

Repository files navigation

gotrtc

Go package for ctrtc(tencent trtc)

Use

install ctrtc

git clone https://github.com/lynnplus/ctrtc.git
cmake -S ${ctrtc_dir} -B ${ctrtc_build_dir}
cmake install

use gotrtc

go get github.com/lynnplus/gotrtc

example:

func main(){
 trtc := gotrtc.GetShareInstance()
 fmt.Println("sdk version:", trtc.GetSDKVersion())
 gotrtc.DestroyShareInstance()
}

run:

set CGO_CPPFLAGS=-I${ctrtc_install_dir}\include
set CGO_LDFLAGS=-L${ctrtc_install_dir}\lib

Copy the files in the ${ctrtc_install_dir}\bin folder to your bin(run) directory

go run main.go

About

Go package for ctrtc(tencent trtc)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

AltStyle によって変換されたページ (->オリジナル) /