Stop using legacy ptype "listener".

This commit is contained in:
Joachim Bauch 2021-02-24 08:49:10 +01:00
parent 64cccab641
commit 45b543d594
Failed to extract signature
1 changed files with 1 additions and 1 deletions

View File

@ -1059,7 +1059,7 @@ func (p *mcuJanusSubscriber) joinRoom(ctx context.Context, callback func(error,
retry:
join_msg := map[string]interface{}{
"request": "join",
"ptype": "listener",
"ptype": "subscriber",
"room": p.roomId,
"feed": streamTypeUserIds[p.streamType],
}