1
0
mirror of https://github.com/Tha14/toxic.git synced 2025-12-07 13:36:35 +01:00

Implemented video preview and preparations for ToxAV

This commit is contained in:
cnhenry
2015-07-30 01:49:27 -05:00
parent c8ea02376e
commit 9b6efb65de
11 changed files with 447 additions and 80 deletions

View File

@@ -61,6 +61,10 @@ static struct cmd_func global_commands[] = {
{ "/lsdev", cmd_list_devices },
{ "/sdev", cmd_change_device },
#endif /* AUDIO */
#ifdef VIDEO
{ "/lsvdev", cmd_list_video_devices },
{ "/svdev" , cmd_change_video_device },
#endif /* VIDEO */
{ NULL, NULL },
};
@@ -78,6 +82,10 @@ static struct cmd_func chat_commands[] = {
{ "/mute", cmd_mute },
{ "/sense", cmd_sense },
#endif /* AUDIO */
#ifdef VIDEO
{ "/video", cmd_video },
{ "/endvideo", cmd_end_video },
#endif /* VIDEO */
{ NULL, NULL },
};