Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[video_player_avplay] Add setStreamingProperty API #735

Conversation

xiaowei-guan
Copy link
Contributor

Add setStreamingProperty API:

  /// Sets specific feature values for HTTP, MMS, or specific streaming engine (Smooth Streaming, HLS, DASH, DivX Plus Streaming, or Widevine).
  /// The available streaming properties depend on the streaming protocol or engine.
  /// Use the CUSTOM_MESSAGE property for streaming engine or CP-specific settings.
  Future<void> setStreamingProperty(StreamingPropertyType type, String value) ;

Native interface:

/**
   * @brief     Set streamingengine property
   * @param     [in] type : attribute type. \n
   *             type can be \n
   *               "COOKIE" \n
   *               "USER_AGENT" \n
   *               "RESUME_TIME" \n
   *               "ADAPTIVE_INFO"
   * @param     [in] value : value of attribute type
   * @pre       The player state can be all of #State except #State::kNone
   */
  virtual void SetStreamingProperty(const std::string& type,
                                    const std::string& value)

@xiaowei-guan xiaowei-guan merged commit 07e5b4d into flutter-tizen:master Sep 10, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants