Reply To: Best way to add custom posts to activity stream
bp_blogs_record_post_post_types filters the post types to track. The function you posted is telling the Blogs component to track videos and pictures.
bp_activity_add() simply adds items to the activity stream. See here for how it’s used.
Now, I think posts of type videos and pictures will be automatically added to the stream due to activity_publish_custom_post_types(). But, if they aren’t you’ll need to use bp_activity_add() as well.
Does this help?