test
This commit is contained in:
		| @@ -150,9 +150,12 @@ func Dial(options RTSPClientOptions) (*RTSPClient, error) { | ||||
| 	if err != nil { | ||||
| 		return nil, err | ||||
| 	} | ||||
|  | ||||
| 	for _, i2 := range client.mediaSDP { | ||||
| 		if (i2.AVType != VIDEO && i2.AVType != AUDIO) || (client.options.DisableAudio && i2.AVType == AUDIO) { | ||||
| 			//TODO check it | ||||
| 			if strings.Contains(string(client.SDPRaw), "LaunchDigital") { | ||||
| 				client.chTMP += 2 | ||||
| 			} | ||||
| 			continue | ||||
| 		} | ||||
| 		err = client.request(SETUP, map[string]string{"Transport": "RTP/AVP/TCP;unicast;interleaved=" + strconv.Itoa(client.chTMP) + "-" + strconv.Itoa(client.chTMP+1)}, client.ControlTrack(i2.Control), false, false) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 deepch
					deepch