【video】记录audio+video
发过来v9不识别的,变成只有audio了
{ "code": 0, "data": [ { "aliveSecond": 282, "app": "3051e186c9aa4dc79d297605699a6307", "bytesSpeed": 10325, "createStamp": 1709802676, "isRecordingHLS": true, "isRecordingMP4": false, "originSock": { "identifier": "138-263", "local_ip": "::", "local_port": 8000, "peer_ip": "10.60.3.122", "peer_port": 33142 }, "originType": 8, "originTypeStr": "rtc_push", "originUrl": "rtc://10.30.2.8:6080/3051e186c9aa4dc79d297605699a6307/dxw3Stream?app=3051e186c9aa4dc79d297605699a6307&stream=dxw3Stream&type=push&session=135-285", "readerCount": 0, "schema": "hls", "stream": "dxw3Stream", "totalReaderCount": 1, "tracks": [ { "channels": 1, "codec_id": 3, "codec_id_name": "PCMA", "codec_type": 1, "duration": 281681, "frames": 14087, "ready": true, "sample_bit": 16, "sample_rate": 8000 } ], "vhost": "__defaultVhost__" }, { "aliveSecond": 282, "app": "3051e186c9aa4dc79d297605699a6307", "bytesSpeed": 10330, "createStamp": 1709802676, "isRecordingHLS": true, "isRecordingMP4": false, "originSock": { "identifier": "138-263", "local_ip": "::", "local_port": 8000, "peer_ip": "10.60.3.122", "peer_port": 33142 }, "originType": 8, "originTypeStr": "rtc_push", "originUrl": "rtc://10.30.2.8:6080/3051e186c9aa4dc79d297605699a6307/dxw3Stream?app=3051e186c9aa4dc79d297605699a6307&stream=dxw3Stream&type=push&session=135-285", "readerCount": 0, "schema": "ts", "stream": "dxw3Stream", "totalReaderCount": 1, "tracks": [ { "channels": 1, "codec_id": 3, "codec_id_name": "PCMA", "codec_type": 1, "duration": 281681, "frames": 14087, "ready": true, "sample_bit": 16, "sample_rate": 8000 } ], "vhost": "__defaultVhost__" }, { "aliveSecond": 282, "app": "3051e186c9aa4dc79d297605699a6307", "bytesSpeed": 8029, "createStamp": 1709802676, "isRecordingHLS": true, "isRecordingMP4": false, "originSock": { "identifier": "138-263", "local_ip": "::", "local_port": 8000, "peer_ip": "10.60.3.122", "peer_port": 33142 }, "originType": 8, "originTypeStr": "rtc_push", "originUrl": "rtc://10.30.2.8:6080/3051e186c9aa4dc79d297605699a6307/dxw3Stream?app=3051e186c9aa4dc79d297605699a6307&stream=dxw3Stream&type=push&session=135-285", "readerCount": 0, "schema": "rtmp", "stream": "dxw3Stream", "totalReaderCount": 1, "tracks": [ { "channels": 1, "codec_id": 3, "codec_id_name": "PCMA", "codec_type": 1, "duration": 281681, "frames": 14087, "ready": true, "sample_bit": 16, "sample_rate": 8000 } ], "vhost": "__defaultVhost__" }, { "aliveSecond": 282, "app": "3051e186c9aa4dc79d297605699a6307", "bytesSpeed": 17975, "createStamp": 1709802676, "isRecordingHLS": true, "isRecordingMP4": false, "originSock": { "identifier": "138-263", "local_ip": "::", "local_port": 8000, "peer_ip": "10.60.3.122", "peer_port": 33142 }, "originType": 8, "originTypeStr": "rtc_push", "originUrl": "rtc://10.30.2.8:6080/3051e186c9aa4dc79d297605699a6307/dxw3Stream?app=3051e186c9aa4dc79d297605699a6307&stream=dxw3Stream&type=push&session=135-285", "readerCount": 0, "schema": "fmp4", "stream": "dxw3Stream", "totalReaderCount": 1, "tracks": [ { "channels": 1, "codec_id": 3, "codec_id_name": "PCMA", "codec_type": 1, "duration": 281681, "frames": 14087, "ready": true, "sample_bit": 16, "sample_rate": 8000 } ], "vhost": "__defaultVhost__" }, { "aliveSecond": 282, "app": "3051e186c9aa4dc79d297605699a6307", "bytesSpeed": 226070, "createStamp": 1709802676, "isRecordingHLS": true, "isRecordingMP4": false, "originSock": { "identifier": "138-263", "local_ip": "::", "local_port": 8000, "peer_ip": "10.60.3.122", "peer_port": 33142 }, "originType": 8, "originTypeStr": "rtc_push", "originUrl": "rtc://10.30.2.8:6080/3051e186c9aa4dc79d297605699a6307/dxw3Stream?app=3051e186c9aa4dc79d297605699a6307&stream=dxw3Stream&type=push&session=135-285", "readerCount": 1, "schema": "rtsp", "stream": "dxw3Stream", "totalReaderCount": 1, "tracks": [ { "channels": 1, "codec_id": 3, "codec_id_name": "PCMA", "codec_type": 1, "duration": 281681, "frames": 14087, "ready": true, "sample_bit": 16, "sample_rate": 8000 } ], "vhost": "__defaultVhost__" } ] }
正常的有video与audio的
{ "code": 0, "data": [ { "aliveSecond": 7, "app": "ca6a8a41b5f449e48b9c962e640fe806", "bytesSpeed": 55560, "createStamp": 1709803148, "isRecordingHLS": true, "isRecordingMP4": false, "originSock": { "identifier": "163-265", "local_ip": "::", "local_port": 8000, "peer_ip": "10.62.15.236", "peer_port": 38618 }, "originType": 8, "originTypeStr": "rtc_push", "originUrl": "rtc://10.30.2.8:6080/ca6a8a41b5f449e48b9c962e640fe806/wf3Stream?app=ca6a8a41b5f449e48b9c962e640fe806&stream=wf3Stream&type=push&session=160-284", "readerCount": 0, "schema": "hls", "stream": "wf3Stream", "totalReaderCount": 1, "tracks": [ { "codec_id": 0, "codec_id_name": "H264", "codec_type": 0, "duration": 7126, "fps": 12, "frames": 86, "gop_interval_ms": 2005, "gop_size": 24, "height": 640, "key_frames": 5, "ready": true, "width": 480 }, { "channels": 1, "codec_id": 3, "codec_id_name": "PCMA", "codec_type": 1, "duration": 7121, "frames": 359, "ready": true, "sample_bit": 16, "sample_rate": 8000 } ], "vhost": "__defaultVhost__" }, { "aliveSecond": 7, "app": "ca6a8a41b5f449e48b9c962e640fe806", "bytesSpeed": 49634, "createStamp": 1709803148, "isRecordingHLS": true, "isRecordingMP4": false, "originSock": { "identifier": "163-265", "local_ip": "::", "local_port": 8000, "peer_ip": "10.62.15.236", "peer_port": 38618 }, "originType": 8, "originTypeStr": "rtc_push", "originUrl": "rtc://10.30.2.8:6080/ca6a8a41b5f449e48b9c962e640fe806/wf3Stream?app=ca6a8a41b5f449e48b9c962e640fe806&stream=wf3Stream&type=push&session=160-284", "readerCount": 0, "schema": "ts", "stream": "wf3Stream", "totalReaderCount": 1, "tracks": [ { "codec_id": 0, "codec_id_name": "H264", "codec_type": 0, "duration": 7126, "fps": 12, "frames": 86, "gop_interval_ms": 2005, "gop_size": 24, "height": 640, "key_frames": 5, "ready": true, "width": 480 }, { "channels": 1, "codec_id": 3, "codec_id_name": "PCMA", "codec_type": 1, "duration": 7121, "frames": 359, "ready": true, "sample_bit": 16, "sample_rate": 8000 } ], "vhost": "__defaultVhost__" }, { "aliveSecond": 7, "app": "ca6a8a41b5f449e48b9c962e640fe806", "bytesSpeed": 45145, "createStamp": 1709803148, "isRecordingHLS": true, "isRecordingMP4": false, "originSock": { "identifier": "163-265", "local_ip": "::", "local_port": 8000, "peer_ip": "10.62.15.236", "peer_port": 38618 }, "originType": 8, "originTypeStr": "rtc_push", "originUrl": "rtc://10.30.2.8:6080/ca6a8a41b5f449e48b9c962e640fe806/wf3Stream?app=ca6a8a41b5f449e48b9c962e640fe806&stream=wf3Stream&type=push&session=160-284", "readerCount": 0, "schema": "rtmp", "stream": "wf3Stream", "totalReaderCount": 1, "tracks": [ { "codec_id": 0, "codec_id_name": "H264", "codec_type": 0, "duration": 7126, "fps": 12, "frames": 86, "gop_interval_ms": 2005, "gop_size": 24, "height": 640, "key_frames": 5, "ready": true, "width": 480 }, { "channels": 1, "codec_id": 3, "codec_id_name": "PCMA", "codec_type": 1, "duration": 7121, "frames": 359, "ready": true, "sample_bit": 16, "sample_rate": 8000 } ], "vhost": "__defaultVhost__" }, { "aliveSecond": 7, "app": "ca6a8a41b5f449e48b9c962e640fe806", "bytesSpeed": 59417, "createStamp": 1709803148, "isRecordingHLS": true, "isRecordingMP4": false, "originSock": { "identifier": "163-265", "local_ip": "::", "local_port": 8000, "peer_ip": "10.62.15.236", "peer_port": 38618 }, "originType": 8, "originTypeStr": "rtc_push", "originUrl": "rtc://10.30.2.8:6080/ca6a8a41b5f449e48b9c962e640fe806/wf3Stream?app=ca6a8a41b5f449e48b9c962e640fe806&stream=wf3Stream&type=push&session=160-284", "readerCount": 0, "schema": "fmp4", "stream": "wf3Stream", "totalReaderCount": 1, "tracks": [ { "codec_id": 0, "codec_id_name": "H264", "codec_type": 0, "duration": 7126, "fps": 12, "frames": 86, "gop_interval_ms": 2005, "gop_size": 24, "height": 640, "key_frames": 5, "ready": true, "width": 480 }, { "channels": 1, "codec_id": 3, "codec_id_name": "PCMA", "codec_type": 1, "duration": 7121, "frames": 359, "ready": true, "sample_bit": 16, "sample_rate": 8000 } ], "vhost": "__defaultVhost__" }, { "aliveSecond": 7, "app": "ca6a8a41b5f449e48b9c962e640fe806", "bytesSpeed": 48188, "createStamp": 1709803148, "isRecordingHLS": true, "isRecordingMP4": false, "originSock": { "identifier": "163-265", "local_ip": "::", "local_port": 8000, "peer_ip": "10.62.15.236", "peer_port": 38618 }, "originType": 8, "originTypeStr": "rtc_push", "originUrl": "rtc://10.30.2.8:6080/ca6a8a41b5f449e48b9c962e640fe806/wf3Stream?app=ca6a8a41b5f449e48b9c962e640fe806&stream=wf3Stream&type=push&session=160-284", "readerCount": 1, "schema": "rtsp", "stream": "wf3Stream", "totalReaderCount": 1, "tracks": [ { "codec_id": 0, "codec_id_name": "H264", "codec_type": 0, "duration": 7126, "fps": 12, "frames": 86, "gop_interval_ms": 2005, "gop_size": 24, "height": 640, "key_frames": 5, "ready": true, "width": 480 }, { "channels": 1, "codec_id": 3, "codec_id_name": "PCMA", "codec_type": 1, "duration": 7121, "frames": 359, "ready": true, "sample_bit": 16, "sample_rate": 8000 } ], "vhost": "__defaultVhost__" } ] }()()
The End