现在拉取摄像头数据流还是有问题。没有添加认证字段。
Opened this issue · 0 comments
rockjl commented
我港做过测试,大比方海康威视的NVR需要用户名密码验证的。
rtsp://usr:pwd@x.x.x.x:5544/Streaming/Channels/601
curl -X POST -H "Content-Type: application/json" -d '{
"id" : "123",
"identifier": {
"rtsp": {
"stream_path": "Streaming/Channels/601"
}
},
"server_address"x.x.x.x:5544",
"relay_type":"Pull"
}' http://localhost:8000/api/start_relay_stream