webrtc-streamer icon indicating copy to clipboard operation
webrtc-streamer copied to clipboard

Close session: video/H265

Open ButyAfter opened this issue 3 months ago • 9 comments

Image

Why is this happening? Is it because H.265 is not supported?

ButyAfter avatar Oct 11 '25 06:10 ButyAfter

Hi @ButyAfter

Maybe, maybe not. You should increase loglevel and read the log to get information what trig session closure.

Best regards Michel

mpromonet avatar Oct 11 '25 12:10 mpromonet

Hi @ButyAfter

Maybe, maybe not. You should increase loglevel and read the log to get information what trig session closure.

Best regards Michel

Thanks for your reply. I want to clarify, can webrtc-streamer support h265?

ButyAfter avatar Oct 13 '25 06:10 ButyAfter

Hi @ButyAfter

Maybe, maybe not. You should increase loglevel and read the log to get information what trig session closure.

Best regards Michel

How to start and see the log accurately

ButyAfter avatar Oct 13 '25 08:10 ButyAfter

I found this log:

[018:302][17704] (livevideosource.h:192): LiveVideoSource:onData SPS set format 1280x720 Start playing sink for "[018:302][9624] (VideoDecoder.h:253): VideoDecoder:DecoderThread set format:H265 1280x720 video/H265" subsession [018:302][9624] (internal_decoder_factory.cc:86): Trying to create decoder for unsupported format. Codec name: H265, parameters: { } Sending request: SETUP rtsp://xxx:8554/live/camera3/trackID=0 RTSP/1.0 CSeq: 5 User-Agent: LIVE555 Streaming Media v2025.07.19 Transport: RTP/AVP;unicast;client_port=57554-57555 Session: rlkQ5QbIlTYC

ButyAfter avatar Oct 13 '25 08:10 ButyAfter

Hi @ButyAfter Did you use -o ? Best regards Michel

mpromonet avatar Oct 13 '25 21:10 mpromonet

Hi @ButyAfter Did you use -o ? Best regards Michel

no just like:webrtc-streamer.exe -vvv

ButyAfter avatar Oct 14 '25 08:10 ButyAfter

Hi @ButyAfter Then it will probably not work till there is no h265 software décoder in webrtc. Best Regards Michel

mpromonet avatar Oct 14 '25 11:10 mpromonet

Hi @ButyAfter Then it will probably not work till there is no h265 software décoder in webrtc. Best Regards Michel

What? Are you not clear about whether or not h265 is supported? The following log seems to indicate that h265 encoded video streams are not supported.

[018:302][17704] (livevideosource.h:192): LiveVideoSource:onData SPS set format 1280x720 Start playing sink for "[018:302][9624] (VideoDecoder.h:253): VideoDecoder:DecoderThread set format:H265 1280x720 video/H265" subsession [018:302][9624] (internal_decoder_factory.cc:86): Trying to create decoder for unsupported format. Codec name: H265, parameters: { } Sending request: SETUP rtsp://xxx:8554/live/camera3/trackID=0 RTSP/1.0 CSeq: 5 User-Agent: LIVE555 Streaming Media v2025.07.19 Transport: RTP/AVP;unicast;client_port=57554-57555 Session: rlkQ5QbIlTYC

ButyAfter avatar Oct 17 '25 07:10 ButyAfter

Hi @ButyAfter It seems you still not have -o. Without -o stream is decoded and encoded. Best regards Michel

mpromonet avatar Oct 19 '25 07:10 mpromonet