-
Notifications
You must be signed in to change notification settings - Fork 608
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem with playing H265 in Edge browser #1608
Comments
Check stream probe from go2rtc WebUI |
OK. When I check the probe from the WebUI. What should I look for? |
Just post it here |
OK {
"producers": [
{
"id": 23,
"format_name": "rtsp",
"protocol": "rtsp+tcp",
"remote_addr": "10.2.120.11:80",
"url": "rtsp://xxxx:[email protected]:80/rtsp/streaming?channel=01\u0026subtype=01",
"sdp": "v=0\r\no=- 48523793107 48523793107 IN IP4 10.2.120.11\r\ns=RTSP Session\r\nt=0 0\r\nm=video 0 RTP/AVP 96\r\na=control:rtsp://10.2.120.11:80/rtsp/streaming?channel=1\u0026subtype=1\u0026trackID=1\r\na=rtpmap:96 H265/90000\r\na=framerate:30\r\na=x-dimensions:1280,720\r\na=fmtp:96 sprop-vps=QAEMAf//AWAAAAMAAAMAAAMAAAMAlqwJ; sprop-sps=QgEBAWAAAAMAAAMAAAMAAAMAlqACgIAtFja5JMmuWcAgAAB9IAAOqcE=; sprop-pps=RAHgdrAmQA==\r\na=recvonly\r\nm=audio 0 RTP/AVP 8\r\na=control:rtsp://10.2.120.11:80/rtsp/streaming?channel=1\u0026subtype=1\u0026trackID=2\r\na=rtpmap:8 PCMA/8000\r\na=recvonly\r\nm=audio 0 RTP/AVP 8\r\na=control:rtsp://10.2.120.11:80/rtsp/streaming?channel=1\u0026subtype=1\u0026trackID=3\r\na=rtpmap:8 PCMA/8000\r\na=sendonly\r\n",
"user_agent": "go2rtc/1.9.4",
"medias": [
"video, recvonly, H265",
"audio, recvonly, PCMA/8000",
"audio, sendonly, PCMA/8000"
],
"receivers": [
{
"id": 24,
"codec": {
"codec_name": "hevc",
"codec_type": "video"
},
"childs": [
25
]
},
{
"id": 26,
"codec": {
"codec_name": "pcm_alaw",
"codec_type": "audio",
"sample_rate": 8000
},
"childs": [
27
]
}
],
"senders": [
{
"id": 29,
"codec": {
"codec_name": "pcm_alaw",
"codec_type": "audio",
"sample_rate": 8000
},
"parent": 28
}
]
}
],
"consumers": [
{
"id": 22,
"format_name": "probe",
"protocol": "http",
"remote_addr": "10.2.10.31:64519",
"user_agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/134.0.0.0 Safari/537.36 Edg/134.0.0.0",
"medias": [
"video, sendonly, ALL",
"audio, sendonly, ALL",
"audio, recvonly, ANY"
],
"receivers": [
{
"id": 28,
"codec": {
"codec_name": "ANY",
"codec_type": ""
},
"childs": [
29
]
}
],
"senders": [
{
"id": 25,
"codec": {
"codec_name": "hevc",
"codec_type": "video"
},
"parent": 24
},
{
"id": 27,
"codec": {
"codec_name": "pcm_alaw",
"codec_type": "audio",
"sample_rate": 8000
},
"parent": 26
}
]
}
]
} |
Well. H265 videos may indeed not always work well in the browser. It all depends on the browser and the quality of the stream. |
I am using most updated version of Edge on Windows 11. I do not need H265. I just want to convert the RTSP to a stream that I can display in a website. Any format is OK by me. |
You can change H265 to H264 in your camera settings. Or use transcoding via ffmpeg source (check go2rtc docs). |
I changed the camera settings to H264 and it is working now. Thank you very much. |
In case the camera has no such setting. Can we convert the stream to H264 or any IOS compatible format? |
The answer is in the sentence which you quoted. |
Hello,
I have installed go2rtc in a Docker container on Synology nas. I have added the RTSP streams in de config file. When I open a stream I see a still image but no live feed.
When using the same RTSP stream in VCL Player the video feed is working just fine.
What do I have to setup/change?
The text was updated successfully, but these errors were encountered: