Skip to content

Commit

Permalink
Add initial block for Voice OP5
Browse files Browse the repository at this point in the history
  • Loading branch information
bwmarrin committed Jan 12, 2016
1 parent 1c00077 commit c10cdcc
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions voice.go
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,16 @@ func (v *Voice) wsEvent(messageType int, message []byte) {
case 4:
// TODO

case 5:
// SPEAKING TRUE/FALSE NOTIFICATION
/*
{
"user_id": "1238921738912",
"ssrc": 2,
"speaking": false
}
*/

default:
fmt.Println("UNKNOWN VOICE OP: ", e.Operation)
printJSON(e.RawData)
Expand Down

0 comments on commit c10cdcc

Please sign in to comment.