上云api推送的RTMP直播流可以转成flv吗? 或者只推送rtmp流
Completed上云推送rtmp的原理是什么?是直接往服务器推rtmp流吗?还是一定要转成指定的格式,转成flv可以吗?还有就是为什么要加上时间戳,固定推流码可以吗?谢谢!
-
2023-08-31 12:18:28.703 DEBUG 16012 --- [pool-1-thread-9] c.d.s.c.m.handler.InboundMessageRouter : received topic :thing/product/1ZNBL2800C01ED/osd payload :{"bid":"00000000-0000-0000-0000-000000000000","data":{"50-65535-0":{"gimbal_pitch":0,"gimbal_roll":0,"gimbal_yaw":174.500000,"payload_index":"50-65535-0","version":1,"zoom_factor":0.828076},"attitude_head":72.900000,"attitude_pitch":0.800000,"attitude_roll":-0.200000,"battery":{"batteries":[{"capacity_percent":90,"firmware_version":"01.02.05.44","index":0,"loop_times":41,"sn":"1Z6PJAFFA200FN","sub_type":0,"temperature":38.100000,"type":0,"voltage":50712},{"capacity_percent":90,"firmware_version":"01.02.05.44","index":1,"loop_times":42,"sn":"1Z6PJ8RFA200NA","sub_type":0,"temperature":36.300000,"type":0,"voltage":50748}],"capacity_percent":90,"landing_power":5,"remain_flight_time":0,"return_home_power":14},"elevation":0,"firmware_version":"05.01.0100","gear":1,"height":-0.100479,"home_distance":60.041122,"horizontal_speed":0,"latitude":22.542893,"longitude":113.958324,"mode_code":0,"position_state":{"gps_number":15,"is_fixed":0,"quality":5,"rtk_number":0},"storage":{"total":0,"used":0},"total_flight_distance":0,"total_flight_time":0,"track_id":"","vertical_speed":0,"wind_direction":0,"wind_speed":0},"tid":"00000000-0000-0000-0000-000000000000","timestamp":1693484308606,"gateway":"1ZMBJA700301EB"}
2023-08-31 12:18:28.702 DEBUG 16012 --- [pool-1-thread-4] c.d.s.c.m.handler.InboundMessageRouter : received topic :thing/product/1ZNBL2800C01ED/events payload :{"bid":"00000000-0000-0000-0000-000000000000","data":{"event":"hms","method":"hms","output":{"codes":[{"component_index":0,"id":440536003,"level":2,"sensor_index":0},{"component_index":0,"id":440536130,"level":2,"sensor_index":0},{"component_index":0,"id":469763076,"level":2,"sensor_index":0},{"component_index":0,"id":469765379,"level":1,"sensor_index":0}]}},"tid":"00000000-0000-0000-0000-000000000000","timestamp":1693484308606,"gateway":"1ZMBJA700301EB"}
hererererererererererererer
hererererererererererererer1
OsdSubDeviceReceiver(attitudeHead=72.9, attitudePitch=0.8, attitudeRoll=-0.2, elevation=0.0, battery=BatteryReceiver(batteries=[BatteryStateReceiver(firmwareVersion=01.02.05.44, index=0, loopTimes=41, capacityPercent=90, sn=1Z6PJAFFA200FN, subType=0, temperature=38.1, type=0, voltage=50712), BatteryStateReceiver(firmwareVersion=01.02.05.44, index=1, loopTimes=42, capacityPercent=90, sn=1Z6PJ8RFA200NA, subType=0, temperature=36.3, type=0, voltage=50748)], capacityPercent=90, landingPower=5, remainFlightTime=0, returnHomePower=14), firmwareVersion=05.01.0100, gear=1, height=-0.100479, homeDistance=60.041122, horizontalSpeed=0.0, latitude=22.542893, longitude=113.958324, modeCode=IDLE, totalFlightDistance=0.0, totalFlightTime=0.0, verticalSpeed=0.0, windDirection=0.0, windSpeed=0.0, positionState=PositionStateReceiver(isCalibration=null, gpsNumber=15, isFixed=0, quality=5, rtkNumber=0), payloads=null, storage=StorageReceiver(total=0, used=0), nightLightsState=null, heightLimit=null, distanceLimitStatus=null, obstacleAvoidance=null, activationTime=null, cameras=null, rcLostAction=null, rthAltitude=null, totalFlightSorties=null, exitWaylineWhenRcLost=null)
hererererererererererererer2
2023-08-31 12:18:28.706 WARN 16012 --- [pool-1-thread-5] c.d.s.m.s.impl.DeviceOSDServiceImpl : Please remount the payload, or restart the drone. Otherwise the data of the payload will not be received.
Please sign in to leave a comment.
Comments
6 comments