Skip to content

Commit

Permalink
7.0.110
Browse files Browse the repository at this point in the history
  • Loading branch information
yangrtc committed Feb 5, 2024
1 parent b0f75ed commit 895dd3d
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,18 +63,18 @@ To compile libmetartccore7, you'll need to satisfy the following dependencies:
peer->addTransceiver(&peer->peer,direction);
//sfu server
if(enableWhipWhep)
peer->connectWhipWhepServer(&peer->peer,url);
err = peer->connectWhipWhepServer(&peer->peer,url);
else
peer->connectSfuServer(&peer->peer);
err = peer->connectSfuServer(&peer->peer);
//p2p
peer->createDataChannel(&peer->peer);//add datachannel
if((err=peer->createOffer(&peer->peer, &localSdp))!=Yang_Ok){
yang_error("createOffer fail,app=%s,stream=%s",app,stream);
yang_error("createOffer fail,app=%s,stream=%s",app,stream);
goto cleanup;
}
if((err=peer->setLocalDescription(&peer->peer, localSdp))!=Yang_Ok){
yang_error("setLocalDescription fail");
goto cleanup;
yang_error("setLocalDescription fail");
goto cleanup;
}
......
//get remote peer sdp
Expand All @@ -85,6 +85,7 @@ To compile libmetartccore7, you'll need to satisfy the following dependencies:




## metaRTC服务支持(service support)
微信号: taihang82
email: yangrtc@aliyun.com yangrtc@outlook.com
Expand Down

0 comments on commit 895dd3d

Please sign in to comment.