Skip to content
This repository has been archived by the owner on Aug 10, 2022. It is now read-only.

Commit

Permalink
rename struct configuration -> struct rtc_configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
alfredh committed Jun 25, 2022
1 parent 787ca7a commit 722da8b
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ are VP8, H264.
| --------------------- | -------------------------- |
| MediaStream | n/a |
| MediaStreamTrack | struct media_track |
| RTCConfiguration | struct configuration |
| RTCConfiguration | struct rtc_configuration |
| RTCPeerConnection | struct peer_connection |
| RTCSessionDescription | struct session_description |
| RTCRtpTransceiver | struct stream |
Expand Down
2 changes: 1 addition & 1 deletion src/demo.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ static struct http_sock *httpsock;
static struct http_sock *httpssock;
static const struct mnat *mnat;
static const struct menc *menc;
static struct configuration pc_config;
static struct rtc_configuration pc_config;


static void destructor(void *data)
Expand Down
4 changes: 2 additions & 2 deletions src/demo.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ enum signaling_st {


/* RTCConfiguration */
struct configuration {
struct rtc_configuration {
struct stun_uri *ice_server;
const char *stun_user;
const char *credential;
Expand All @@ -45,7 +45,7 @@ typedef void (peerconnection_estab_h)(struct media_track *media,
typedef void (peerconnection_close_h)(int err, void *arg);

int peerconnection_new(struct peer_connection **pcp,
const struct configuration *config,
const struct rtc_configuration *config,
const struct mnat *mnat, const struct menc *menc,
peerconnection_gather_h *gatherh,
peerconnection_estab_h,
Expand Down
2 changes: 1 addition & 1 deletion src/peerconn.c
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ static void menc_error_handler(int err, void *arg)


int peerconnection_new(struct peer_connection **pcp,
const struct configuration *config,
const struct rtc_configuration *config,
const struct mnat *mnat, const struct menc *menc,
peerconnection_gather_h *gatherh,
peerconnection_estab_h *estabh,
Expand Down

0 comments on commit 722da8b

Please sign in to comment.