forked from meetecho/janus-gateway
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Experimental IPv6 support and new Recorder/Playout plugin
Added experimental IPv6 support for media; Added a new plugin to record and then replay WebRTC sessions; Several fixes on memory leaks, especially in plugins; Some more fixes scattered across the project
- Loading branch information
meetecho
committed
Oct 22, 2014
1 parent
f37e9d1
commit 5fa9a30
Showing
42 changed files
with
2,740 additions
and
101 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
; path = where to place recordings in the file system | ||
|
||
[general] | ||
path = @recordingsdir@ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,137 @@ | ||
<!DOCTYPE html> | ||
<html xmlns="http://www.w3.org/1999/xhtml"> | ||
<head> | ||
<meta charset="utf-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"/> | ||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> | ||
<title>Janus WebRTC Gateway: Recorder/Playout Demo</title> | ||
<script type="text/javascript" src="jquery.min.js" ></script> | ||
<script type="text/javascript" src="jquery.blockUI.js" ></script> | ||
<script type="text/javascript" src="js/bootstrap.js"></script> | ||
<script type="text/javascript" src="js/bootbox.min.js"></script> | ||
<script type="text/javascript" src="js/spin.min.js"></script> | ||
<script type="text/javascript" src="janus.js" ></script> | ||
<script type="text/javascript" src="recordplaytest.js"></script> | ||
<link rel="stylesheet" href="css/cerulean/bootstrap.css" type="text/css"/> | ||
<link rel="stylesheet" href="css/demo.css" type="text/css"/> | ||
<link rel="stylesheet" href="//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css"/> | ||
<body> | ||
|
||
<a href="https://github.com/meetecho/janus-gateway"><img style="position: absolute; top: 0; left: 0; border: 0; z-index: 1001;" src="https://s3.amazonaws.com/github/ribbons/forkme_left_darkblue_121621.png" alt="Fork me on GitHub"></a> | ||
|
||
<nav class="navbar navbar-default navbar-static-top"> | ||
<div class="container"> | ||
<div class="navbar-header"> | ||
<a class="navbar-brand" href="index.html">Janus</a> | ||
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse"> | ||
<span class="icon-bar"></span> | ||
<span class="icon-bar"></span> | ||
<span class="icon-bar"></span> | ||
</button> | ||
</div> | ||
<div class="navbar-collapse collapse"> | ||
<ul class="nav navbar-nav"> | ||
<li><a href="index.html">Home</a></li> | ||
<li class="dropdown active"><a href="#" class="dropdown-toggle" data-toggle="dropdown">Demos <b class="caret"></b></a> | ||
<ul class="dropdown-menu"> | ||
<li><a href="demos.html">Index</a></li> | ||
<li class="divider"></li> | ||
<li><a href="echotest.html">Echo Test</a></li> | ||
<li><a href="streamingtest.html">Streaming</a></li> | ||
<li><a href="videocalltest.html">Video Call</a></li> | ||
<li><a href="siptest.html">SIP Gateway</a></li> | ||
<li><a href="videomcutest.html">Video MCU</a></li> | ||
<li><a href="audiobridgetest.html">Audio Conference</a></li> | ||
<li><a href="voicemailtest.html">Voice Mail</a></li> | ||
<li class="active"><a href="recordplaytest.html">Recorder/Playout</a></li> | ||
<li><a href="screensharingtest.html">Screen Sharing</a></li> | ||
<li class="divider"></li> | ||
<li><a href="admin.html">Admin/Monitor</a></li> | ||
</ul> | ||
</li> | ||
<li><a href="docs">Documentation</a></li> | ||
</ul> | ||
<div class="navbar-header navbar-right"> | ||
<ul class="nav navbar-nav"> | ||
<li><a href="http://groups.google.com/d/forum/meetecho-janus" class="navbar-link"><b>Discuss Janus</b></a></li> | ||
<li><a href="http://www.meetecho.com" class="navbar-link"><img src="meetecho-logo-white.png"/> <b>Meetecho</b></a></li> | ||
</ul> | ||
</div> | ||
</div> | ||
</div> | ||
</nav> | ||
|
||
<div class="container"> | ||
<div class="row"> | ||
<div class="col-md-12"> | ||
<div class="page-header"> | ||
<h1>Plugin Demo: Recorder/Playout | ||
<button class="btn btn-default" id="start">Start</button> | ||
</h1> | ||
</div> | ||
<div class="container" id="details"> | ||
<div class="row"> | ||
<div class="col-md-12"> | ||
<h3>Demo details</h3> | ||
<p>This demo shows how you can record a WebRTC session, and replay it later. You | ||
can choose to either record a new session (e.g., a videomessage) or watch any of | ||
the recordings that may be available (including those you made yourself).</p> | ||
<p>This application makes use of the integrated recording feature in Janus, | ||
specifically the individual recording of audio and video streams in <code>.mjr</code> | ||
format: these individual recordings are then used for a live broadcasting | ||
of the dumped RTP packets through a sendonly WebRTC PeerConnection | ||
when you choose to replay them. To post-process these recordings in a | ||
more usable format (e.g., <code>.webm</code> for video or <code>.opus</code> | ||
for audio) you can make use of the <code>janus-pp-rec</code> tool that | ||
is available as part of the Janus code.</p> | ||
<p>Press the <code>Start</code> button above to launch the demo.</p> | ||
</div> | ||
</div> | ||
</div> | ||
<div class="container hide" id="recordplay"> | ||
<div id="demo"> | ||
<div class="col-md-6" id="controls"> | ||
<div class="panel panel-default"> | ||
<div class="panel-heading"> | ||
<h3 class="panel-title">Recorder/Playout</h3> | ||
</div> | ||
<div class="panel-body"> | ||
<div class="btn-group btn-group-sm"> | ||
<button class="btn btn-danger" disabled id="record">Record</button> | ||
<button class="btn btn-success" disabled id="play">Play</button> | ||
<button class="btn btn-primary" disabled id="list">Update <i id="update-list" class="fa fa-refresh"></i></button> | ||
</div> | ||
<br/> | ||
<div class="btn-group btn-group-sm" style="width: 100%"> | ||
<div class="btn-group btn-group-sm" style="width: 100%"> | ||
<button id="recset" class="btn btn-default dropdown-toggle" data-toggle="dropdown" style="width: 100%"> | ||
Recordings list<span class="caret"></span> | ||
</button> | ||
<ul id="recslist" class="dropdown-menu" role="menu"> | ||
</ul> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
<div class="col-md-6 hide" id="video"> | ||
<div class="panel panel-default"> | ||
<div class="panel-heading"> | ||
<h3 class="panel-title"><span id="videotitle">Remote Video</span> <button class="btn-xs btn-danger pull-right" id="stop">Stop</button></h3> | ||
</div> | ||
<div class="panel-body" id="videobox"></div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<hr> | ||
<div class="footer"> | ||
<p>Janus WebRTC Gateway © <a href="http://www.meetecho.com">Meetecho</a> 2014</p> | ||
</div> | ||
</div> | ||
|
||
</body> | ||
</html> |
Oops, something went wrong.