| 96 | === Looping Audio === |
| 97 | |
| 98 | If you want, you can loop the audio of a media object to itself (i.e. the audio received from the object will be transmitted to itself). For example, you can loop the audio of the sound device with: |
| 99 | |
| 100 | {{{ |
| 101 | #!python |
| 102 | lib.conf_connect(0, 0) |
| 103 | }}} |
| 104 | |
| 105 | That will make the following connection: |
| 106 | |
| 107 | [[Image(conference-bridge-loop.jpg)]] |
| 108 | |
| 109 | With the above connection, audio received from the microphone will be played back to the speaker. This is useful to test whether the microphone and speaker are working properly. |
| 110 | |
| 111 | You can loop-back audio from any objects, as long as the object has bidirectional media. That means you can loop the call's audio, so that audio received from the remote person will be transmitted back to her/him. But you can't loop the WAV player or recorder since these objects can only play or record and not both. |
| 112 | |
| 113 | |