You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
1.8KB

  1. #ifndef _rtmp_netstream_h_
  2. #define _rtmp_netstream_h_
  3. #include <stdint.h>
  4. #include <stddef.h>
  5. uint8_t* rtmp_netstream_play(uint8_t* out, size_t bytes, double transactionId, const char* stream_name, double start, double duration, int reset);
  6. uint8_t* rtmp_netstream_pause(uint8_t* out, size_t bytes, double transactionId, int pause, double ms);
  7. uint8_t* rtmp_netstream_seek(uint8_t* out, size_t bytes, double transactionId, double ms);
  8. uint8_t* rtmp_netstream_receive_audio(uint8_t* out, size_t bytes, double transactionId, int enable);
  9. uint8_t* rtmp_netstream_receive_video(uint8_t* out, size_t bytes, double transactionId, int enable);
  10. uint8_t* rtmp_netstream_publish(uint8_t* out, size_t bytes, double transactionId, const char* stream_name, const char* stream_type);
  11. uint8_t* rtmp_netstream_delete_stream(uint8_t* out, size_t bytes, double transactionId, double stream_id);
  12. uint8_t* rtmp_netconnection_close_stream(uint8_t* out, size_t bytes, double transactionId, double stream_id);
  13. uint8_t* rtmp_netstream_release_stream(uint8_t* out, size_t bytes, double transactionId, const char* stream_name);
  14. uint8_t* rtmp_netstream_fcpublish(uint8_t* out, size_t bytes, double transactionId, const char* stream_name);
  15. uint8_t* rtmp_netstream_fcunpublish(uint8_t* out, size_t bytes, double transactionId, const char* stream_name);
  16. uint8_t* rtmp_netstream_fcsubscribe(uint8_t* out, size_t bytes, double transactionId, const char* stream_name);
  17. uint8_t* rtmp_netstream_fcunsubscribe(uint8_t* out, size_t bytes, double transactionId, const char* stream_name);
  18. uint8_t* rtmp_netstream_onstatus(uint8_t* out, size_t bytes, double transactionId, const char* level, const char* code, const char* description);
  19. uint8_t* rtmp_netstream_rtmpsampleaccess(uint8_t* out, size_t bytes);
  20. #endif /* !_rtmp_netstream_h_ */