Ah yes https port is 8444
Code:
curl -X POST "https://127.0.0.1:8444/rest-api/stream/find" -H "Content-Type:application/json" -d '{"name":"100000000000003","published":"true","display":"metrics"}' --insecure
http port is 8081
Code:
curl -X POST "http://127.0.0.1:8081/rest-api/stream/find" -H "Content-Type:application/json" -d '{"name":"100000000000003","published":"true","display":"metrics"}'
I'm seeing multiple values of video width and height in the API:
curl -X POST
http://127.0.0.1:8081/rest-api/stream/find -H "Content-Type:application/json" -d "name=100000000000003&published=true"
[{"appKey":"flashStreamingApp","sessionId":"/172.31.35.99:33306/127.0.0.1:1935","mediaSessionId":"61507553-7d77-429a-bc01-8215feb646c2","name":"rtmp://localhost:1935/live","published":true,"hasVideo":true,"hasAudio":true,"status":"PUBLISHING","sdp":"v=0\r\no=- 1988962254 1988962254 IN IP4 0.0.0.0\r\nc=IN IP4 0.0.0.0\r\nt=0 0\r\na=sdplang:en\r\nm=video 0 RTP/AVP 119 127\r\na=rtpmap:119 H264/90000\r\na=fmtp:119 profile-level-id=42e01f;packetization-mode=1\r\na=rtpmap:127 FLV/90000\r\na=sendonly\r\nm=audio 0 RTP/AVP 97 8 0 102 103 104 105 106 107 108 109 110\r\na=rtpmap:97 SPEEX/16000\r\na=rtpmap:8 PCMA/8000\r\na=rtpmap:0 PCMU/8000\r\na=rtpmap:102 mpeg4-generic/48000/1\r\na=rtpmap:103 mpeg4-generic/44100/1\r\na=rtpmap:104 mpeg4-generic/32000/1\r\na=rtpmap:105 mpeg4-generic/24000/1\r\na=rtpmap:106 mpeg4-generic/22050/1\r\na=rtpmap:107 mpeg4-generic/16000/1\r\na=rtpmap:108 mpeg4-generic/12000/1\r\na=rtpmap:109 mpeg4-generic/11025/1\r\na=rtpmap:110 mpeg4-generic/8000/1\r\na=sendonly\r\n","audioCodec":"mpeg4-generic","videoCodec":"H264","record":false,"width":1280,"height":720,"bitrate":0,"minBitrate":0,"maxBitrate":0,"quality":0,"history":false,"gop":0,"fps":0,"audioBitrate":0,"codecImpl":"","transport":"UDP","cvoExtension":false,"createDate":1623807798439,"mediaType":"publish","mediaProvider":"Flash"},{"appKey":"flashStreamingApp","sessionId":"/127.0.0.1:42572/127.0.0.1:1935","mediaSessionId":"fa45a2ed-ade5-4423-9a33-669700ee6747","name":"rp1","published":true,"hasVideo":true,"hasAudio":true,"status":"PUBLISHING","sdp":"v=0\r\no=- 1988962254 1988962254 IN IP4 0.0.0.0\r\nc=IN IP4 0.0.0.0\r\nt=0 0\r\na=sdplang:en\r\nm=video 0 RTP/AVP 119 127\r\na=rtpmap:119 H264/90000\r\na=fmtp:119 profile-level-id=42e01f;packetization-mode=1\r\na=rtpmap:127 FLV/90000\r\na=sendonly\r\nm=audio 0 RTP/AVP 97 8 0 102 103 104 105 106 107 108 109 110\r\na=rtpmap:97 SPEEX/16000\r\na=rtpmap:8 PCMA/8000\r\na=rtpmap:0 PCMU/8000\r\na=rtpmap:102 mpeg4-generic/48000/1\r\na=rtpmap:103 mpeg4-generic/44100/1\r\na=rtpmap:104 mpeg4-generic/32000/1\r\na=rtpmap:105 mpeg4-generic/24000/1\r\na=rtpmap:106 mpeg4-generic/22050/1\r\na=rtpmap:107 mpeg4-generic/16000/1\r\na=rtpmap:108 mpeg4-generic/12000/1\r\na=rtpmap:109 mpeg4-generic/11025/1\r\na=rtpmap:110 mpeg4-generic/8000/1\r\na=sendonly\r\n","audioCodec":"mpeg4-generic","videoCodec":"H264","record":false,"width":640,"height":360,"bitrate":0,"minBitrate":0,"maxBitrate":0,"quality":0,"history":false,"gop":0,"fps":0,"audioBitrate":0,"codecImpl":"","transport":"UDP","cvoExtension":false,"createDate":1623759914821,"mediaType":"publish","mediaProvider":"Flash"},{"appKey":"defaultApp","sessionId":"/60.51.58.97:52346/172.31.35.99:8443-77f730cd-5c5a-4f83-b7db-534b0fde92a5","mediaSessionId":"39b5dd10-ce44-11eb-bf11-a9528d18974c","name":"100000000000003","published":true,"hasVideo":true,"hasAudio":true,"status":"PUBLISHING","sdp":"v=0\r\no=mozilla...THIS_IS_SDPARTA-89.0 3176621800161836748 0 IN IP4 0.0.0.0\r\ns=-\r\nt=0 0\r\na=fingerprint:sha-256 F3:0F:0A:97:8D:28:CC:C8:1B:C9:05:A1:71:9F:3E:94:63:15:29
3:28:FE:EB:4C:A9:8B:A9:57:27
9:AE:9B\r\na=group:BUNDLE 0 1\r\na=ice-options:trickle\r\na=msid-semantic:WMS *\r\nm=audio 9 UDP/TLS/RTP/SAVPF 109 9 0 8 101\r\nc=IN IP4 0.0.0.0\r\na=sendonly\r\na=extmap:1 urn:ietf
arams:rtp-hdrext:ssrc-audio-level\r\na=extmap:2/recvonly urn:ietf
arams:rtp-hdrext:csrc-audio-level\r\na=extmap:3 urn:ietf
arams:rtp-hdrext:sdes:mid\r\na=fmtp:109 maxplaybackrate=48000;stereo=1;useinbandfec=1\r\na=fmtp:101 0-15\r\na=ice-pwd:41d24aa5fb444ec47025d4ab24f495c0\r\na=ice-ufrag:6c03f10a\r\na=mid:0\r\na=msid:{082edbc1-0d05-4c4f-bdfc-110abd1e218a} {57bf2cee-436c-4087-9bc2-e9c6e89f1112}\r\na=rtcp-mux\r\na=rtpmap:109 opus/48000/2\r\na=rtpmap:9 G722/8000/1\r\na=rtpmap:0 PCMU/8000\r\na=rtpmap:8 PCMA/8000\r\na=rtpmap:101 telephone-event/8000/1\r\na=setup:actpass\r\na=ssrc:1194781838 cname:{c4a4bf8f-94a2-41d0-8ab0-0ba941db062c}\r\nm=video 9 UDP/TLS/RTP/SAVPF 120 124 121 125 126 127 97 98\r\nc=IN IP4 0.0.0.0\r\na=sendonly\r\na=extmap:3 urn:ietf
arams:rtp-hdrext:sdes:mid\r\na=extmap:4
http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time\r\na=extmap:5 urn:ietf
arams:rtp-hdrext:toffset\r\na=extmap:6/recvonly
http://www.webrtc.org/experiments/rtp-hdrext/playout-delay\r\na=extmap:7 http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01\r\na=fmtp:126 profile-level-id=42e01f;level-asymmetry-allowed=1;packetization-mode=1\r\na=fmtp:97 profile-level-id=42e01f;level-asymmetry-allowed=1\r\na=fmtp:120 max-fs=12288;max-fr=60\r\na=fmtp:124 apt=120\r\na=fmtp:121 max-fs=12288;max-fr=60\r\na=fmtp:125 apt=121\r\na=fmtp:127 apt=126\r\na=fmtp:98 apt=97\r\na=ice-pwd:41d24aa5fb444ec47025d4ab24f495c0\r\na=ice-ufrag:6c03f10a\r\na=mid:1\r\na=msid:{082edbc1-0d05-4c4f-bdfc-110abd1e218a} {f11ec6c8-7fb1-477e-99f7-7c6af7fadfd9}\r\na=rtcp-fb:120 nack\r\na=rtcp-fb:120 nack pli\r\na=rtcp-fb:120 ccm fir\r\na=rtcp-fb:120 goog-remb\r\na=rtcp-fb:120 transport-cc\r\na=rtcp-fb:121 nack\r\na=rtcp-fb:121 nack pli\r\na=rtcp-fb:121 ccm fir\r\na=rtcp-fb:121 goog-remb\r\na=rtcp-fb:121 transport-cc\r\na=rtcp-fb:126 nack\r\na=rtcp-fb:126 nack pli\r\na=rtcp-fb:126 ccm fir\r\na=rtcp-fb:126 goog-remb\r\na=rtcp-fb:126 transport-cc\r\na=rtcp-fb:97 nack\r\na=rtcp-fb:97 nack pli\r\na=rtcp-fb:97 ccm fir\r\na=rtcp-fb:97 goog-remb\r\na=rtcp-fb:97 transport-cc\r\na=rtcp-mux\r\na=rtcp-rsize\r\na=rtpmap:120 VP8/90000\r\na=rtpmap:124 rtx/90000\r\na=rtpmap:121 VP9/90000\r\na=rtpmap:125 rtx/90000\r\na=rtpmap:126 H264/90000\r\na=rtpmap:127 rtx/90000\r\na=rtpmap:97 H264/90000\r\na=rtpmap:98 rtx/90000\r\na=setup:actpass\r\na=ssrc:1691594156 cname:{c4a4bf8f-94a2-41d0-8ab0-0ba941db062c}\r\na=ssrc:849249649 cname:{c4a4bf8f-94a2-41d0-8ab0-0ba941db062c}\r\na=ssrc-group:FID 1691594156 849249649\r\n","audioCodec":"opus","videoCodec":"H264","record":false,"width":1280,"height":720,"bitrate":0,"minBitrate":0,"maxBitrate":0,"quality":0,"rtmpUrl":"rtmp://localhost:1935/live","history":false,"gop":0,"fps":0,"audioBitrate":0,"codecImpl":"","transport":"UDP","cvoExtension":false,"createDate":1623807798121,"mediaType":"publish","mediaProvider":"WebRTC","origin":"
https://www.jomliv.com"},{"appKey":"flashStreamingApp","sessionId":"/127.0.0.1:45168/127.0.0.1:1935","mediaSessionId":"1000000000000031/127.0.0.1:45168/127.0.0.1:1935","name":"100000000000003","published":false,"hasVideo":true,"hasAudio":true,"status":"PLAYING","sdp":"v=0\r\no=- 1988962254 1988962254 IN IP4 0.0.0.0\r\nc=IN IP4 0.0.0.0\r\nt=0 0\r\na=sdplang:en\r\nm=video 0 RTP/AVP 96\r\na=rtpmap:96 H264/90000\r\na=fmtp:96 profile-level-id=42e01f;packetization-mode=1\r\na=recvonly\r\nm=audio 0 RTP/AVP 97 8 0 102 103 104 105 106 107 108 109 110\r\na=rtpmap:97 SPEEX/16000\r\na=rtpmap:8 PCMA/8000\r\na=rtpmap:0 PCMU/8000\r\na=rtpmap:102 mpeg4-generic/48000/1\r\na=rtpmap:103 mpeg4-generic/44100/1\r\na=rtpmap:104 mpeg4-generic/32000/1\r\na=rtpmap:105 mpeg4-generic/24000/1\r\na=rtpmap:106 mpeg4-generic/22050/1\r\na=rtpmap:107 mpeg4-generic/16000/1\r\na=rtpmap:108 mpeg4-generic/12000/1\r\na=rtpmap:109 mpeg4-generic/11025/1\r\na=rtpmap:110 mpeg4-generic/8000/1\r\na=recvonly\r\n","audioCodec":"PCMA","videoCodec":"H264","record":false,"width":1280,"height":720,"bitrate":0,"minBitrate":0,"maxBitrate":0,"quality":0,"parentMediaSessionId":"39b5dd10-ce44-11eb-bf11-a9528d18974c","history":false,"gop":0,"fps":0,"audioBitrate":0,"codecImpl":"","transport":"UDP","cvoExtension":true,"createDate":1623807801126,"mediaType":"play","mediaProvider":"Flash"}][root@stream1-prod httpd]# curl -X POST 00000000003&published=true" | jq -r '.[].width, .[].height'
e:application/json" -d "name=10000
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 8824 100 8789 100 35 1287k 5248 --:--:-- --:--:-- --:--:-- 1226k
1280
1280
640
1280
1280
720
720
360
720
720
which are the actual frame size in the result? My guess is 1280x720.