Update WebRTC type in info JSON
This commit is contained in:
@@ -15,6 +15,8 @@ import (
|
||||
func NewClient(tracker, share, pwd string, pc *pion.PeerConnection) (*webrtc.Conn, error) {
|
||||
// 1. Create WebRTC producer
|
||||
prod := webrtc.NewConn(pc)
|
||||
prod.Desc = "WebRTC/WebTorrent sync"
|
||||
prod.Mode = streamer.ModeActiveProducer
|
||||
|
||||
medias := []*streamer.Media{
|
||||
{Kind: streamer.KindVideo, Direction: streamer.DirectionRecvonly},
|
||||
|
||||
Reference in New Issue
Block a user