Parade Series - Complie MediaMtx by GO Lang

GO Lang ENV

go env -w GOPROXY=https://goproxy.cn
go env -w GOCACHE=C:\Cache\go-build
c 复制代码
/home/55829/mediamtx-1.6.0>go env
set GO111MODULE=
set GOARCH=amd64
set GOBIN=
set GOCACHE=C:\Cache\go-build
set GOENV=C:\Users\55829\AppData\Roaming\go\env
set GOEXE=.exe
set GOEXPERIMENT=
set GOFLAGS=
set GOHOSTARCH=amd64
set GOHOSTOS=windows
set GOINSECURE=
set GOMODCACHE=C:\Users\55829\go\pkg\mod
set GONOPROXY=
set GONOSUMDB=
set GOOS=windows
set GOPATH=C:\Users\55829\go
set GOPRIVATE=
set GOPROXY=https://goproxy.cn
set GOROOT=C:\Tools\Go
set GOSUMDB=sum.golang.org
set GOTMPDIR=
set GOTOOLCHAIN=auto
set GOTOOLDIR=C:\Tools\Go\pkg\tool\windows_amd64
set GOVCS=
set GOVERSION=go1.22.1
set GCCGO=gccgo
set GOAMD64=v1
set AR=ar
set CC=gcc
set CXX=g++
set CGO_ENABLED=1
set GOMOD=C:\Tools\msys64\home\55829\mediamtx-1.6.0\go.mod
set GOWORK=
set CGO_CFLAGS=-O2 -g
set CGO_CPPFLAGS=
set CGO_CXXFLAGS=-O2 -g
set CGO_FFLAGS=-O2 -g
set CGO_LDFLAGS=-O2 -g
set PKG_CONFIG=pkg-config
set GOGCCFLAGS=-m64 -mthreads -Wl,--no-gc-sections -fmessage-length=0 -ffile-prefix-map=C:\Tools\msys64\tmp\go-build978769212=/tmp/go-build -gno-record-gcc-switches
/home/55829/mediamtx-1.6.0>go build -o MediaMtx-160.exe
/home/55829/mediamtx-1.6.0>
 +-----------------+         +---------------+ +--------------+ +----------------+
 | WebRTC Producer |         | WHIP endpoint | | Media Server | | WHIP Resource  |
 +---------+-------+         +-------+- -----+ +------+-------+ +--------|-------+
           |                         |                |                  |
           |                         |                |                  |
           |HTTP POST (SDP Offer)    |                |                  |
           +------------------------>+                |                  |
           |201 Created (SDP answer) |                |                  |
           +<------------------------+                |                  |
           |          ICE REQUEST                     |                  |
           +----------------------------------------->+                  |
           |          ICE RESPONSE                    |                  |
           <------------------------------------------+                  |
           |          DTLS SETUP                      |                  |
           <==========================================>                  |
           |          RTP/RTCP FLOW                   |                  |
           +------------------------------------------>                  |
           | HTTP DELETE                                                 |
           +------------------------------------------------------------>+
           | 200 OK                                                      |
           <-------------------------------------------------------------x

/home/55829/mediamtx-1.6.0/internal/protocols/webrtc/peer_connection.go




相关推荐
何曾参静谧6 分钟前
「Py」Python基础篇 之 Python都可以做哪些自动化?
开发语言·python·自动化
Prejudices10 分钟前
C++如何调用Python脚本
开发语言·c++·python
我狠狠地刷刷刷刷刷23 分钟前
中文分词模拟器
开发语言·python·算法
wyh要好好学习26 分钟前
C# WPF 记录DataGrid的表头顺序,下次打开界面时应用到表格中
开发语言·c#·wpf
AitTech27 分钟前
C#实现:电脑系统信息的全面获取与监控
开发语言·c#
qing_04060329 分钟前
C++——多态
开发语言·c++·多态
孙同学_29 分钟前
【C++】—掌握STL vector 类:“Vector简介:动态数组的高效应用”
开发语言·c++
froginwe1130 分钟前
XML 编辑器:功能、选择与使用技巧
开发语言
Jam-Young36 分钟前
Python的装饰器
开发语言·python
man201744 分钟前
【2024最新】基于springboot+vue的闲一品交易平台lw+ppt
vue.js·spring boot·后端