Skip to content

Instantly share code, notes, and snippets.

@vahidov
Last active July 24, 2018 10:15
Show Gist options
  • Save vahidov/c2d8c05ec72992d23986451e37b920b4 to your computer and use it in GitHub Desktop.
Save vahidov/c2d8c05ec72992d23986451e37b920b4 to your computer and use it in GitHub Desktop.
janus params
RoomCreateParams
{
"room": 123456,
"secret": "secret",
"is_private": false,
"pin": "masterPin",
"publishers": 1,
"bitrate": 128000,
"fir_freq": 1,
"audiocodec": "opus",
"videocodec": "h264",
"audiolevel_ext": false
"audiolevel_event": false,
"permanent": false,
"notify_joining": true,
}
PublisherJoinParams
{
"room": 123456,
"ptype": "publisher",
"pin": "masterPin",
"video": true,
"audio": true,
"audio_offered": true,
"video_offered": true,
"id": 123456
}
ListenerJoinParams
{
"room": 123456,
"ptype": "subscriber",
"private_id": 567890,
"pin": "masterPin",
"display": "567890",
"audio_offered": false,
"video_offered": false,
"feed": 123456,
}
RTP_ForwardParams
{
"room": 123456,
"publisher_id": 123456,
"secret": "secret",
"video_pt": 117,
"audio_pt": 121,
"host": "0.0.0.0",
"video_port": 20000,
"audio_port": 25000,
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment