云端互联API中的开始码流转发接口请求无人机的直播流转发参数如何设置

Completed

Comments

7 comments

  • DJI Developer Support
    尊敬的开发者, 您好,感谢您联系DJI 大疆创新。 这个指令是您下发的参数有误导致的。尝试改为 "camera":"81-0-0"。 希望我们的解决方案能够帮到您,感谢您的邮件,祝您生活愉快! Best Regards, DJI 大疆创新SDK技术支持
    0
    Comment actions Permalink
  • 郭杰

    我修改为

    {

     

        "region": "cn",
        "converter_name": "1455225546",
        "sn": "1581F6Q8D241Q00C692J",
        "camera":"81-0-0",
        "video": "normal-0",
        "idle_timeout": 500,
        "video_quality":0
    }
    接口反馈结果是
    {
        "code": 210060,
        "message": "device offline or not found"
    }
    0
    Comment actions Permalink
  • DJI Developer Support
    尊敬的开发者, 您好,感谢您联系DJI 大疆创新。 飞行器开机了吗?osd上报的消息可以提供吗? 希望我们的解决方案能够帮到您,感谢您的邮件,祝您生活愉快! Best Regards, DJI 大疆创新SDK技术支持
    0
    Comment actions Permalink
  • 郭杰

    无人机目前是开机的。

    这是无人机osd信息

    {"OrganizationUUID":"3ad701e3-c7fc-47b9-b2dd-72897dbe6fec","TopicSn":"1581F6Q8D241Q00C692J","biz_code":"device_osd","version":"1.0","timestamp":1718357019761,"trace_id":"","data":{"host":{"81-0-0":{"gimbal_pitch":0,"gimbal_roll":0,"gimbal_yaw":-94.33804931806016,"payload_index":"81-0-0","thermal_current_palette_style":0,"thermal_gain_mode":2,"thermal_global_temperature_max":38.333702087402344,"thermal_global_temperature_min":37.14128875732422,"thermal_isotherm_lower_limit":-20,"thermal_isotherm_state":0,"thermal_isotherm_upper_limit":150,"zoom_factor":0.5678233438485805},"activation_time":1709858120,"attitude_head":-94.2,"attitude_pitch":-1.7,"attitude_roll":0,"battery":{"batteries":[{"capacity_percent":85,"firmware_version":"26.03.00.44","high_voltage_storage_days":14,"index":0,"loop_times":71,"sn":"6Q7PLAUDA00023","sub_type":0,"temperature":31.5,"type":0,"voltage":16349}],"capacity_percent":85,"landing_power":0,"remain_flight_time":0,"return_home_power":0},"best_link_gateway":"7CTDM1D00BJE80","cameras":[{"camera_mode":0,"ir_metering_mode":0,"ir_metering_point":{"temperature":0,"x":0.5,"y":0.5},"ir_zoom_factor":2,"liveview_world_region":{"bottom":0.5678499341011047,"left":0.4344502389431,"right":0.5656877160072327,"top":0.43636879324913025},"payload_index":"81-0-0","photo_state":0,"photo_storage_settings":["vision"],"record_time":0,"recording_state":0,"remain_photo_num":9666,"remain_record_duration":0,"screen_split_enable":false,"wide_calibrate_farthest_focus_value":34,"wide_calibrate_nearest_focus_value":64,"wide_exposure_mode":1,"wide_exposure_value":16,"wide_focus_mode":0,"wide_focus_state":0,"wide_focus_value":34,"wide_iso":7,"wide_max_focus_value":64,"wide_min_focus_value":33,"wide_shutter_speed":45,"zoom_calibrate_farthest_focus_value":34,"zoom_calibrate_nearest_focus_value":64,"zoom_exposure_mode":1,"zoom_exposure_value":16,"zoom_factor":6.999994214380596,"zoom_focus_mode":0,"zoom_focus_state":0,"zoom_focus_value":34,"zoom_iso":7,"zoom_max_focus_value":64,"zoom_min_focus_value":33,"zoom_shutter_speed":45}],"country":"CN","distance_limit_status":{"distance_limit":5000,"is_near_distance_limit":0,"state":0},"elevation":0,"gear":1,"height":21.191162109375,"height_limit":150,"home_distance":0.0034730674233287573,"horizontal_speed":0,"is_near_area_limit":1,"is_near_height_limit":0,"latitude":37.33498335208794,"longitude":118.6413778199788,"maintain_status":{"maintain_status_array":[{"last_maintain_flight_sorties":0,"last_maintain_flight_time":0,"last_maintain_time":0,"last_maintain_type":1,"state":0},{"last_maintain_flight_sorties":0,"last_maintain_flight_time":0,"last_maintain_time":0,"last_maintain_type":2,"state":0},{"last_maintain_flight_sorties":0,"last_maintain_flight_time":0,"last_maintain_time":0,"last_maintain_type":3,"state":0}]},"mode_code":0,"night_lights_state":0,"obstacle_avoidance":{"downside":1,"horizon":1,"upside":1},"position_state":{"gps_number":32,"is_fixed":2,"quality":5,"rtk_number":35},"rc_lost_action":2,"rid_state":true,"rth_altitude":100,"storage":{"total":60368000,"used":10000},"total_flight_distance":1369376.4661100148,"total_flight_sorties":117,"total_flight_time":124439.71721855551,"track_id":"","vertical_speed":0,"wind_direction":0,"wind_speed":0},"sn":"1581F6Q8D241Q00C692J","time_stamp":1718357019761,"timestamp":1718357019761}}

    0
    Comment actions Permalink
  • DJI Developer Support
    尊敬的开发者, 您好,感谢您联系DJI 大疆创新。 您获取下项目设备列表,看下回复。 感谢您的理解与支持,祝您生活愉快! Best Regards, DJI 大疆创新SDK技术支持
    0
    Comment actions Permalink
  • 郭杰

    这个项目设备列表接口反馈的信息

    {
        "code": 0,
        "message": "success",
        "data": {
            "pagination": {
                "page": 1,
                "page_size": 2,
                "total": 2
            },
            "list": [
                {
                    "sn": "1581F6Q8D241Q00C692J",
                    "nickname": "田庄服务社区-1",
                    "device_model": {
                        "key": "0-91-1",
                        "domain": "0",
                        "type": "91",
                        "sub_type": "1",
                        "name": "M3TD",
                        "class": "drone",
                        "develop_code": "ea220t"
                    },
                    "is_org_device": false,
                    "device_organization_callsign": ""
                },
                {
                    "sn": "7CTDM1D00BJE80",
                    "nickname": "田庄服务社区",
                    "device_model": {
                        "key": "3-2-0",
                        "domain": "3",
                        "type": "2",
                        "sub_type": "0",
                        "name": "DJI Dock 2",
                        "class": "airport",
                        "develop_code": "ea220d"
                    },
                    "is_org_device": true,
                    "device_organization_callsign": "田庄服务社区"
                }
            ]
        }
    }
    0
    Comment actions Permalink
  • DJI Developer Support
    尊敬的开发者, 您好,感谢您联系DJI 大疆创新。 这个设备的is_org_device为false,说明这台设备没有绑定到对应组织下。需要绑定后再尝试。 感谢您对大疆产品的支持!祝您一切顺利! Best Regards, DJI 大疆创新SDK技术支持
    0
    Comment actions Permalink

Please sign in to leave a comment.